33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
<?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:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
|
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
|
android:background="?attr/selectableItemBackground"
|
|
tools:ignore="Overdraw">
|
|
|
|
<TextView
|
|
android:id="@+id/list_name_textview"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center_vertical"
|
|
android:textAppearance="?android:attr/textAppearanceListItemSmall"
|
|
tools:text="Example list" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/editListButton"
|
|
style="@style/TuskyImageButton"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
android:contentDescription="@string/action_more"
|
|
android:src="@drawable/ic_more_horiz_24dp" />
|
|
</LinearLayout>
|