title: How can I change the width/thickness of a scrollbar?
body: <p>Currently this is my <code>scrollbar.xml</code> file:</p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
      &lt;gradient
          android:angle="45"
          android:centerColor="@color/blue"
          android:endColor="@color/blue"
          android:startColor="@color/blue" /&gt;
  
      &lt;corners android:radius="8dp" /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <p>And this is my ScrollView:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;ScrollView
      android:id="@+id/scrollView1"
      android:scrollbarThumbVertical="@drawable/scrollbar"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentRight="true"
      android:layout_below="@+id/btnBack" &gt;
  </code></pre>
  
  <p>This is the scrollbar it gives me. It's good, except it's too thick and obvious. It may not look thick in this screenshot, but it really is.</p>
  
  <p><img src="https://i.stack.imgur.com/I3MLu.png" alt="enter image description here"></p>
  
  <p>Am I able to set a ScrollView property to adjust the width/thickness of the scrollbar? Or can I put a property in my gradient?</p>