1

Right now I have a Navigation Drawer as the main activity, holding multiple fragments.

I was wondering if it is possible to have fixed tabs inside one of these fragments? I know nested activities is deprecated, so how would I go about this?

This tutorial shows me how to add fixed tabs on an activity only. http://www.androidhive.info/2013/10/android-tab-layout-with-swipeable-views-1/

Update: I found the partial answer here (How to open a new fragment from the navigation drawer?).

Do I still need to create an adapter for the tab host?

Community
  • 1
  • 1

1 Answers1

0

Using TabHost solves the problem.