uknownothingsnow / CircleProgress

CircleProgress, DonutProgress, ArcProgress
3.81k stars 921 forks source link

can DonutProgress start from the center of top? #93

Closed Damaer closed 7 years ago

nzkozar commented 7 years ago

Yes, it can, or at any particular point on the circle. Just use donutProgress.setStartingDegree(int degree); to set your preferred starting degree. To start at center top, use -90 as degree parameter. Alternatively, you can also set this in your xml layout using

app:donut_circle_starting_degree="-90"

Damaer commented 7 years ago

I get it.thank you very much.