How to make bottom navigation show menu items with icon and text except center item menu show only icon? [closed]

Try below code: XML file: <?xml version=”1.0″ encoding=”utf-8″?> <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” android:layout_width=”match_parent” android:layout_height=”match_parent” android:orientation=”vertical”> <android.support.v7.widget.Toolbar android:id=”@+id/toolbar” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:layout_gravity=”top” android:background=”@color/gray” android:foregroundGravity=”top” android:gravity=”top”> </android.support.v7.widget.Toolbar> <FrameLayout android:layout_width=”match_parent” android:layout_height=”match_parent” android:layout_weight=”1″> <FrameLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:id=”@+id/fragment_container” android:layout_width=”match_parent” android:layout_height=”match_parent” /> </FrameLayout> <LinearLayout android:layout_width=”match_parent” android:layout_height=”wrap_content” android:orientation=”horizontal”> <android.support.design.widget.BottomNavigationView android:id=”@+id/bottomnav” android:layout_width=”0dp” android:layout_height=”56dp” android:layout_weight=”1″ android:background=”null” app:itemIconTint=”@color/green” app:itemTextColor=”@color/green” app:menu=”@menu/main”> </android.support.design.widget.BottomNavigationView> <ImageView android:layout_width=”0dp” android:layout_height=”56dp” android:layout_weight=”0.5″ android:src=”https://stackoverflow.com/questions/44342530/@drawable/camera” /> <android.support.design.widget.BottomNavigationView … Read more