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.
我用两个片段创建了 SwipingTab。现在我想在底部添加菜单以固定,静态。当用户在选项卡之间滑动时,该菜单不应移动。我应该在哪里创建该菜单。我尝试了 main_layout.xml,但不能。有什么建议或想法吗??
这就是我如何使用选项卡设置主视图
然后,footermenu 将膨胀一个将用作菜单的片段。您可以按照这个带有可滑动视图的 Android 选项卡布局来添加可交换选项卡