1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 22:57:29 +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:
Vojtěch Hořánek 2021-01-20 01:14:35 +01:00
parent 0d9db83dc3
commit 187ef83eca

View File

@ -47,7 +47,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
app:labelVisibilityMode="selected"
app:labelVisibilityMode="auto"
app:layout_behavior="@string/hide_bottom_view_on_scroll_behavior"
app:menu="@menu/main_bottom_navigation_menu" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>