Files
packages_apps_Evolver/res/layout/keybox_data_pref.xml
Abhay Singh Gill 6d85d82db7 Evolver: Allow user to provide keybox data [2/2]
Change-Id: If4a0bce8e7ef07d7649e128b75c20de141993c87
Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
Signed-off-by: Frost <frost.github@proton.me>
2025-07-16 17:30:13 +09:00

44 lines
1.7 KiB
XML

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:paddingTop="16dp"
android:paddingBottom="16dp">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceListItem"
android:ellipsize="end"
android:maxLines="1" />
<TextView
android:id="@+id/summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:ellipsize="marquee" />
</LinearLayout>
<ImageButton
android:id="@+id/delete_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_trash_can"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:scaleType="centerInside"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp" />
</LinearLayout>