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

34 lines
1.2 KiB
XML
Raw Normal View History

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