I am new to android and I am trying to make an app with more than 3 elements in the bottom navigation bar. I am able to display them but they are getting clustered at the end and only three are visible properly. 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 the image of the view: This is the snapshot
I am stuck please help..