Code Monkey home page Code Monkey logo

speedview's Introduction

SpeedView

Dynamic Speedometer, Gauge for Android. amazing, powerful, and multi shape โšก , you can change the color of everything.

minSdkVersion=11

Library Size just ~ 14 Kb.

Android Arsenal API Bintray


Download

add this line to build.gradle

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

for maven

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

Simple Usage

add Speedometer to your Layout.xml.

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

for all speedometers, this simple method to move the indicator:

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

by default, indicator move Duration 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.
we have 5 Speedometers :

Name Screenshot
1. SpeedView - Wiki
2. DeluxeSpeedView - Wiki
3. AwesomeSpeedometer - Wiki
4. RaySpeedometer - Wiki
5. PointerSpeedometer - Wiki

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.

speedview's People

Contributors

anastr avatar

Stargazers

Elvis Peace NDAHAYO RUGERO avatar

Watchers

James Cloos avatar Elvis Peace NDAHAYO RUGERO avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.