title: Android RecyclerView scrollbar doesn't work
body: <p>the scrollbar in my RecyclerView doesn't work, I mean I can scroll the RecyclerView with touch, I also can see the scrollbar but it's can not move</p>
  
  <p>Before ask the question I also tried with some answers here for example:
  <a href="https://www.dev2qa.com/android-recyclerview-horizontal-scroll-example/" rel="nofollow noreferrer">https://www.dev2qa.com/android-recyclerview-horizontal-scroll-example/</a></p>
  
  <p><a href="https://stackoverflow.com/questions/34542567/android-recyclerview-scroll-not-working-after-layout-edit">Android RecyclerView Scroll not working after Layout edit</a></p>
  
  <p>But none of them work for me</p>
  
  <p>Below is my code, thanks in advance</p>
  
  <p><strong>Layout file</strong>:</p>
  
  <pre><code>     &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/container"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".HexViewActivity"&gt;
  
         &lt;android.support.v7.widget.RecyclerView
              android:id="@+id/rv_hex"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:fadeScrollbars="false"
  
              android:scrollbarSize="15dp"
              android:scrollbars="vertical" /&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>Code to create the view</p>
  
  <pre><code>RecyclerView recyclerView = findViewById(R.id.rv_hex);
  recyclerView.setLayoutManager(new LinearLayoutManager(HexConstant.app_ontext));
  m_fileDataAdapter = new FileDataAdapter(HexConstant.app_ontext, files[0]);
                                          recyclerView.setAdapter(m_fileDataAdapter);
  recyclerView.setNestedScrollingEnabled(true);
  </code></pre>
  
  <p><strong>Is there any example for Scrollbar + recyclerView, pls let me know</strong></p>