Tabs fixed size

This commit is contained in:
hemanthStack 2019-11-21 11:33:37 +05:30
parent f53079117d
commit a1d9e6b7fa
2 changed files with 3 additions and 0 deletions

View file

@ -59,6 +59,7 @@
app:itemTextAppearanceInactive="@style/BottomSheetItemTextAppearanceInactive"
app:itemTextColor="@drawable/bottom_navigation_item_colors"
app:labelVisibilityMode="labeled"
app:itemHorizontalTranslationEnabled="false"
app:menu="@menu/bottom_navigation_main"
tools:layout_height="56dp" />

View file

@ -70,12 +70,14 @@
<item name="android:breakStrategy">simple</item>
<item name="android:hyphenationFrequency">none</item>
<item name="android:fontFamily">@font/circular</item>
<item name="android:textSize">14sp</item>
</style>
<style name="BottomSheetItemTextAppearanceActive" parent="Widget.MaterialComponents.BottomNavigationView.Colored">
<item name="android:breakStrategy">simple</item>
<item name="android:hyphenationFrequency">none</item>
<item name="android:fontFamily">@font/circular</item>
<item name="android:textSize">14sp</item>
</style>
<style name="Fab" parent="FabParent" />