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.
我想知道如何在导航底部上方制作3个底页,当您触摸导航时,底页会刷新布局并直接更改不同的底页,像这样
创建 3 个不同的底部导航视图并将其添加到具有相同布局参数的相同相对布局父级中。根据选择显示/隐藏底视图的可见性。
通过适配器使用ViewPager和添加片段ViewPager
ViewPager