Android: how to add a tab bar to the existing app
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
精彩评论