Align filter spinners

This commit is contained in:
arkon 2021-04-06 11:21:39 -04:00 committed by Jays2Kings
parent 74826bc51b
commit 02e483f853

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/listPreferredItemHeightSmall" android:layout_height="?attr/listPreferredItemHeightSmall"
android:paddingStart="?attr/listPreferredItemPaddingStart" android:paddingStart="?attr/listPreferredItemPaddingStart"
@ -10,8 +11,14 @@
<TextView <TextView
android:id="@+id/nav_view_item_text" android:id="@+id/nav_view_item_text"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
android:maxLines="1"
android:layout_gravity="center"
android:paddingEnd="8dp"
tools:text="Filter:" />
<Spinner <Spinner
android:id="@+id/nav_view_item" android:id="@+id/nav_view_item"