开发者

displaying Android tab layout outside of a tabbed activity

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜