How to make a custom progressbar in Android?
-
30-10-2019 - |
Question
What would be the best way to make somthing looking like this:
The text on it needs to be customizable, not only numbers, some strings too, depending on context.
From what I see it:
- Create a custom
View
and withinonDraw
perform all the calculations and text alignment. - Style or extend a horizontal
ProgressBar
.
What do you think ?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow