I need to show to the user the speed of my robot's motors.
I thought about something like that:
How can I achieve this in Android? Should I use Canvas? Or maybe you can point out a better way to represent these motors' speeds?
I need to show to the user the speed of my robot's motors.
I thought about something like that:
How can I achieve this in Android? Should I use Canvas? Or maybe you can point out a better way to represent these motors' speeds?
You should use ProgressBar
with a custom layout.
You can then update the progress using ProgressBar.setProgress
and customizing the style is well documented.
Here is a relevant thread describing exactly how to customize it ~ How To Customize a Progress Bar in Android