material-components / material-components/material-components-android

[BottomNavigationView] After fullscreen BottomNavigationBar expands vertically or the icons align left

Open
#2,851 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget: BottomNavigation
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**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
``

**Minimal sample app repro:** [LibreTube: An Alternative YouTube Frontend](https://github.com/libre-tube/LibreTube)

**Android API version:** Android API 27

**Material Library version:** 1.6.0, 1.6.1

**Device:** HTC One M9

Tested on latest release versions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided BottomNavigationView layout XML and reproduce the issue using the linked LibreTube minimal sample app on Android API 27 with Material 1.6.0 or 1.6.1. Compare the navigation bar before entering fullscreen, during fullscreen, and after exiting; done means its width, height, icon sizing, and alignment remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.