title: Scroll behavior in nested RecyclerView with horizontal scroll
body: <p>I have to create vertical <code>RecyclerView</code> with nested horizontal <code>RecyclerView</code> in every item. Everything is within <code>CoordinatorLayout</code>. When I scroll by tapping outside nested RecyclerView toolbar hides, but when I scroll parent Recycler by tapping on nested one toolbar stays. </p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Here is my xml layouts:</p>
  
  <p>main_activity.xml:</p>
  
  <pre><code>&lt;android.support.design.widget.CoordinatorLayout 
     ...&gt;
  
  &lt;FrameLayout
      android:id="@+id/fragment_frame"
      ...
      android:fitsSystemWindows="true"
      app:layout_behavior="@string/appbar_scrolling_view_behavior"/&gt;
  
  &lt;android.support.design.widget.AppBarLayout
      ...
      android:fitsSystemWindows="true"
      android:id="@+id/appbar_layout"&gt;
  
          &lt;include layout="@layout/toolbar"/&gt;
  
  &lt;/android.support.design.widget.AppBarLayout&gt;
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>Here is toolbar.xml :</p>
  
  <pre><code>&lt;android.support.v7.widget.Toolbar
      android:id="@+id/main_toolbar"
      ...
      android:fitsSystemWindows="true"
      app:layout_scrollFlags="scroll|enterAlways"&gt;
  
      &lt;TextView .../&gt;
  
  &lt;/android.support.v7.widget.Toolbar&gt;
  </code></pre>
  
  <p>fragment.xml:</p>
  
  <pre><code>&lt;android.support.v7.widget.RecyclerView
      ...
      android:scrollbars="vertical"
      app:layout_behavior="@string/appbar_scrolling_view_behavior"/&gt;
  </code></pre>
  
  <p>And recycler_view_item.xml:</p>
  
  <pre><code>&lt;RelativeLayout ...&gt;
  
      &lt;TextView .../&gt;
  
      &lt;!-- fixme(CullyCross) fix bug with hiding toolbar --&gt;
      &lt;android.support.v7.widget.RecyclerView
          ...
          android:scrollbars="horizontal"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"
          /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Thanks,<br>
  Anton</p>