I have designed an activity which I\'m using for tab(Custom Global activity),this activity has different buttons like tab and clicking on buttons calling corresponding activity
If you want to introduce the using of tabs in your application, then the best way, IMO, is to use FragmentTabHost from support library as the standard TabActivity has become deprecated.
There is also an example which shows how to use this component and it's located inside
.
This standard component allows you to customize your tabs as you wish instead of inventing the bicycle.