Browse Source

Align filter spinners (closes #2995)

arkon 4 years ago
parent
commit
88e49a9b8b
1 changed files with 5 additions and 1 deletions
  1. 5 1
      app/src/main/res/layout/navigation_view_spinner.xml

+ 5 - 1
app/src/main/res/layout/navigation_view_spinner.xml

@@ -10,9 +10,13 @@
 
     <TextView
         android:id="@+id/nav_view_item_text"
-        android:layout_width="wrap_content"
+        android:layout_width="0dp"
         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