title: Android progress bar with padding
body: <p>I want to make my progress bar looks something like that:</p>
  
  <p><img src="https://i.stack.imgur.com/dd6p9.png" alt="enter image description here"></p>
  
  <p>I dont want to use images, so I have tried to make this with the shapes:</p>
  
  <p>
  </p>
  
  <pre><code>&lt;item android:id="@android:id/background"&gt;
      &lt;shape&gt;
          &lt;corners android:radius="50dp" /&gt;
  
          &lt;gradient
              android:angle="270"
              android:centerColor="#2a2723"
              android:centerY="0.75"
              android:endColor="#2a2723"
              android:startColor="#2a2723" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;item android:id="@android:id/secondaryProgress"&gt;
      &lt;clip&gt;
          &lt;shape&gt;
              &lt;corners android:radius="50dp" /&gt;
  
              &lt;gradient
                  android:angle="270"
                  android:centerColor="#16e61c"
                  android:centerY="0.75"
                  android:endColor="#9dfd6e"
                  android:startColor="#16e61c" /&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="50dp" /&gt;
  
              &lt;gradient
                  android:angle="270"
                  android:endColor="#9dfd6e"
                  android:startColor="#16e61c" /&gt;
          &lt;/shape&gt;
      &lt;/clip&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p>But I cant set padding for the green line (Ive tried to set its everywhere where it was possible), and also I can't make such round corners (looks like <code>corners android:radius</code> isn't working). Please help me</p>