Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用BottomNavigationView并且我正在尝试在片段之间滑动,在我们使用的 tapLayoutsetupWithViewPager()中,有没有办法像这样在 BottomNavigationView 中实现滑动?
setupWithViewPager()
提前致谢。
有没有办法BottomNavigationView像这样实现刷卡?
BottomNavigationView
根据材料设计指南,BottomNavigationView不应该支持滑动行为。但我怀疑你为什么坚持BottomNavigationView?您始终可以TabLayout在父布局的底部使用。TabLayout还支持自定义视图,因此没有限制实现任何行为。干杯:)
TabLayout