title: How to disable RecyclerView scrolling to make the layout listen its ScrollView parent?
body: <p>I'm trying to put a <code>RecyclerView</code>, inside a <code>ScrollView</code>. But the <code>ScrollView</code> doesn't scrolls and the <code>RecyclerView</code> does but I don't want it to... What can I do?</p>
  
  <p>I tried with this class <a href="https://stackoverflow.com/a/30222721/4864104">https://stackoverflow.com/a/30222721/4864104</a> and in fact the <code>RecyclerView</code> doesn't scroll anymore, but neither does the <code>ScrollView</code>. </p>
  
  <p>Any help to make the <code>ScrollView</code> work even with the disabled <code>RecyclerView</code>? Thanks in advance.</p>
  
  <p>This is my layout:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:fab="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="jahirfiquitiva.projects.activities.DeveloperActivity"&gt;
  
  &lt;include
      android:id="@+id/toolbar"
      layout="@layout/toolbar" /&gt;
  
  &lt;ScrollView
      android:id="@+id/osv"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_below="@id/toolbar"
      android:fillViewport="true"
      android:gravity="center"
      android:overScrollMode="never"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical"
          android:padding="10dp"&gt;
  
          &lt;ImageView
              android:id="@+id/photoJahir"
              android:layout_width="144dp"
              android:layout_height="144dp"
              android:layout_gravity="center"
              android:gravity="center" /&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:lineSpacingMultiplier="1.2"
              android:paddingBottom="@dimen/lists_padding"
              android:paddingTop="@dimen/lists_padding"
              android:text="@string/developer_bio"
              android:textSize="@dimen/abc_text_size_subtitle_material_toolbar" /&gt;
  
          &lt;View
              android:layout_width="match_parent"
              android:layout_height="@dimen/dividers_about_section"
              android:alpha="0.3"
              android:background="@color/primary" /&gt;
  
          &lt;RecyclerView
              android:id="@+id/buttonsGrid"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:paddingBottom="@dimen/lists_padding"
              android:paddingTop="@dimen/lists_padding" /&gt;
  
          &lt;View
              android:layout_width="match_parent"
              android:layout_height="@dimen/dividers_about_section"
              android:alpha="0.3"
              android:background="@color/primary" /&gt;
  
          &lt;View
              android:layout_width="match_parent"
              android:layout_height="72dp" /&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p></p>