标签主机和片段

时间:2013-04-29 04:57:23

标签: android tabs android-fragments android-tabhost

我正在使用一个项目在这个项目中,我的要求是基于制表符和片段,但我没有得到如何处理片段...

我的问题是......

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.

这是我的问题 希望你们明白我的问题 如果您在我的问题中发现了任何内容,或者如果您觉得缺乏信息,请告诉我

1 个答案:

答案 0 :(得分:4)

你看到了吗

THIS ONE

THIS ONE