SpeedView v1.2.0 Release Notes
Release Date: 2018-04-01 // about 6 years ago-
if you have been using old version of this library please read this to end.
โก๏ธ this update coming with:- ๐ fix text size attribute in AwesomeSpeedometer #70 .
๐ change the color of just one tick #71 .
now you can use SpannableString for Ticks just use custom tick label and returnSpannableString
like this:speedometer.setOnPrintTickLabel(new OnPrintTickLabel() { @Overridepublic CharSequence getTickLabel(int tickPosition, float tick) { if (tick == 0) { SpannableString s = new SpannableString(String.format(Locale.getDefault(), "%d", (int)tick)); s.setSpan(new ForegroundColorSpan(0xffff1117), 0, 1, 0); // change first char color to Red.return s; } // null means draw default tick.return null; } });
min and max speed in float #64 .
new indicator light effect #78 (beta).
new effect behind the indicator, _ it still unstable _ if you like to use this effect just usesv_withIndicatorLight="true"
and you can customize its colorsv_indicatorLightColor="#BB0000FF"
- ๐ new notes positions.
if you were usingCenterIndicator
for Note position, change toQuarterSpeedometer
if you were usingTopIndicator
, change toTopSpeedometer
.