Reposition scroll in Horizontal Listview using RecyclerView
<p>I have created horizontal <code>ListView</code> using <code>RecyclerView</code>:</p>

<pre><code>&lt;android.support.v7.widget.RecyclerView
    android:id="@+id/horizontal_recycler_view"
    android:scrollbars="horizontal"
    android:layout_width="433px"
    android:layout_height="76px"
    /&gt;
</code></pre>

<p>But the problem is I want to reposition the <code>scrollBar</code>, when I try to do that then everything goes wrong. I have tried to add these two lines to RecyclerView:</p>

<pre><code>  android:scrollbarStyle="outsideOverlay"
  android:paddingBottom="10dp"
</code></pre>

<p>If I use those two lines then scrollBar does not go further away from the listview, instead it creates result similar in this image:</p>

<p><a href="https://i.stack.imgur.com/FDFXS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FDFXS.png" alt=""></a></p>

<p>It just shrunks the whole listview's height. Does anyone have other ideas on how to reposition scrollBar or maybe I have messed soething up and I do not understand something?</p>