【发布时间】:2013-04-29 04:57:23
【问题描述】:
我正在处理一个项目在这个项目中,我的要求是基于选项卡和片段,但我不知道如何处理其中的片段..
我的问题是..
1.In first screen I need to show three tabs at the bottom of the activity
2.I thought to use tab activity but tab activity is deprecated
3.So i decided to use tab host
4.Until here it is fine i have used tab host and kept it at the bottom of the activity
5.But When i have selected a tab it will show one fragment at the top of it
6.And i kept a button in that fragment if i click on that it should navigate to another fragment without the any changes in tabs.
7.here is my problem when i clicking im loosing tabs.
这是我的问题
希望你们理解我的问题
如果您在我的问题中发现任何信息,或者您认为缺少信息,请告诉我
【问题讨论】:
-
实际上我是 android 新手,所以我认为我们可以给出多个最佳答案,因此决定选择两个答案,但与两个相比,你的答案是最好的,所以我改变了我的投票
-
等待您的问题是解决者,然后我们接受了哪个最佳答案。
标签: android tabs android-fragments android-tabhost