Sorbh / kdgaugeView

KdGaugeView is a simple and customizable Gauge / Speedometer control for Android.
62 stars 35 forks source link

Java Customization #5

Closed rafayk7 closed 5 years ago

rafayk7 commented 5 years ago

Allows you to programatically (from Java code) change features of the GaugeView. The mSpeed variable is not changeable as the setSpeed function allows that already.

Example usage:

var gauge = findViewById<KdGaugeView>(R.id.gauge)

//Set variables
gauge.maxSpeed = 120
gauge.minSpeed = 40
gauge.unitOfMeasurement = "mph"