title: Change width of the custom seekbar in Android
body: <p>I have defined a custom seekbar like this.</p>
  
  <p></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
  &lt;item android:id="@android:id/progress"&gt;
      &lt;clip&gt;
          &lt;shape&gt;
              &lt;corners android:radius="2dip" /&gt;
              &lt;gradient
                      android:startColor="#32CEFE"
                      android:centerColor="#35CEFE"
                      android:centerY="0.75"
                      android:endColor="#3FC4FF"
                      android:angle="270"
              /&gt;
          &lt;/shape&gt;
      &lt;/clip&gt;
  &lt;/item&gt;
  
  
  &lt;item android:id="@android:id/progress"&gt;
      &lt;clip&gt;
          &lt;shape&gt;
              &lt;corners android:radius="2dip" /&gt;
              &lt;gradient
                      android:startColor="#32CEFE"
                      android:centerColor="#35CEFE"
                      android:centerY="0.75"
                      android:endColor="#3FC4FF"
                      android:angle="270"
              /&gt;
          &lt;/shape&gt;
      &lt;/clip&gt;
  &lt;/item&gt;
  
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>I tried by adding <code>android:width="2dip"</code> but there was no change in the width. I haven't defined width anywhere. I want to make it thinner. How to do that?</p>