开发者

displaying Android tab layout outside of a tabbed activity

开发者 https://www.devze.com 2023-04-04 19:46 出处:网络
I have in my appli开发者_如何转开发cation tabbed activities. Now I want from one of those tabbed activities to start a new activity that isn\'t one of the tabbed activities (a sort of sub screen) but

I have in my appli开发者_如何转开发cation tabbed activities. Now I want from one of those tabbed activities to start a new activity that isn't one of the tabbed activities (a sort of sub screen) but still be able to see the tab layout, just without any tab selected obviously.

Is this at all possible?

Thanks


I don't think this is possible. But it is possible to make such effect. Set an extra tab in your tabHost for the activity you want to start. Make this extra tab invisible and when you want to start the activity set the tab as current.

0

精彩评论

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