uknownothingsnow / CircleProgress

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

Float Value Support #20

Closed shivasurya closed 9 months ago

shivasurya commented 9 years ago

This library is excellent ! pls support for float values for progress! however cast can be used! but i need to show values in float!

thanks in advance!

hoseinit commented 7 years ago

I am really in need of float value support, too. I do cast it to show integer but I can't show float numbers inside the arcprogress

hoseinit commented 7 years ago

@shivasurya I have managed it to support floats in #87

shivasurya commented 7 years ago

Sure will check it out! Thanks

KhaledLela commented 7 years ago

@shivasurya @hoseinit Please checkout my PR for handling this progress floating point without change library

103

        <attr name="donut_digits" format="integer"/>
        setProgressFloating(int digits) 

digits= 0 > int value. digits= 1 > 70.5 digits=2 > 65.45 ,..etc

shivasurya commented 7 years ago

sure will check out 👍

ahmadarslan13 commented 6 years ago

This library is awesome seriously. I have a question related to the decimal value, Can we remove it from the progress?

Right now I am setting progress like circleProgressView.setProgress((int) percentage);