Reputation: 3266
I have an application with 3 screens, each screen is a fragment. I want that in 1 screen there will be 2 other screens. for example:
| TAB 1 | TAB 2 | TAB 3 |
now when you are in TAB 1
you will see
| INNER_TAB 1 | INNER_TAB 2 |
This is how I tried to implement it:
Upvotes: 1
Views: 603
Reputation: 3266
After a while I came with a solution.
As I said each fragment has its own class and layout, so in Tab1 layout I added FragmentTabHost. And in onCreateView method of Tab1 I initializing the FragmentTabHost and adding the inner tabs for it.
Upvotes: 1