I'm looking for a way to produce a button with progress functionality (the button is pressed at the end of the progress...) like in Waze, here in an example (the "Go now" button):
I found this solution:
Create rectangle border progress bar in android
And here is the result of the implementation made there:
But unfortunately this is not good enough (I can't changes the button corner radius to something round and the side progresses moving in a different speed the the top and the bottom progress).
From a check I made the Waze app creates the progress using a canvas and by painting paths on it. Does anyone have implemented something similar and could push me in the right direction on how it done?
Thanks in advance for any help you can provide.