I am new to android and I am trying to create an application with more than three elements in the bottom navigation bar. I can display them, but they are collected at the end of the list, and only three are displayed correctly. Here is my code:
<android.support.design.widget.BottomNavigationView android:id="@+id/bottomNavigation" android:layout_width="wrap_content" android:layout_height="wrap_content" android:elevation="15dp" android:layout_gravity="bottom" android:layout_alignParentBottom="true" app:menu="@menu/bottom_nav_items" />
Here is a view image: This is a snapshot.
I'm stuck, please help ..
android android-layout bottomnavigationview
Donjon
source share