Skip to content
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

How to forbidden the Bottom Navigation scroll to hide when pull up the content view #40

Closed
fishwjy opened this issue Jun 8, 2016 · 3 comments

Comments

@fishwjy
Copy link

fishwjy commented Jun 8, 2016

I know it's a very nice experience to hide the bottom navigation automatically when user go through the content especially the content is a long list.
However, in some project of mine, the user want to fix the bottom navigation.
So how to deal with it? Thanks a lot.

@fishwjy
Copy link
Author

fishwjy commented Jun 8, 2016

Oh, I found the answer. If the content view isn't the NestedScrollView, it will be what I want.
But still hope the feature can be set by a function method.

@fishwjy fishwjy closed this as completed Jun 8, 2016
@Ashok-Varma
Copy link
Owner

@fishwjy these are default behaviours of bottomNavBar. you can switch these off any time, by setting the co-ordinator layout behaviours to null

@Ashok-Varma
Copy link
Owner

@fishwjy From version 1.3.0 you can still use RecylerView/NestedScroll View and call setAutoHideEnabled method to disable the feature.

bottomNavigationBar.setAutoHideEnabled(false);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants