Browse Source

Reduce navigation view text weight

arkon 4 years ago
parent
commit
763c4522b7

+ 1 - 1
app/src/main/res/layout/navigation_view_checkbox.xml

@@ -17,6 +17,6 @@
         android:gravity="center_vertical|start"
         android:maxLines="1"
         android:paddingStart="@dimen/material_component_lists_icon_left_padding"
-        android:textAppearance="@style/TextAppearance.AppCompat.Body2" />
+        android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
 
 </LinearLayout>

+ 1 - 1
app/src/main/res/layout/navigation_view_checkedtext.xml

@@ -15,6 +15,6 @@
         android:drawablePadding="@dimen/material_component_lists_icon_left_padding"
         android:gravity="center_vertical|start"
         android:maxLines="1"
-        android:textAppearance="@style/TextAppearance.AppCompat.Body2" />
+        android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
 
 </LinearLayout>

+ 1 - 1
app/src/main/res/layout/navigation_view_group.xml

@@ -17,7 +17,7 @@
         android:layout_weight="1"
         android:ellipsize="end"
         android:maxLines="1"
-        android:textAppearance="@style/TextAppearance.AppCompat.Body2"
+        android:textAppearance="@style/TextAppearance.AppCompat.Body1"
         android:textColor="?attr/colorOnPrimary"
         tools:text="Header" />
 

+ 1 - 1
app/src/main/res/layout/navigation_view_radio.xml

@@ -17,6 +17,6 @@
         android:gravity="center_vertical|start"
         android:maxLines="1"
         android:paddingStart="@dimen/material_component_lists_icon_left_padding"
-        android:textAppearance="@style/TextAppearance.AppCompat.Body2" />
+        android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
 
 </LinearLayout>

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

@@ -22,6 +22,6 @@
         android:layout_weight="1"
         android:gravity="center_vertical|start"
         android:maxLines="1"
-        android:textAppearance="@style/TextAppearance.AppCompat.Body2" />
+        android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
 
 </LinearLayout>

+ 1 - 1
app/src/main/res/layout/navigation_view_text.xml

@@ -23,7 +23,7 @@
             android:imeOptions="actionDone"
             android:inputType="text"
             android:maxLines="1"
-            android:textAppearance="@style/TextAppearance.AppCompat.Body2" />
+            android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
 
     </com.google.android.material.textfield.TextInputLayout>