mihon/app/src/main/res/layout/navigation_view_spinner.xml

32 lines
1.1 KiB
XML
Raw Normal View History

2017-01-02 06:09:23 -05:00
<?xml version="1.0" encoding="utf-8"?>
2020-02-21 18:43:50 -05:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2017-01-02 06:09:23 -05:00
android:layout_width="match_parent"
android:layout_height="?attr/listPreferredItemHeightSmall"
android:background="@drawable/selectable_item_background"
2020-02-21 18:43:50 -05:00
android:focusable="true"
android:paddingStart="?attr/listPreferredItemPaddingStart"
android:paddingEnd="?attr/listPreferredItemPaddingEnd">
2017-01-02 06:09:23 -05:00
<TextView
android:id="@+id/nav_view_item_text"
2021-04-06 11:21:39 -04:00
android:layout_width="0dp"
android:layout_height="wrap_content"
2021-05-22 12:02:49 -04:00
android:layout_gravity="center"
2021-04-06 11:21:39 -04:00
android:layout_weight="1"
android:ellipsize="end"
android:maxLines="1"
android:paddingEnd="8dp"
tools:text="Filter:" />
2017-01-02 06:09:23 -05:00
<Spinner
android:id="@+id/nav_view_item"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_vertical|start"
android:maxLines="1"
2020-06-13 15:17:33 -04:00
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
2017-01-02 06:09:23 -05:00
</LinearLayout>