DroidFS/app/src/main/res/layout/adapter_explorer_element_gr...

59 lines
2.1 KiB
XML
Raw Normal View History

2020-07-17 16:35:39 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/selectable_container"
2020-07-17 16:35:39 +02:00
android:layout_width="match_parent"
2022-04-09 15:09:14 +02:00
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:orientation="vertical"
android:padding="10dp">
2020-07-17 16:35:39 +02:00
<ImageView
android:id="@+id/icon_element"
2022-04-09 15:09:14 +02:00
android:layout_width="wrap_content"
android:layout_height="130dp"
android:adjustViewBounds="true"
android:layout_gravity="center_horizontal"/>
2020-07-17 16:35:39 +02:00
<LinearLayout
2022-04-09 15:09:14 +02:00
android:layout_gravity="center_horizontal|bottom"
android:layout_width="wrap_content"
2020-07-17 16:35:39 +02:00
android:layout_height="wrap_content"
android:orientation="vertical">
2020-07-17 16:35:39 +02:00
<TextView
android:id="@+id/text_element_name"
2022-04-09 15:09:14 +02:00
android:layout_width="wrap_content"
2020-07-17 16:35:39 +02:00
android:layout_height="wrap_content"
android:textSize="@dimen/adapter_text_size"/>
2020-07-17 16:35:39 +02:00
<LinearLayout
2020-07-17 16:35:39 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_gravity="bottom">
2020-07-17 16:35:39 +02:00
<TextView
android:id="@+id/text_element_mtime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-03-05 12:51:02 +01:00
android:textSize="@dimen/details_text_size"
android:layout_marginEnd="7dp"/>
<TextView
android:id="@+id/text_element_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-03-05 12:51:02 +01:00
android:textSize="@dimen/details_text_size"/>
</LinearLayout>
2020-07-17 16:35:39 +02:00
</LinearLayout>
2020-07-17 16:35:39 +02:00
</LinearLayout>
</LinearLayout>