我正在使用 AHBottomNavigation This Tutorial
问题是滚动列表时底部导航栏隐藏,如何在 ListView 滚动时停止隐藏底部导航栏。
滚动行为类似于 this 但我想修复(始终可见)底部导航栏。如何坚持这个酒吧。
提前致谢。
最佳答案
AHBottomNavigation
View 有一个方法 setBehaviorTranslationEnabled(boolean behaviorTranslationEnabled) .禁用时, View 将不会滚动(根据 AHBottomNavigationBehavior
的方法 handleDirection(V child, int scrollDirection)
)。
希望这对您有所帮助。
关于android - 底部导航隐藏在滚动 Recycler View 问题上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39330853/