mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-04-18 04:52:03 +00:00
BottomNavigationView: show labels when selected only when logged in (more than or equal to 4 items) and always shown when logged out (less than 4 items)
This commit is contained in:
parent
0d9db83dc3
commit
187ef83eca
@ -47,7 +47,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom"
|
android:layout_gravity="bottom"
|
||||||
app:labelVisibilityMode="selected"
|
app:labelVisibilityMode="auto"
|
||||||
app:layout_behavior="@string/hide_bottom_view_on_scroll_behavior"
|
app:layout_behavior="@string/hide_bottom_view_on_scroll_behavior"
|
||||||
app:menu="@menu/main_bottom_navigation_menu" />
|
app:menu="@menu/main_bottom_navigation_menu" />
|
||||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
Loading…
Reference in New Issue
Block a user