title: How to create circular progress bar(pie chart) like indicator - Android
body: <p>Now I have a horizontal progress bar which is updated programmatically via <code>ProgressBar</code> <code>setProgress</code> method:</p>
  
  <pre><code>&lt;ProgressBar
              style="@android:style/Widget.ProgressBar.Horizontal"
              android:layout_width="0dip"
              android:layout_weight="1"
              android:layout_height="20dip"
              android:id="@+id/progressbar"
              &gt;
      &lt;/ProgressBar&gt;
  </code></pre>
  
  <p>Is there a way to convert this progress bar to a circle (pie chart) and to be able also to update the progress programmatically?</p>
  
  <p>Example of what I want: </p>
  
  <p><img src="https://i.stack.imgur.com/iouR5.png" alt=""></p>