title: Hide TabLayout on Scroll of Content instead of ToolBar
body: <p>I want to hide TabLayout on scrolling my content. Currently I searched the net but I found samples which hide the Toolbar, but I want to hide TabLayout. So please help me. I tried below code.</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/id_appbar"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:fitsSystemWindows="true"&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/id_toolbar"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              app:layout_scrollFlags="scroll|enterAlways"/&gt;
  
          &lt;android.support.design.widget.TabLayout
              android:id="@+id/id_tabs"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize" 
              style="@style/MyCustomTabLayout"/&gt;
  
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;android.support.v4.view.ViewPager
          android:id="@+id/id_viewpager"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_behavior="@string/appbar_scrolling_view_behavior" /&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>Here is the example applications:
  <a href="https://play.google.com/store/apps/details?id=com.contextlogic.wish">https://play.google.com/store/apps/details?id=com.contextlogic.wish</a>
  <a href="https://play.google.com/store/apps/details?id=co.vine.android">https://play.google.com/store/apps/details?id=co.vine.android</a></p>