aurelhubert / aurelhubert/ahbottomnavigation
Bottom bar icons do not extend to fill navigation
- Dominant language
- Java
- Stars
- 3.8k
- Forks
- 672
- PR merge metrics
- No merged PRs in 30d
Description
When I rotate my phone the icons stay bunched up and do not extend and fill the bottom navigation bar. I've encountered this issue before with TabLayout, the fix was:
`app:tabMaxWidth="0dp"
app:tab_gravity="fill"`
Attached is my screenshot.

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the bottom navigation layout and its tab sizing or gravity configuration, then reproduce the issue by rotating the phone. Done means the icons spread across and fill the bottom navigation bar after rotation, matching the reported TabLayout behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100