开发者

Android: how to add a tab bar to the existing app

开发者 https://www.devze.com 2023-02-17 23:22 出处:网络
I am trying to add tab bar to my existing app. I have divided all my activities into 2 groups, each group of activities has the navigation controls.

I am trying to add tab bar to my existing app. I have divided all my activities into 2 groups, each group of activities has the navigation controls. I want to place 开发者_如何学编程these activities under corresponding group-1, group-2 tabs.

what is the best way of doing this.

Thanks, Venkat Papana


Knowing nothing particular about your app its hard to say exactly how to go about doing it, but it seems like you want to implement a Tab Layout and can use the following example as a guide: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html

0

精彩评论

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

关注公众号