Browse Source

Make tabs not all caps

arkon 4 years ago
parent
commit
41f759dafe
1 changed files with 7 additions and 0 deletions
  1. 7 0
      app/src/main/res/values/styles.xml

+ 7 - 0
app/src/main/res/values/styles.xml

@@ -115,6 +115,12 @@
         <item name="android:textColor">?attr/colorOnBackground</item>
     </style>
 
+    <style name="TextAppearance.Widget.Tab" parent="TextAppearance.MaterialComponents.Button">
+        <item name="android:textAllCaps">false</item>
+        <item name="android:letterSpacing">0</item>
+    </style>
+
+
     <!--=======-->
     <!--Widgets-->
     <!--=======-->
@@ -281,6 +287,7 @@
         <item name="tabInlineLabel">true</item>
         <item name="tabMinWidth">75dp</item>
         <item name="tabMode">scrollable</item>
+        <item name="tabTextAppearance">@style/TextAppearance.Widget.Tab</item>
     </style>