Hi,
How to implement tabs in Android.
I am having a context. In that I want 3 tabs named Free,TOP,Paid.Clicking on each of the tab should open separate activity.
Thanks in Advance,
Hi,
How to implement tabs in Android.
I am having a context. In that I want 3 tabs named Free,TOP,Paid.Clicking on each of the tab should open separate activity.
Thanks in Advance,
I think this may help
http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
refer this url http://www.helloandroid.com/tutorials/how-make-tabs-ui-icons
Firstly, follow this tutorial from the android page, it will explain how to implement a few tabs
What you will probably want to do is to create 3 separate activities and bind each of those to a tab, so when you click on a tab icon/header it will create an intent and call startActivity
on the relevant activity
I've had a look into the following recently and have documented my findings on creating tabs and refreshing tab views, might be a helpful read to you
You will not be able to start different activities and still see the tabs. All you can do is have different views, but they will all be part of the same activity.