Reputation: 21
i use this code: http://code.google.com/p/android-custom-tabs/
How to each tab to add content? I want to add text or button? Unfortunately I do not find how to add information to a tab. Thanks in advance for information.
Upvotes: 1
Views: 403
Reputation: 23606
You shoud have to make One Activity in which You are extending the TabActivity. Then Create the SubActivity for the perticular TabBar section.
See this Example: Developer Example
For More Information see this example also:Here
Hope it will help you.
Enjoy. :)
Upvotes: 1
Reputation: 939
Use Tab Layout as explained here: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html and here: Android honeycomb tabs like action bar
Upvotes: 0