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.
请参阅我以前的问题(此处链接)。我有答案,但现在我想通过意图活动或任何其他过程将数据添加到选项卡如何添加小部件或任何其他资源,因为当我意图任何其他类时,它也会显示在所有其他选项卡中。如何在不同的选项卡中获得不同的活动?
您必须将您的东西放在选项卡主机中,并为每个选项卡(在框架布局下方)进行线性布局或相对布局。