Toolbar/Nav drawer not working with tabbed view <p>I'm having an issue getting my toolbar and navigation drawer to show on a new layout file. It's working for the whole app, except the new tabbed layout view.</p> <p>I try to activate it in the onCreate of the new java class:</p> <pre><code>@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.workout_days); mToolBar = activateToolbar(); setUpNavigationDrawer(); </code></pre> <p>I no longer get an error, but the toolbar still doesn't show up. I'm wondering if it's something wrong with my layout file.</p> <p>baseactivity:</p> <pre><code>public static final int HOME = 1; public static final int MY_WORKOUT = 2; public static final int MAXES = 3; public static final int PROGRESS = 4; public static final int WORKOUTS = 5; public static final int HELP = 6; private Class mNextActivity; public static String mTitle = AppConstant.SHIEKO_WORKOUT; public static int mType = HOME; protected Toolbar mToolBar; private NavigationDrawerFragment mDrawerFragment; protected Toolbar activateToolbar() { if(mToolBar == null) { mToolBar = (Toolbar) findViewById(R.id.app_bar); setSupportActionBar(mToolBar); switch (mType) { case HOME: getSupportActionBar().setTitle(AppConstant.SHIEKO_WORKOUT); break; case MY_WORKOUT: getSupportActionBar().setTitle(AppConstant.MY_WORKOUT); break; case MAXES: getSupportActionBar().setTitle(AppConstant.SET_MY_MAXES); break; case PROGRESS: getSupportActionBar().setTitle(AppConstant.MY_PROGRESS); break; case WORKOUTS: getSupportActionBar().setTitle(AppConstant.WORKOUTS); break; case HELP: getSupportActionBar().setTitle(AppConstant.FEEDBACK); } } return mToolBar; } </code></pre> <p>Here is my activity: I also have 3 other fragment xml pages that are for the 3 tabs, those do not include the toolbar or nav bar as it's my understanding they are below the tabview.. correct me if I'm wrong please..</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; </code></pre> <p></p> <pre><code>&lt;android.support.v4.widget.DrawerLayout android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;!--&lt;RelativeLayout--&gt; &lt;!--android:layout_width="match_parent"--&gt; &lt;!--android:layout_height="match_parent"&gt;--&gt; &lt;android.support.design.widget.AppBarLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="0dp"&gt; &lt;include android:id="@+id/app_bar" layout="@layout/toolbar" /&gt; &lt;android.support.design.widget.TabLayout android:id="@+id/tabs" android:layout_width="match_parent" android:layout_height="wrap_content"/&gt; &lt;/android.support.design.widget.AppBarLayout&gt; &lt;android.support.v4.view.ViewPager android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior"/&gt; &lt;!--&lt;/RelativeLayout&gt;--&gt; &lt;fragment android:name="com.bestworkouts.sheikoworkout.NavigationDrawerFragment" android:id="@+id/fragment_navigation_drawer" tools:layout="@layout/fragment_navigation_drawer" android:layout_width="280dp" android:layout_height="match_parent" android:layout_gravity="start" app:layout="@layout/fragment_navigation_drawer" /&gt; &lt;/android.support.v4.widget.DrawerLayout&gt; </code></pre> <p></p> <p>Thanks in advance! </p>