title: Layout pushing down content
body: <p><a href="https://i.stack.imgur.com/qMCIA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qMCIA.png" alt="enter image description here"></a>Not sure what is going on in my layout but after the tabs, the content starts halfway down the screen...</p>
  
  <p>These are the layouts in order from parent to child</p>
  
  <pre><code>&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=".Prof"&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/colorPrimary"
              app:popupTheme="@style/AppTheme.PopupOverlay" /&gt;
  
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;include layout="@layout/tabs_profile" /&gt;
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  
  
  tabs profile layout:
  
  &lt;!-- for Tabs --&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"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              android:background="@color/colorTabs"
              app:layout_scrollFlags="scroll|enterAlways"
              app:popupTheme="@style/ThemeOverlay.AppCompat.Light" /&gt;
  
          &lt;android.support.design.widget.TabLayout
              android:id="@+id/tabs"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              app:tabTextColor="@color/tabsTxtColor"
              app:tabMode="fixed"
              app:tabGravity="fill"/&gt;
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;android.support.v4.view.ViewPager
          android:id="@+id/viewpager"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"  /&gt;
  
  
      &lt;include layout="@layout/content_profile" /&gt;
  
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  
  
  content xml layout:
  
  
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
  &lt;TextView
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:padding="10dp"
      android:gravity="center"
      android:text="click THIS"
      android:layout_alignParentBottom="true"
      android:textColor="@color/tabsTxtColor"
      android:background="@color/colorPrimary"/&gt;
  
  &lt;/RelativeLayout&gt;
  
  
  fragment layout:
  
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_height="match_parent"
      android:layout_width="match_parent"
      android:orientation="vertical"&gt;
  &lt;RelativeLayout android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
          &lt;ImageView
              android:layout_width="fill_parent"
              android:layout_height="300dp"
              android:adjustViewBounds="true"
              android:id="@+id/productDefaultPicture"
              android:src="@drawable/default_product"
              android:layout_above="@+id/hashes"/&gt;
  
          &lt;ImageView
              android:layout_width="50dp"
              android:layout_height="50dp"
              android:id="@+id/previousPicture"
              android:layout_alignParentLeft="true"
              android:layout_centerVertical="true"
              android:src="@drawable/ic_circled_left_48"/&gt;
  
          &lt;ImageView
              android:layout_width="50dp"
              android:layout_height="50dp"
              android:id="@+id/nextPicture"
              android:layout_alignParentRight="true"
              android:layout_centerVertical="true"
              android:src="@drawable/ic_circled_right_48"/&gt;
  
  
          &lt;View
              android:background="#16000000"
              android:layout_width="fill_parent"
              android:layout_height="5dip"
              android:id="@+id/break2"
              android:layout_below="@+id/productDefaultPicture"/&gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginLeft="10dp"
          android:id="@+id/hashes"
          android:layout_alignParentBottom="true"
          android:textSize="18sp"
          android:textColor="@color/primary_dark_material_dark"
          android:text="iPhone 6"/&gt;
  
  &lt;/RelativeLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>