1

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.

2 Answers2

1

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. :)

Shreyash Mahajan
  • 23,386
  • 35
  • 116
  • 188
0

Use Tab Layout as explained here: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html and here: Android honeycomb tabs like action bar

Community
  • 1
  • 1
rosco
  • 939
  • 9
  • 16