-2

Text hides when we add or subtract one in the lower navigation bar

<com.google.android.material.bottomnavigation.BottomNavigationView
            android:id="@+id/bottom_navigation"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom"
            android:background="@color/purple_500"
            app:itemIconTint="@color/white"
            app:itemTextColor="@color/white"
            app:menu="@menu/bottom_navigation_menu" />

enter image description here

ADM
  • 18,477
  • 11
  • 47
  • 78
malhotra
  • 1
  • 3

1 Answers1

0

One line code add:-

app:labelVisibilityMode="labeled"
coo zera
  • 147
  • 1
  • 20