title: Android round edges on ring shaped progressbar
body: <p>I'm trying to make a circular progress bar on android and it seems pretty straightforward task , but I'm struggling with rounding the edges of the progress and secondary progress.</p>
  
  <p>Is there a way to do that without making a custom view ? Using a corners radius ? or nine patch drawable ?</p>
  
  <p>For this view (see attachement) I'm using a simple xml file </p>
  
  <pre><code>&lt;item android:id="@android:id/progress"&gt;
  
  
      &lt;shape
          android:useLevel="true"
          android:innerRadius="@dimen/sixty_dp"
          android:shape="ring"
          android:thickness="@dimen/seven_dp"&gt;
  
          &lt;solid android:color="#477C5B"/&gt;
  
          &lt;stroke android:width="1dip"
              android:color="#FFFF"/&gt;
      &lt;/shape&gt;
  
  
  
  
  
  
  &lt;/item&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/En3yV.png" alt="enter image description here"></p>