title: Using gradient for Android SeekBar progressDrawable
body: <p>Currently I'm working on custom SeekBar with gradient like <a href="http://i.stack.imgur.com/OzG7d.png" rel="noreferrer">this</a> one. I've tried to implement seekbar with my own styles. So I did like that:</p>
  
  <pre><code>...
  &lt;style name="GreenSeekBar.Static.NoThumb"&gt;
      &lt;item name="android:progressDrawable"&gt;@drawable/sq_seekbar_clipped&lt;/item&gt;
      &lt;item name="android:thumb"&gt;@null&lt;/item&gt;
  &lt;/style&gt;`
  </code></pre>
  
  <p>And here's <strong>sq_seekbar_clipped.xml:</strong></p>
  
  <pre><code>&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="2dp"/&gt;
              &lt;gradient
                  android:endColor="#00c492"
                  android:startColor="#e8e8e8" /&gt;
          &lt;/shape&gt;
      &lt;/clip&gt;
  &lt;/item&gt;
  
  &lt;item android:id="@android:id/secondaryProgress"&gt;
      &lt;shape android:shape="rectangle"&gt;
          &lt;size android:height="3dp" /&gt;
          &lt;solid android:color="@color/transparent" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>So, everything worked just great except one thing - I received <em><a href="http://i.stack.imgur.com/ruH5g.png" rel="noreferrer">this</a></em>:</p>
  
  <p>So, as you can see from what I've got - gradient is cropped. I need gradient to be from 0 to [progress_value]. Is that possible?</p>
  
  <p>Is there any way to draw gradient like on the <strong>1st</strong> (top link) image?</p>