title: How to disable child(RecyclerView) scrolling before parent(ScrollView) has completely scrolled
body: <p>I have a RecyclerView inside a ScrollView. When I try to scroll to bottom, the RecyclerView(child element) scrolls to bottom before the parent starts scrolling. But what I want it, the parent should scroll completely before child starts scrolling. Here is my layout file. Can someone please guide me how can I achieve this?</p>
  
  <pre><code>&lt;RelativeLayout 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"
  android:orientation="vertical"&gt;
  
  &lt;ScrollView
      android:id="@+id/scrollView"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fillViewport="true"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical"
          android:id="@+id/user_activity_linear_layout"&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="400dp"
              android:id="@+id/blank_layout"
              android:orientation="vertical"&gt;
          &lt;/LinearLayout&gt;
  
          &lt;android.support.v7.widget.RecyclerView
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:id="@+id/recently_watched_recycler_view"/&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="400dp"
              android:id="@+id/blank_layout"
              android:orientation="vertical"&gt;
          &lt;/LinearLayout&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/ScrollView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>