mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-30 08:50:01 +01:00
Bottom nav styling fixes jumping icon
This commit is contained in:
parent
ae0c69a92f
commit
e0de013155
4 changed files with 4 additions and 4 deletions
|
@ -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" />
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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>
|
Loading…
Add table
Reference in a new issue