How to create circular progress bar(pie chart) like indicator - Android

前端 未结 5 2009
北恋
北恋 2020-12-08 08:05

Now I have a horizontal progress bar which is updated programmatically via ProgressBar setProgress method:



        
5条回答
  •  北海茫月
    2020-12-08 09:01

    Even though it's an old question, I hope this answer can help future viewers.

    Check out this library - https://github.com/lzyzsd/CircleProgress

    For a simple circular progress, dynamic or static, this lib is pretty straightforward and has many attributes for easy customizability (like stroke width, start angle, inside background, text color, etc). For the UI which the OP wanted to achieve, this library would be perfect.

提交回复
热议问题