GitPedia
anastr

anastr/SpeedView

Dynamic Speedometer and Gauge for Android. amazing, powerful, and multi shape :zap:

27 Releases
Latest: 3y ago
Fix bugs1.6.1Latest
anastranastr·3y ago·June 28, 2023
GitHub

📋 Changes

  • Fix #230.
Flexible fulcrum point1.6.0
anastranastr·4y ago·November 26, 2021
GitHub

📦 Fulcrum point for indicator

  • New feature to change the indicator position and the rotation point #45.
  • ```kotlin
  • speedometer.setFulcrum(xOffset = .5f, yOffset = .7f)
  • ```
Fixes1.5.53
anastranastr·4y ago·November 11, 2021
GitHub

📋 Changes

  • Fix ticks overlap #214 .
  • Fix speedometer animation not working on activity start.
Fix visibility1.5.52
anastranastr·4y ago·October 9, 2021
GitHub

📋 Changes

  • Fix #217 .
  • Fix #213 .
Performance1.5.51
anastranastr·4y ago·July 21, 2021
GitHub

📋 Changes

  • Improve performance by stopping animations on some system events.
  • Sections list is now immutable.
  • Update kotlin to `1.5.20`.
  • Update documentations.
1.5.5
anastranastr·5y ago·April 17, 2021
GitHub

Improve performance

  • Stop all animations when the view isn't visible to the user.
  • Improve drawing performance.
Publish to mavenCentralv1.5.4
anastranastr·5y ago·April 4, 2021
GitHub
Marks, Ticksv1.5.3
anastranastr·5y ago·July 27, 2020
GitHub

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`.
  • + 3 more

🐛 fixes:

  • fix null [custom tick label](https://github.com/anastr/SpeedView/wiki/Usage#custom-tick-label).
  • fix preview with custom font.
  • fix #177 .
  • fix #178 .
  • fix #185 .
Sections policyv1.5.2
anastranastr·6y ago·February 23, 2020
GitHub

📦 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.
  • ```kotlin
  • section.width = ..
  • section.padding = ..
  • ```
  • + 6 more

🐛 fixes and enhancement

  • ImageIndicator accept drawable #171.
  • change Interfaces to [Function types](https://kotlinlang.org/docs/reference/lambdas.html#function-types).
  • change `OnPrintTickLabel` interface to `OnPrintTickLabelListener` 'typealias'.
  • replace `SpeedTextFormat` with `SpeedTextListener` 'typealias' #173.
  • access to `minSpeed` & `maxSpeed` directly.
  • fix #169 #172 #174 .
Sectionsv1.5.0
anastranastr·6y ago·December 28, 2019
GitHub

📋 Changes

  • new multi-sections:
  • new support of (no section)
  • `OnSectionChangeListener` now used Section class:
  • remove 3D Effects from TubeSpeedometer (~~isWithEffects3D~~) .
  • change indicator width and color:
  • Sections and indicator are now Observable by its speedometer.
  • add `sv_centerCircleRadius`.
  • custom default ticks.
  • + 1 more
fix problemv1.4.1
anastranastr·6y ago·September 28, 2019
GitHub

📋 Changes

  • fix StakeOverflowException 1164674
  • update Kotlin to v 1.3.50
Kotlinv1.4.0
anastranastr·6y ago·July 15, 2019
GitHub

📋 Changes

  • easy to understand.
  • less NullPointerException.
  • smaller size.
Fix Bugsv1.3.0
anastranastr·7y ago·September 21, 2018
GitHub

📋 Changes

  • fix getter and setter methods of SpeedometerBackColor for [TubeSpeedometer](https://github.com/anastr/SpeedView/wiki/6.-TubeSpeedometer).
  • fix color doesn't change at runtime for [TubeSpeedometer](https://github.com/anastr/SpeedView/wiki/6.-TubeSpeedometer).
  • fix color changed in RecyclerView at runtime #100 .
  • fix center circle color for PointerSpeedometer #106 .
  • New custom number of decimal for speedText and Ticks #108 .
new Effectv1.2.0
anastranastr·8y ago·April 1, 2018
GitHub

📋 Changes

  • fix text size attribute in AwesomeSpeedometer #70 .
  • change the color of just one tick #71 .
  • min and max speed in float #64 .
  • new indicator light effect #78 (_beta_).
  • new notes positions.
Fix Bugs.1.1.7
anastranastr·8y ago·January 4, 2018
GitHub

🐛 fix width and height, and add to ScrollView

  • 53284d9 issue #56 ,Now you can use `wrap_content` for both layout_width & layout_height for speedometer family:
  • ```xml
  • <com.github.anastr.speedviewlib.SpeedView
  • android:id="@+id/speedView"
  • android:layout_width="wrap_content"
  • android:layout_height="wrap_content" />
  • ```

🐛 fix font cut

  • ea2e6cb issue #50, speed text and unit text will no longer be incomplete for all fonts.

🐛 fix Indicator rotation

  • 78965d7 issue #61, No more random rotation after using `sv_minSpeed` and `sv_maxSpeed` attributes.
Fix / New1.1.6
anastranastr·8y ago·September 11, 2017
GitHub

📋 Changes

  • New : [KiteIndicator, NeedleIndicator](https://github.com/anastr/SpeedView/wiki/Indicators).
  • Add : [custom tick label](https://github.com/anastr/SpeedView/wiki/Usage#custom-tick-label) dd4343f use `OnPrintTickLabel` interface #35 .
  • Add : [custom ticks position](https://github.com/anastr/SpeedView/wiki/Usage#custom-ticks) 25a0cd9 use `setTicks(0, 10, 60, ...)` method #39.
  • delete deprecated methods (`getCorrectSpeed`,`getCorrectIntSpeed`) use (`getCurrentSpeed`,`getCurrentIntSpeed`).
  • Add : ability to remove the pointer from [PointerSpeedometer](https://github.com/anastr/SpeedView/wiki/5.-PointerSpeedometer) issue #42 use `sv_withPointer` attribute 5cc9e41.
  • Fix : speed value change to 0 when device rotation changed 324889e.
  • Fix : padding issue 2bb20f2 #43.
  • Fix : [speedometerMode](https://github.com/anastr/SpeedView/wiki/Usage#speedometer-modes).
  • + 1 more
New Tick Values1.1.5
anastranastr·8y ago·July 19, 2017
GitHub

📋 Changes

  • new speed value [label at each tick point](https://github.com/anastr/SpeedView/wiki/Usage#ticks) #22 #31 .
  • Deprecate `getCorrectSpeed(), getCorrectIntSpeed()` and replace with `getCurrentSpeed(), getCurrentIntSpeed()`, No correction anymore.
  • add `setMinMaxSpeed(minSpeed, maxSpeed)` method.
  • fix image scale in [ImageLinearGauge](https://github.com/anastr/SpeedView/wiki/9.-ImageLinearGauge).
  • fix Render issues #32 #34 .
  • fix blur effect for inactive marks for [DeluxeSpeedView](https://github.com/anastr/SpeedView/wiki/2.-DeluxeSpeedView).
Improve Base, new Gauge1.1.4
anastranastr·9y ago·March 3, 2017
GitHub

📋 Changes

  • add "`sv_`" to all attributes to fix conflicts issue, #20 fixed.
  • create new `Gauge` class, the base class for all speedometers and gauges.
  • add base LinearGauge for custom gauge.
  • new [ProgressiveGauge](https://github.com/anastr/SpeedView/wiki/8.-ProgressiveGauge).
  • new [ImageLinearGauge](https://github.com/anastr/SpeedView/wiki/9.-ImageLinearGauge).
  • [add Notes For Unlimited Time](https://github.com/anastr/SpeedView/wiki/Notes#add-note-for-unlimited-time).
  • add `sv_speedTextPadding` attribute.
  • add `sv_cutPadding` attribute to fix indicator cutting #12 when change [speedometerMod](https://github.com/anastr/SpeedView/wiki/Usage#speedometer-modes).
  • + 7 more
Fix / Huge Update1.1.3
anastranastr·9y ago·January 10, 2017
GitHub

📋 Changes

  • Support API 8.
  • new [image indicator](https://github.com/anastr/SpeedView/wiki/Indicators#imageindicator).
  • new [OnSectionChangeListener](https://github.com/anastr/SpeedView/wiki/0.-Get-Started#speed-listener).
  • new [speedometerMode](https://github.com/anastr/SpeedView/wiki/Usage#speedometer-modes): change size, style, indicator's position.
  • speed text:
  • new [speedTextPosition](https://github.com/anastr/SpeedView/wiki/Usage#speed-text-position): change speed text's position.
  • ability to change speed text's format (INTEGER, FLOAT).
  • new `unitUnderSpeedText` (boolean) change relationship between _unitText_ and _speedText_, (Under each, side by side).
  • + 14 more
new Speedoeters1.1.2
anastranastr·9y ago·December 23, 2016
GitHub

📋 Changes

  • new [TubeSpeedometer](https://github.com/anastr/SpeedView/wiki/6.-TubeSpeedometer).
  • new [ImageSpeedometer](https://github.com/anastr/SpeedView/wiki/7.-ImageSpeedometer).
  • fix _Create Speedometer Programmatically_.
  • fix _padding_.
  • Ability to change [indicators](https://github.com/anastr/SpeedView/wiki/Indicators).
  • add left and right Align to [Notes](https://github.com/anastr/SpeedView/wiki/Notes).
  • add Locale control.
  • check sections.
  • + 2 more
Add Notes1.1.1
anastranastr·9y ago·December 9, 2016
GitHub

📋 Changes

  • add minSpeed #10 .
  • support padding.
  • add [Notes](https://github.com/anastr/SpeedView/wiki/Notes) beta.
Big Control1.1.0
anastranastr·9y ago·November 25, 2016
GitHub

📋 Changes

  • add `unitTextSize` to all speedometers.
  • add `trembleDegree` and `trembleDuration` Attributes.
  • Control at the beginning and end of the Speedometer, using `startDegree` and `endDegree` Attributes, or `setStartDegree(int)` `setEndDegree(int)` methods.
  • Control division of the speedometer, now you can change the long of lowSpeed and mediumSpeed segments, using `lowSpeedPercent` and `mediumSpeedPercent` Attributes, or `setLowSpeedPercent(int)` `setMediumSpeedPercent(int)` methods, issue #8 .
  • support Right to Left Text, `speedometerTextRightToLeft` Attribute or `setspeedometerTextRightToLeft(boolean)` method.
  • save 20% CPU usage.
  • Relying on memory, which means few processes on UI thread.
  • one speedometer may take [1 to 2] MB on memory.
new Speedometer1.0.9
anastranastr·9y ago·November 1, 2016
GitHub

📋 Changes

  • new PointerSpeedometer.
  • fix some methods.
  • save CPU and Memory.
  • update `realSpeedTo()` method.
  • more control.
  • delete `backgroundCircleColor` , use `Transparent` color to remove Circle background.
  • update description.
  • add _trembleDegree_ and _trembleDuration_, use method `setTrembleData()`.
  • + 1 more
new Speedometer1.0.8
anastranastr·9y ago·September 7, 2016
GitHub

📋 Changes

  • new RaySpeedometer.
  • fix `on size change` issues.
  • update preview.
  • more control.
new Speedometerv1.0.6
anastranastr·9y ago·August 30, 2016
GitHub

📋 Changes

  • new AwesomeSpeedometer.
  • new realSpeedTo() method.
  • more Dynamic text size.
new Speedometerv1.0.3
anastranastr·9y ago·August 30, 2016
GitHub

📋 Changes

  • new DeluxeSpeedView with blur Effect.
  • more Dynamic Colors.
  • Change unit.
SpeedViewv1.0.0
anastranastr·9y ago·August 30, 2016
GitHub

📋 Changes

  • Dynamic Colors.
  • speedTo() method.
  • Tremble Effect.