Skip to content

new Effect

Choose a tag to compare

@anastr anastr released this 01 Apr 06:19
· 167 commits to master since this release
8242045

if you have been using old version of this library please read this to end.
this update coming with:

speedometer.setOnPrintTickLabel(new OnPrintTickLabel() {
    @Override
    public 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.