Android - 将 TabHost 膨胀为 TabHost
我已经成功显示tabHost,我现在有三个选项卡。我试图将另一个 tabHost 膨胀到其中之一,但没有成功。真的可以充气吗?
谢谢
I have successfully displayed tabHost, I have three tabs now. I was trying to inflate into one of them another tabHost, but I wasn't successfull. Is it actually possible to inflate it?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,我认为这不是一个好主意,尝试在您想要添加子选项卡的所需 tabhost 的选项卡内容中添加 tabhost,或者您可以在所需选项卡中打开的布局中添加 tabhost。
No, I think its not good idea, try to add tabhost in the tabcontent of desired tabhost in which u want to add the subtab or u can add tabhost in the layout which opens in desired tab.