开发者

Place tabs inside a tabhost in android

开发者 https://www.devze.com 2023-04-04 19:13 出处:网络
I have an application in which i have 5 tabs which is at the bottom. Now inside th开发者_C百科e first tab I need 4 tabs that is aligned at the top.

I have an application in which i have 5 tabs which is at the bottom. Now inside th开发者_C百科e first tab I need 4 tabs that is aligned at the top. How can I do that? PLease help. I only managed to create the first 5 tabs and when I tried to place an activity inside the first one the app crashes. I am extending the TabActivity for the first 5 tabs.


The Activity that is started by the first tab can also extend TabActivity, so you just need to add a TabHost to your Tab1Activity's layout.

0

精彩评论

暂无评论...
验证码 换一张
取 消