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 return SpannableString 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 use sv_withIndicatorLight="true" and you can customize its color sv_indicatorLightColor="#BB0000FF"

    • ๐Ÿ†• new notes positions.
      if you were using CenterIndicator for Note position, change to QuarterSpeedometer
      if you were using TopIndicator, change to TopSpeedometer.