title: RecyclerView's scrollbar not appearing on edge of screen
body: <p>I'm trying to add a margin around my <code>RecyclerView</code> whilst enusring it can scroll vertically but for some reason the scrollbar does not position itself at the end/right of the screen. Is this an issue specific to Android X?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:app="http://schemas.android.com/apk/res-auto"
          android:id="@+id/myLinearLayout"
          android:orientation="vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:paddingTop="@dimen/activity_vertical_margin"
          android:paddingBottom="@dimen/activity_vertical_margin"
          android:paddingStart="@dimen/activity_horizontal_margin"
          android:paddingEnd="@dimen/activity_horizontal_margin"&gt;
  
      &lt;androidx.recyclerview.widget.RecyclerView
              android:id="@+id/myRecyclerView"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:scrollbars="vertical"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/G0RVP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G0RVP.png" alt="enter image description here"></a></p>