aurelhubert / ahbottomnavigation

A library to reproduce the behavior of the Bottom Navigation guidelines from Material Design.
3.83k stars 682 forks source link

Nav Tab Translation Behavior only works for RecyclerViews for some reason #347

Closed davenotdavid closed 6 years ago

davenotdavid commented 6 years ago

Based on Google's bottom navigation guidelines, they suggest that we translate the bottom nav tabs (hide it when scrolling downwards, and view when upwards), and this third-party library, AHBottomNavigation, seems to be one of the few libraries that hides and views the tabs accordingly.

However, I was wondering why translation doesn't work for scrollable views (ScrollViews, ListViews, but not a RecyclerView) in a fragment container? Did anyone else experience this issue?

TurKurT656 commented 6 years ago

yes i'm facing the same issue. when i use recyclerview there isn't a problem. but for scrollview layouts it doesn't behave correctly. so what is the solution?