title: How to allow scrolling the last item of recyclerview above of the FAB?
body: <p>I have a RecyclerView with a FAB on top at the right bottom.</p>
  
  <p>When scrolling I would like to allow the user to scroll further up such that the last item is fully visible and not covered by the FAB. It would be ok to allow an additional 48px at the bottom showing the background.</p>
  
  <p>I tried adding a transparent footer item which does the trick. However, after adding sorting to the list, the transparent footer item creates some UI glitches during sorting (the divider is shown below the normal items).  </p>
  
  <p>I tried adding margin, but then the space is wasted all the time. It is ok that the FAB covers the last item when user views the first items at the top. Only when that last item is important than the item must not be covered. </p>
  
  <p>This is the layout xml:</p>
  
  <pre><code>&lt;android.support.design.widget.CoordinatorLayout
      android:id="@+id/coordinator_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
    &lt;android.support.v7.widget.RecyclerView
       android:id="@+id/recycler_view"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:layout_gravity="center"
       android:clipToPadding="false"
       android:scrollbars="vertical"/&gt;
   &lt;android.support.design.widget.FloatingActionButton
      android:id="@+id/fab"
      style="@style/floating_action_button"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginBottom="@dimen/fab_margin"
      android:src="@drawable/ic_add_white_24dp"
      app:layout_anchorGravity="bottom|center"/&gt;
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p><strong>Update</strong>
  Using item decoration is the correct answer here.</p>