title: Android collapsing toolbar while scroll/swipe tabs
body: <p>I've a strange problem with a RecyclerView inside a TabLayout/ViewPager and a collapsing  Toolbar during swipe. It's hard to describe please check the following video:</p>
  
  <p><a href="https://www.dropbox.com/s/0ilwkqoagtbi67r/device-2015-09-17-150125.mp4?dl=0" rel="nofollow">https://www.dropbox.com/s/0ilwkqoagtbi67r/device-2015-09-17-150125.mp4?dl=0</a></p>
  
  <p>When I start to swipe the tab and the finger movement is not 100% horizontal my Toolbar starts to collapse because it also registers a vertical movement of my RecyclerView. In action it seems like the toolbar is jumping, you can see it in the video starting from sec 6.</p>
  
  <p>Here is my layout:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;android.support.v4.widget.DrawerLayout 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:id="@+id/drawer_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:context="de.activities.MainActivity"&gt;
  
      &lt;android.support.design.widget.CoordinatorLayout
          android:id="@+id/coordinatorLayout"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;android.support.design.widget.AppBarLayout
              android:id="@+id/appBarLayout"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
  
              &lt;include layout="@layout/toolbar" /&gt;
  
              &lt;android.support.design.widget.TabLayout
                  android:id="@+id/tabLayout"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  app:tabGravity="fill"
                  app:tabMode="fixed"
                  app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" /&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="match_parent"
              android:background="@android:color/white"
              app:layout_behavior="@string/appbar_scrolling_view_behavior" /&gt;
  
          &lt;android.support.design.widget.FloatingActionButton
              android:id="@+id/fab"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="end|bottom"
              android:layout_margin="16dp"
              android:src="@drawable/ic_filter_list_white_24dp" /&gt;
      &lt;/android.support.design.widget.CoordinatorLayout&gt;
  
      &lt;android.support.design.widget.NavigationView
          android:id="@+id/navigation_view"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:layout_gravity="start"
          app:headerLayout="@layout/drawer_header"
          app:menu="@menu/drawer" /&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;</code></pre>
  </div>
  </div>
  </p>