开发者

How to show small tab interfaces in ordinary activities (non-tabactivity)?

I wish to show tabs in an activity such that one of the tabs will be a comment form and the other tab will be a list of comments submitted by other users of the application.

I do not wish to implement it as a TabActivity - where the whole screen is occupied by the view, with t开发者_开发百科he tabs at the top. I wish to show this tab interface below a image both of which will be in a <LinearLayout android:orientation="vertical">.

How do I accomplish this?


You can give a layout to TabActivity where you have LinearLayout on the top as you desired and then the tabs

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜