title: Scroll behaviour of AndroidX RecyclerView view with NestedScrollView
body: <p>I'm migrating my application from appcompat to AndroidX. Everything works except that I am not able to set one scroll for both <code>androidx.core.widget.NestedScrollView</code> and 
   <code>androidx.recyclerview.widget.RecyclerView</code>.</p>
  
  <p>I have tried adding  </p>
  
  <pre class="lang-xml prettyprint-override"><code>setHasFixedSize(true)
  setNestedScrollingEnabled(false)
  </code></pre>
  
  <p>but it's not working. My XML now looks this way: </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;androidx.core.widget.NestedScrollView
      android:clipToPadding="false"
      android:id="@+id/scroll"
      android:layout_height="wrap_content"
      android:layout_width="match_parent"
      android:paddingBottom="5dp"
      app:layout_behavior="@string/appbar_scrolling_view_behavior"&gt;
  
      &lt;LinearLayout
          android:background="@color/white"
          android:id="@+id/itenarydays"
          android:layout_height="wrap_content"
          android:layout_width="match_parent"
          android:orientation="horizontal"&gt;
  
          &lt;FrameLayout
              android:background="@drawable/roundshape"
              android:layout_gravity="center"
              android:layout_height="56dp"
              android:layout_margin="3dp"
              android:layout_width="56dp"
              android:padding="@dimen/textsise10"&gt;
  
              &lt;ImageView
                  android:layout_gravity="center"
                  android:layout_height="wrap_content"
                  android:layout_width="wrap_content"
                  android:tint="@color/white"
                  app:srcCompat="@drawable/ic_sketch" /&gt;
          &lt;/FrameLayout&gt;
  
          &lt;androidx.recyclerview.widget.RecyclerView
              android:animationCache="true"
              android:clipToPadding="false"
              android:id="@+id/list_daycount"
              android:layout_gravity="center"
              android:layout_height="match_parent"
              android:layout_width="wrap_content"
              android:nestedScrollingEnabled="false"
              android:orientation="horizontal"
              android:scrollbars="none"
  
              app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
              app:layout_behavior="@string/appbar_scrolling_view_behavior"&gt;&lt;/androidx.recyclerview.widget.RecyclerView&gt;
  
  
          &lt;FrameLayout
              android:background="@drawable/shape_redround"
              android:id="@+id/framelyt_add"
              android:layout_gravity="center"
              android:layout_height="56dp"
              android:layout_margin="3dp"
              android:layout_width="56dp"
              android:padding="@dimen/textsise10"&gt;
  
              &lt;ImageView
                  android:layout_gravity="center"
                  android:layout_height="wrap_content"
                  android:layout_width="wrap_content"
                  android:tint="@color/white"
                  app:srcCompat="@drawable/ic_plus" /&gt;
          &lt;/FrameLayout&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/androidx.core.widget.NestedScrollView&gt;
  </code></pre>