title: Implementing RecyclerView with collapsing toolbar layout
body: <p>I'm trying to implement RecyclerView with collapsing toolbar,but i'm facing the problem as RecyclerView comes upward on collapsing toolbar.What i want to acheive that it should be down and comes up with collapsing toolbar.<br>
  please help? Below is the image what i'm currently getting the result. </p>
  
  <p><a href="https://i.stack.imgur.com/YI910.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YI910.png" alt="enter image description here"></a></p>
  
  <p>here my code</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="sccs.android.com.userinformation.HomeScreen"&gt;
  
  &lt;android.support.design.widget.AppBarLayout
      android:id="@+id/appbar"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:fitsSystemWindows="true"
      android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
  
      &lt;android.support.design.widget.CollapsingToolbarLayout
          android:id="@+id/collapse_toolbar"
          android:layout_width="match_parent"
          android:layout_height="325dp"
          android:fitsSystemWindows="true"
          app:contentScrim="?attr/colorPrimary"
  
          app:layout_scrollFlags="scroll|exitUntilCollapsed"&gt;
          &lt;ImageView
              android:id="@+id/header"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:background="@mipmap/nature2"
              android:fitsSystemWindows="true"
              android:scaleType="centerCrop"
              app:layout_collapseMode="parallax" /&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="50dp"
              android:gravity="top"
              android:minHeight="?attr/actionBarSize"
              app:layout_collapseMode="pin"
              app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/&gt;
      &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  &lt;/android.support.design.widget.AppBarLayout&gt;
  
  &lt;android.support.v7.widget.RecyclerView
      android:layout_below="@+id/appbar"
      android:padding="10dp"
      android:id="@+id/my_recycler_view"
      android:scrollbars="vertical"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"/&gt;
  
  
   &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>