Question

I created a tabbed application in which I have three tabs. In the first activity I am opening a class named Home.class and inside the Home.class I want to start another activity that should open in that tab itself is it possible. Please help.

Was it helpful?

Solution

To start multiple Activity in one tab, you need to extend your tab with ActivityGroup. and when are you starting new Activity you need to use startChildActivity

OTHER TIPS

ActivityGroup is deprecated, try to use Fragment and FragmentManager

Use Android ActivityGroup within TabHost to show different Activity

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top