Browse Source

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)

renovate/org.robolectric-robolectric-4.x
Vojtěch Hořánek 4 years ago
parent
commit
187ef83eca
  1. 2
      app/src/main/res/layout/activity_main.xml

2
app/src/main/res/layout/activity_main.xml

@ -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>
Loading…
Cancel
Save