从其他活动调用选项卡主机
我是安卓新手。你能告诉我如何从 TabActivity 之外的其他活动中调用 TabActivity 吗?这实际上是一个菜单。我想在选择菜单选项之一后拥有 TabHost。 谢谢
I m new to android. Can you tell how can i call TabActivity from my other activity outside of TabActivity. Which is actually a menu. I want to have TabHost after selecting one of the menu option.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我理解正确,您只需将 tabhost 添加到您的新活动中。像这样的东西:
和 TabActivity.class :
像这样的东西。希望这会有所帮助
If i understand you right,you just need to add tabhost to your new activity.Something like this :
and the TabActivity.class :
Something like this.Hope this helps