title: Fix bottom bar in CoordinatorLayout
body: <p>I have a <code>CoordinatorLayout</code> which contains <code>AppBarLayout</code> and a <code>FrameLayout</code> which contains fragments.</p>
  
  <p>One of this fragment contains a <code>TabLayout</code> at Top, one List trough <code>RecyclerView</code> and at the Bottom one "homemade" toolbar.</p>
  
  <p>The <code>AppBarLayout</code> is configured with <code>app:layout_scrollFlags="scroll|enterAlways"</code> </p>
  
  <p>My problem is that both "toolbars" are hiding when scroll, the AppBarLayout and my "homemade" toolbar at the bottom. This is the current behaviour</p>
  
  <p><a href="https://i.stack.imgur.com/dEhdS.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/dEhdS.gif" alt="enter image description here"></a></p>
  
  <p>I would like to fix the bottom "homemade" toolbar to keep visible but I can't achieve it.</p>
  
  <p>This is the XML of the fragment Layout</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout 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:orientation="vertical"
      &gt;
      &lt;android.support.design.widget.TabLayout
          android:id="@+id/toolbarfilter"
          android:layout_width="match_parent"
          android:background="@color/azul_asde"
          app:tabMode="fixed"
          app:tabMaxWidth="0dp"
          android:elevation="4dp"
          app:tabIndicatorColor="@color/verde_pastel"
          android:layout_height="wrap_content"
          /&gt;
  
      &lt;android.support.v4.widget.SwipeRefreshLayout
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/swipeContainer"
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_weight="1"&gt;
  
      &lt;android.support.v7.widget.RecyclerView
      android:id="@+id/list"
      android:layout_width="match_parent"
      android:layout_height="match_parent"/&gt;
      &lt;/android.support.v4.widget.SwipeRefreshLayout&gt;
  
          &lt;LinearLayout
          android:id="@+id/toolbarselection"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal"
          android:paddingTop="10dp"
          android:paddingBottom="10dp"
          android:background="@color/azul_asde"
          android:elevation="4dp"
          android:visibility="visible"
          &gt;
          &lt;ImageView
              android:id="@+id/delete"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:src="@drawable/ic_delete_white_24dp"
              android:tint="@color/gris_desactivado" /&gt;
          &lt;ImageView
              android:id="@+id/select"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:src="@drawable/ic_bookmark_border_white_24dp"/&gt;
  
          &lt;ImageView
              android:id="@+id/send"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:src="@drawable/ic_send_white_24dp"
              android:tint="@color/gris_desactivado" /&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><strong>EDIT1:</strong> <a href="https://stackoverflow.com/questions/30777698/android-footer-scrolls-off-screen-when-used-in-coordinatorlayout/33396965#33396965">THIS</a>  questions seems to be the same problem.</p>