开发者

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

开发者 https://www.devze.com 2023-03-15 17:24 出处:网络
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 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

精彩评论

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

关注公众号