Closed vbbartlett closed 4 years ago
The problem is supply which calculates the width/height incorrectly. if you add the strokewidth to the width and height and then remove that from the distance calculations it fixes all the problems.
@vbbartlett I'm sorry to reply you so late (I don't have a good solution to the problems you mentioned)
You can submit pull request to fix the problem you found. or I found some similar projects for you
I hope this can help you
or
@vbbartlett Hi bro https://github.com/ithot-all/android-ui#sweep this is a more accurate version of percentage calculation (using float calculation) (but touch support was removed)
I added this ring and when I touch inside the ring, it jumps back to the beginning. If I touch on the inside of the ring it works.
There is also another problem, when I scroll the ring, when I get near horizontal location it appears to go in the opposite direction for a few degrees.
I would bet there is some error with determining which side of the horizontal line the touch is on.