anastr / SpeedView

Dynamic Speedometer and Gauge for Android. amazing, powerful, and multi shape :zap:
Apache License 2.0
1.28k stars 321 forks source link

Allow customizing the position of ray start speed #248

Open agronick opened 6 months ago

agronick commented 6 months ago

One of my users had commented that they didn't like that the ray speedometer drew from the beginning of the gauge instead of at 0. This looked strange especially when it was an arbitrary negative number. I added an option to set a start value. I left the current functionality but you can now set app:sv_rayStartSpeed="0" to draw from 0 and it will draw backwards if the value is less than 0.

You can see how it looks when starting from 0 instead of the minimum value. Ray start - Made with Clipchamp