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 Answers 2

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

Sign up to request clarification or add additional context in comments.

Comments

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.