title: Included layout covers parent layout
body: <p>My main activity has a Toolbar within an AppBarLayout and an include below that:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:context="com.zhephyr.somedaytoday.MainActivity"&gt;
  
      &lt;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:theme="@style/AppTheme.AppBarOverlay"&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              android:background="?attr/colorPrimaryDark"
              app:popupTheme="@style/AppTheme.PopupOverlay" /&gt;
  
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;include layout="@layout/activity_chrono_tab"/&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>The included layout is a RelativeLayout with a TabLayout connected to a ViewPager:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      tools:context=".ChronoSwipeViewActivity"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;LinearLayout
          android:id="@+id/tabs"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:background="@color/colorVariant"
          android:weightSum="1"&gt;
  
          &lt;android.support.design.widget.TabLayout
              android:id="@+id/chrono_tabs"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginStart="15dp"
              android:layout_marginEnd="15dp"
              app:tabMode="fixed"
              android:background="@color/colorVariant"/&gt;
      &lt;/LinearLayout&gt;
  
      &lt;android.support.design.widget.FloatingActionButton
          android:id="@+id/fab"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          app:srcCompat="@android:drawable/ic_dialog_email"
          android:layout_margin="@dimen/fab_margin"
          app:fabSize="normal"
          android:layout_alignParentBottom="true"
          android:layout_alignParentEnd="true"/&gt;
  
      &lt;android.support.v4.view.ViewPager
          android:id="@+id/chrono_pager"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@id/tabs" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>The issue I am currently running into is that The included layout sits on top of my main layout filling the entire screen. I cannot see the Toolbar because it is being covered. I want the included layout to fill only the area below the toolbar. I've tried placing <code>app:layout_behavior="@string/appbar_scrolling_view_behavior"</code> in both layouts and in the include with no avail. Anyone know what's going on?</p>
  
  <p><strong>Update</strong></p>
  
  <p>The activity being shown is this:</p>
  
  <p><img src="https://i.imgur.com/5HIz4b2m.png" alt="shown activity"></p>
  
  <p>This activity should be shown within this one and with out the app title:</p>
  
  <p><img src="https://imgur.com/r9JTBPcm.png" alt="main activity"></p>