title: Collapsing Toolbar - disable scrolling by touch
body: <p>I want to <strong>disable scrolling by touch</strong> behaviour for the collapsing toolbar. It should only be collapsing, if triggered by the <code>RecyclerView</code> (which is working). I thought why not just disable focus...
      <code>android:focusableInTouchMode="false"</code>
  but it is not working. I could change the <code>layout_scrollFlags</code> but then...
  My question therefore, is there a simple solution for this?</p>
  
  <p><strong>XML:</strong></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"
      tools:context=".MainActivity"&gt;
  
      &lt;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;android.support.design.widget.CollapsingToolbarLayout
              android:id="@+id/mCollapsingToolbar"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:minHeight="@dimen/header_size"
              android:fitsSystemWindows="true"
              app:layout_scrollFlags="scroll|exitUntilCollapsed"&gt;
  
              &lt;ImageView
                  ...
                  app:layout_collapseMode="parallax"/&gt;
  
              &lt;android.support.v7.widget.Toolbar
                  android:id="@+id/mToolbar"
                  android:layout_width="match_parent"
                  android:layout_height="?attr/actionBarSize"
                  app:layout_collapseMode="pin" /&gt;
  
          &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;android.support.v7.widget.RecyclerView
          ...
          app:layout_behavior="@string/appbar_scrolling_view_behavior"/&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>