SpeedView v1.5.3 Release Notes
Release Date: 2020-07-27 // over 3 years ago-
๐ new in this version:
- dynamic marks #59 :
sv_marksNumber
: set custom number of marks.sv_marksPadding
: padding from speedometer edge.sv_markHeight
andsv_markWidth
: size of marks.sv_markStyle
: ROUND or BUTT.markColor
: color of marks.
- ๐
enum
Style
class now moved out ofSection
class. - ๐
Style.SQUARE
is Deprecated , useStyle.BUTT
. - for RaySpeedometer:
sv_rayMarkWidth
now points to the ray marks instead ofsv_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 wayspeedometer.ticks = arrayListOf(0f, 25f, 50f, 75f, 100f)
๐ fixes:
- ๐ fix null custom tick label.
- ๐ fix preview with custom font.
- ๐ fix #177 .
- ๐ fix #178 .
- ๐ fix #185 .
- dynamic marks #59 :
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
- โ add start and end value: