Karthik
Karthik

Reputation: 5033

How to have access to mutliple views in one tab of the tab bar in android?

I am having 3 tab in the tab bar.I would like to have an access when we we click the first tab it need load the Activity 1<->Activity 2 <->Activity 3 <->Activity 4.How to get this,any examples on this will be helpful. I have tried all other examples with single activity but when I try to call the multiple activities no luck on it.Thanks

Upvotes: 2

Views: 190

Answers (1)

Lalit Poptani
Lalit Poptani

Reputation: 67286

As I got from your question is that your requirement is to have Sub-Activity inside a Single Tab. You can use ActivityGroup for that, but now it is deprecated you can use Fragments Compatibility Package which works from 1.6 version too. So, here is an example for that FragmentTabs.java

Upvotes: 1

Related Questions