uknownothingsnow / CircleProgress

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

Making it possible to set custom central text in ArcProgress and CircleProgress widgets. #126

Closed t-girniak closed 4 years ago

t-girniak commented 5 years ago

For changing central text, you should call setText("String") method. If this method isn't called, progress value would be set as default text. For resetting custom text and setting progress value you can call setDefaultText() method. Setting custom text does not affect progress value, it's only visual change for UI.