Bottom nav styling fixes jumping icon

This commit is contained in:
12aw 2023-12-15 23:38:46 +01:00
parent ae0c69a92f
commit e0de013155
4 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@
android:layout_height="70dp"
android:layout_gravity="end|bottom"
android:background="?attr/color_background_secondary"
app:labelVisibilityMode="selected"
app:labelVisibilityMode="labeled"
app:itemActiveIndicatorStyle="@style/monocles.Active.Indicator"
app:menu="@menu/bottom_navigation_menu"
android:animateLayoutChanges="true" />

View file

@ -51,7 +51,7 @@
android:layout_gravity="end|bottom"
android:layout_below="@+id/main_fragment"
android:background="?attr/color_background_secondary"
app:labelVisibilityMode="selected"
app:labelVisibilityMode="labeled"
app:itemActiveIndicatorStyle="@style/monocles.Active.Indicator"
app:menu="@menu/bottom_navigation_menu"
android:animateLayoutChanges="true" />

View file

@ -65,7 +65,7 @@
android:layout_gravity="end|bottom"
android:layout_below="@+id/start_conversation_view_pager"
android:background="?attr/color_background_secondary"
app:labelVisibilityMode="selected"
app:labelVisibilityMode="labeled"
app:itemActiveIndicatorStyle="@style/monocles.Active.Indicator"
app:menu="@menu/bottom_navigation_menu"
android:animateLayoutChanges="true" />

View file

@ -271,7 +271,7 @@
</style>
<style name="monocles.Active.Indicator" parent="Widget.Material3.BottomNavigationView.ActiveIndicator">
<item name="android:color">?attr/colorAccentLight</item>
<item name="android:height">30dp</item>
<item name="android:height">24dp</item>
<item name="android:width">62dp</item>
</style>
</resources>