Android Studio – i am having problem on creating bottomNavigationView related to height, the height is doubled as i expected even when the height is set to wrap
<com.google.android.material.bottomnavigation.BottomNavigationView android:id="@+id/bottomAppBar" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/primary" app:itemIconSize="20dp" app:itemTextAppearanceActive="@style/BottomNavigationView.Active" app:itemTextAppearanceInactive="@style/BottomNavigationView.Inactive" android:layout_alignParentBottom="true" app:menu="@menu/bottom_menu"/> enter image description here i am expecting default height of the bottom navigation view.