aurelhubert / aurelhubert/ahbottomnavigation

FAB translation problem if FAB below AHBottomNavigation in XML

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.8k
Forks
672
PR merge metrics
No merged PRs in 30d

Description

I was having a problem where the FAB wouldn't go back down when the Snackbar disappeared. After trying many things, I realized that in the example project the FAB is declared before the AHBottomNavigation in `activity_home.xml`. Now, doing the same has fixed my issue, but I wonder why this happens and if it should be documented.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by checking the example project's activity_home.xml and compare the declared order of the FAB and AHBottomNavigation. Confirm that placing the FAB before AHBottomNavigation prevents the Snackbar-related translation issue, then document this ordering and the observed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.