Skip to content
forked from anastr/SpeedView

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

License

Notifications You must be signed in to change notification settings

EULUSOY/SpeedView

 
 

Repository files navigation

SpeedView

Dynamic Speedometer, Gauge for Android. amazing, powerful, and multi shape ⚡ , you can change (colors, bar width, shape, text, font ...everything !!), this Library has also made to build games with accelerate and decelerate, see project on GitHub.

minSdkVersion=8

Library Size just ~ 46 KB.

Android Arsenal API Bintray

Speedometers...

Gauges...

Download

add this line to build.gradle

dependencies {
	    compile 'com.github.anastr:speedviewlib:1.1.4'
}

for maven

<dependency>
  <groupId>com.github.anastr</groupId>
  <artifactId>speedviewlib</artifactId>
  <version>1.1.4</version>
  <type>pom</type>
</dependency>

Get Starting with SpeedView Library.

Simple Usage

choose one of Speedometers, gauges and add it to your Layout.xml, here we use SpeedView.

<com.github.anastr.speedviewlib.SpeedView
        android:id="@+id/speedView"
        android:layout_width="250dp"
        android:layout_height="wrap_content" />

for all speedometers and gauges, this simple method to smoothly change speed:

// move to 50 Km/s
speedometer.speedTo(50);

by default, the speed change Duration between last speed and new speed is 2000 ms.
you can use other Duration by method :

// move to 50 Km/s with Duration = 4 sec
speedometer.speedTo(50, 4000);

for more control, see The most important methods at Get Started - Wiki for All Speedometers.
and also you can see advanced usage in Usage - Wiki and Work With Notes - Wiki.
we have 9 Speedometers, Gauges :

                                   
Name Screenshot XML Layout
1. SpeedView - Wiki
<textarea>

      </textarea>
2. DeluxeSpeedView - Wiki
<textarea>

      </textarea>
3. AwesomeSpeedometer - Wiki
<textarea>

      </textarea>
4. RaySpeedometer - Wiki
<textarea>

      </textarea>
5. PointerSpeedometer - Wiki
<textarea>

      </textarea>
6. TubeSpeedometer - Wiki
<textarea>

      </textarea>
7. ImageSpeedometer - Wiki
<textarea>

      </textarea>
8. ProgressiveGauge - Wiki
<textarea>

      </textarea>
9. ImageLinearGauge - Wiki
<textarea>

      </textarea>

TODO

  • add fuel gauge component.
  • build new custom speedometer.

your pull request is always Welcome, please review the rules of contribution to make useful change.

Coming Soon ...

i well try to draw this Speedometer. if you have any idea, image, template please open new issue and give me the image , and i well try to add it to the Library.

LICENSE


Copyright 2016 Anas ALtair

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%