SpeedView v1.5.3 Release Notes

Release Date: 2020-07-27 // over 1 year ago
  • ๐Ÿ†• new in this version:

    • dynamic marks #59 :
      • sv_marksNumber: set custom number of marks.
      • sv_marksPadding: padding from speedometer edge.
      • sv_markHeight and sv_markWidth: size of marks.
      • sv_markStyle: ROUND or BUTT.
      • markColor: color of marks.
    • ๐Ÿ’… enum Style class now moved out of Section class.
    • ๐Ÿ—„ Style.SQUARE is Deprecated , use Style.BUTT.
    • for RaySpeedometer: sv_rayMarkWidth now points to the ray marks instead of sv_markWidth.
    • ๐Ÿ”„ change custom ticks from list of speed values to list of speed offset scale [0 -1]:
      speedometer.ticks = arrayListOf(0f, .25f, .5f, .75f, 1f), old way speedometer.ticks = arrayListOf(0f, 25f, 50f, 75f, 100f)

    ๐Ÿ›  fixes:


Previous changes from v1.5.2

  • Sections

    • โž• add start and end value:
      Section(0f, .6f, 0xFF00FF00.toInt())
    • โž• add width and padding to every section.
      every section may have custom width and padding.

      section.width = .. section.padding = ..

    • ๐Ÿ‘Œ support transparent color.

    • ๐Ÿ‘Œ support NoSection.

    • ๐Ÿ†• new style, also available in XML sv_sectionStyle:

      • Section.Style.SQUARE
      • Section.Style.ROUND
    • โž• add doOnSections extension.

    ๐Ÿ›  fixes and enhancement

    • ImageIndicator accept drawable #171.
    • ๐Ÿ”„ change Interfaces to Function types.
    • ๐Ÿ”„ change OnPrintTickLabel interface to OnPrintTickLabelListener 'typealias'.
    • replace SpeedTextFormat with SpeedTextListener 'typealias' #173.
    • access to minSpeed & maxSpeed directly.
    • ๐Ÿ›  fix #169 #172 #174 .