title: CoordinatorLayout not working
body: <p>I am attempting to implement a <code>CoordinatorLayout</code> from the newly announced <a href="http://android-developers.blogspot.co.uk/2015/05/android-design-support-library.html" rel="noreferrer">Android Design Support Library</a> and I have used the following code in my XML layout as per the sample <a href="https://github.com/chrisbanes/cheesesquare/blob/master/app/src/main/res/layout/include_list_viewpager.xml" rel="noreferrer">here</a>:</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"
  android:id="@+id/main_content"
  android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  
  &lt;android.support.design.widget.AppBarLayout
      android:id="@+id/appbar"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
  
      &lt;android.support.v7.widget.Toolbar
          android:id="@+id/toolbar"
          android:layout_width="match_parent"
          android:layout_height="?attr/actionBarSize"
          android:background="?attr/colorPrimary"
          app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
          app:layout_scrollFlags="scroll|enterAlways"/&gt;
  
      &lt;android.support.design.widget.TabLayout
          android:id="@+id/tabs"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"/&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"
      app:layout_behavior="@string/appbar_scrolling_view_behavior" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>However the action bar does not hide when I scroll down the view. I can't figure out why this is not working. </p>
  
  <p><strong>Edit:</strong> As far as I am aware it appears that <code>CoordinatorLayout</code> does not work with <code>ListView/GridView/ScrollViews</code> and only works with <code>RecyclerView</code> and <code>NestedScrollView</code>. Unfortunately simply switching to one of these views is not a possibility for me so I am still looking for a solution.</p>