Fix for Filter.Select labels jumping on filter sheet reloading

This commit is contained in:
arkon 2020-04-10 15:23:29 -04:00
parent 4f5e52fdd4
commit f7ac969a4a

View file

@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/listPreferredItemHeightSmall" android:layout_height="?attr/listPreferredItemHeightSmall"
xmlns:tools="http://schemas.android.com/tools"
android:background="?attr/selectableItemBackground" android:background="?attr/selectableItemBackground"
android:focusable="true" android:focusable="true"
android:paddingStart="?attr/listPreferredItemPaddingStart" android:paddingStart="?attr/listPreferredItemPaddingStart"
@ -10,7 +11,9 @@
<TextView <TextView
android:id="@+id/nav_view_item_text" android:id="@+id/nav_view_item_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:layout_gravity="center"
tools:text="Filter:" />
<Spinner <Spinner
android:id="@+id/nav_view_item" android:id="@+id/nav_view_item"