Storage select dialog

This commit is contained in:
Koitharu
2020-03-12 18:31:58 +02:00
parent 0cefce17b5
commit 68b196de52
6 changed files with 128 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:minHeight="?listPreferredItemHeightLarge"
android:paddingStart="?listPreferredItemPaddingStart"
android:paddingEnd="?listPreferredItemPaddingEnd"
android:gravity="center_vertical"
android:background="?selectableItemBackground"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textView_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="1"
android:ellipsize="end"
tools:text="@tools:sample/lorem[3]"
android:textColor="?android:textColorPrimary"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1" />
<TextView
android:id="@+id/textView_subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:maxLines="1"
android:ellipsize="end"
android:textColor="?android:textColorSecondary"
tools:text="@tools:sample/lorem[3]"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2" />
</LinearLayout>