title: FloatingActionButton appearing under screen when using TabLayout and ViewPager
body: <p>Take a look at the <code>FAB</code> below:</p>
  
  <p><a href="https://i.stack.imgur.com/Zrn97.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zrn97.gif" alt="Image"></a></p>
  
  <p>It's not appearing unless I collapse the <code>Toolbar</code>. Here's my XML:</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"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_alignParentStart="true"
      android:layout_below="@+id/toolbar"
      android:layout_marginTop="0dp"
      android:animateLayoutChanges="true"
      android:background="@android:color/white"
      android:layoutDirection="locale"
      android:orientation="vertical"
      android:padding="0dp"&gt;
  
      &lt;android.support.design.widget.CoordinatorLayout
          android:id="@+id/cLayout"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;android.support.v7.widget.RecyclerView
              android:id="@+id/list"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_marginTop="0dp" /&gt;
  
          &lt;android.support.design.widget.FloatingActionButton
              android:id="@+id/fab"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_margin="5dp"
              android:background="@color/accent"
              android:src="@drawable/ic_add"
              app:layout_anchor="@id/list"
              app:layout_anchorGravity="bottom|end" /&gt;
      &lt;/android.support.design.widget.CoordinatorLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Why is this happening if I set no behavior for the <code>FAB</code>? Is there any property I should add to anything so I could prevent this behaviour?</p>