title: CoordinatorLayout with Framelayout is no working
body: <p>I use <code>tabLayout</code> with three tabs in <code>viewPager</code> , i want to use CoordinatorLayout to hide and show my toolbar when scrolling.  It's no working when i try it.</p>
  
  <p>MainActivity layout: I had add <code>app:layout_behavior="@string/appbar_scrolling_view_behavior"</code> in my Framelayout , it's no working.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &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="tw.idv.morton.mydailysugar.MainActivity"&gt;
  
      &lt;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolBar"
              app:contentInsetStart="0dp"
              android:layout_width="match_parent"
              android:layout_height="35dp"&gt;&lt;/android.support.v7.widget.Toolbar&gt;
  
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;FrameLayout
          android:id="@+id/frameLayout"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"&gt;&lt;/FrameLayout&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>My tab one layout:  I try to change <code>ScrollView</code> to <code>android.support.v4.widget.NestedScrollView</code> , it's still no working.</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      xmlns:card_view="http://schemas.android.com/apk/res-auto"
      android:orientation="vertical"
      android:paddingLeft="@dimen/appPadding"
      android:paddingRight="@dimen/appPadding"
      android:paddingTop="@dimen/appPadding"
      android:background="#ffffff"
      tools:context=".MyTabs.MyDailyInput"&gt;
  
      &lt;ScrollView
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
      // here is lots of button and text and layout...    
  
      &lt;/ScrollView&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Here is my tab layout setting:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:orientation="vertical"
      tools:context=".MyTabs.HomeTabs"&gt;
  
      &lt;tw.idv.morton.mydailysugar.MyTabs.NoSwipingViewPager
          android:id="@+id/viewPagerDataReport"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_weight="1" /&gt;
  
      &lt;View
          android:background="@android:color/darker_gray"
          android:layout_width="match_parent"
          android:layout_height="1dp"/&gt;
  
      &lt;android.support.design.widget.TabLayout
          android:id="@+id/tabLayout"
          android:layout_width="match_parent"
          android:layout_height="55dp"
          android:clickable="true"
          style="@style/AppTabLayout"
          app:tabTextAppearance="@style/AppTabTextAppearance"
          android:background="@color/appColor"
          app:tabTextColor="@android:color/white"
          app:tabGravity="fill"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I had add like <code>app:layout_behavior="@string/appbar_scrolling_view_behavior"</code> and <code>android.support.v4.widget.NestedScrollView</code> why its still no working ?
  Any help would be appreciated . Thanks in advance.</p>