material-components-android
material-components-android copied to clipboard
[BottomNavigationView] After fullscreen BottomNavigationBar expands vertically or the icons align left
Description: In Video player app Material 3 guidelines implemented alongside BottomNavigationView (NavigationBar). After using fullscreen View the BottomNavBar icons shrinks and aligns horizontally to the left. When directly exit the fullscreen view BottomNavBar expands vertically.
Expected behavior: BottomNavBar width & height should not change.
Source code:
Layout XML
<com.google.android.material.bottomnavigation.BottomNavigationView android:id="@+id/bottomNav" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:menu="@menu/bottom_menu" />
Minimal sample app repro: LibreTube: An Alternative YouTube Frontend
Android API version: Android API 27
Material Library version: 1.6.0, 1.6.1
Device: HTC One M9
Tested on latest release versions.