uknownothingsnow / CircleProgress

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

DonutProgress does not take max into consideration #50

Open literakl opened 8 years ago

literakl commented 8 years ago

This line just print actual progress value which works well for default max value (100) but it is incorrect for custom value (e.g. 5). Angle is calculated correctly.

String text = this.text != null ? this.text : prefixText + progress + suffixText;