-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto hide/show with CollapsingToolbarLayout #64
Comments
👍 It's happening to me too. Any chance to fix this? |
@ipereziriarte You can fix it by adding a onScrollListener to your recyclerview or whatever that you have which scrolls, then listen for up and down scroll events and show/hide it there. It's not elegant but it works. |
@MRezaNasirloo Thanks! Nice workaround :) |
How to show/hide the bottom navigation programatically? I couldn't find any docs |
@erichps114 by calling setExpanded(boolean expanded, boolean animate) on the BottomNavigation Object. I tried it inside the onScrolled Method of OnScrollListener in RecyclerView. But it seems, that there is always a small delay when hiding/showing the bottom nav :/ Would be nice getting this fixed! |
The auto hide/show does not work when adding
app:layout_scrollFlags="scroll"
toCollapsingToolbarLayout
Looks like other button navigation libraries have this issue too.
The text was updated successfully, but these errors were encountered: