All Projects → anastr → Speedview

anastr / Speedview

Licence: apache-2.0
Dynamic Speedometer and Gauge for Android. amazing, powerful, and multi shape ⚡️

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Speedview

Spannabletextview
SpannableTextView is a custom TextView which lets you customize the styling of slice of your text or statment via Spannables, but without the hassle of having to deal directly with Spannable themselves.
Stars: ✭ 177 (-82.9%)
Mutual labels:  library, view
Weatherview
WeatherView is an Android Library let you make cool weather animations for your app
Stars: ✭ 426 (-58.84%)
Mutual labels:  library, view
Goview
Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
Stars: ✭ 213 (-79.42%)
Mutual labels:  library, view
Slidingsquareloaderview
Marvelous sliding square loader view
Stars: ✭ 166 (-83.96%)
Mutual labels:  library, view
Androidlibs
🔥正在成为史上最全分类 Android 开源大全~~~~(长期更新 Star 一下吧)
Stars: ✭ 7,148 (+590.63%)
Mutual labels:  library, view
Movingnumbersview
Moving numbers effect in SwiftUI
Stars: ✭ 175 (-83.09%)
Mutual labels:  library, view
Bouncylayout
Make. It. Bounce.
Stars: ✭ 4,035 (+289.86%)
Mutual labels:  library, view
Floatingtoast
Android library to create customizable floating animated toasts like in Clash Royale app
Stars: ✭ 86 (-91.69%)
Mutual labels:  library, view
Tabulate
Table Maker for Modern C++
Stars: ✭ 862 (-16.71%)
Mutual labels:  library, view
Crab
JavaScript library for building user interfaces with Custom Elements, Shadow DOM and React like API
Stars: ✭ 22 (-97.87%)
Mutual labels:  library, view
Show Case Card View
Show case card view
Stars: ✭ 151 (-85.41%)
Mutual labels:  library, view
Fillingbutton
🔥Replace typical onLongClickListener with this library!
Stars: ✭ 31 (-97%)
Mutual labels:  library, view
Bounceview Android
Customizable bounce animation for any view like in Clash Royale app
Stars: ✭ 142 (-86.28%)
Mutual labels:  library, view
Transitioner
A library for dynamic view-to-view transitions
Stars: ✭ 2,049 (+97.97%)
Mutual labels:  library, view
Overflow Pager Indicator
Simple paging indicator widget with pager dataset ovewflow effect à la Instagram behavior
Stars: ✭ 136 (-86.86%)
Mutual labels:  library, view
Incrementproductview
Interesting concept of products incrementation
Stars: ✭ 262 (-74.69%)
Mutual labels:  library, view
Dotsloaderview
Simple dots loader view
Stars: ✭ 63 (-93.91%)
Mutual labels:  library, view
Calendarview
Calendar View Library
Stars: ✭ 71 (-93.14%)
Mutual labels:  library, view
Popview Android
Pop animation with circular dust effect for any view updation
Stars: ✭ 487 (-52.95%)
Mutual labels:  library, view
Candyview
Implement any RecyclerView in just 1 Line. CandyView handles everything for you.
Stars: ✭ 15 (-98.55%)
Mutual labels:  library, view

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=11

Library Size just ~ 48 KB.

Android Arsenal Gitter API Bintray Twitter

download demo on Google Play:
SpeedView Demo on Google Play

this library has rewritten with Kotlin in version 1.4.0 manually, which means it may have some issues. if you have any problem please open an issue, and you can use old version 1.3.1 written in java.

Speedometers...

Gauges...

Donations

if you like this project, you can support it and support the creator of it, and we are really thankful for your donations 😄.

All donations accepted in Bountysource:

  • 5$: good job, here's a cup of tea (we know you don't like coffee😉).
  • 10$: very nice library, you saved my day.
  • 15$: really appreciate your work, keep going!.
  • 100$, maybe more: you are a Dentist, and you have done all of this!!

go to project in bountysource for more options.

Download

this library required jcenter and kotlin version 1.3.72 or above, you still can use it in java projects.

first add kotlin to your project, in build.gradle project level:

buildscript {
    ext.kotlin_version = '1.3.72'
    dependencies {
        ...
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}
...
allprojects {
    repositories {
        ...
        jcenter()
    }
}

add this line to build.gradle app module level:

apply plugin: 'kotlin-android'
...
dependencies {
	implementation 'com.github.anastr:speedviewlib:1.5.3'
}

for maven

<dependency>
  <groupId>com.github.anastr</groupId>
  <artifactId>speedviewlib</artifactId>
  <version>1.5.3</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="wrap_content"
        android:layout_height="wrap_content" />

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

SpeedView speedometer = findViewById(R.id.speedView)

// 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)

automatically indicator move around current speed to add some reality to speedometer because of Tremble, you can stop it by app:sv_withTremble="false" Attribute or call this method in the code.

speedometer.withTremble = false

for more control, see The most important methods at Get Started - Wiki for All Speedometers & Gauges.
and also you can see Advanced Usage in Usage - Wiki.

more advanced features:

All Speedometers, Gauges :

                                   
Name Screenshot XML Layout
1. SpeedView - Wiki
< com.github.anastr.speedviewlib.SpeedView
        android:id="@+id/speedView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
	
2. DeluxeSpeedView - Wiki
< com.github.anastr.speedviewlib.DeluxeSpeedView
        android:id="@+id/deluxeSpeedView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
      
3. AwesomeSpeedometer - Wiki
< com.github.anastr.speedviewlib.AwesomeSpeedometer
        android:id="@+id/awesomeSpeedometer"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
      
4. RaySpeedometer - Wiki
< com.github.anastr.speedviewlib.RaySpeedometer
        android:id="@+id/raySpeedometer"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
      
5. PointerSpeedometer - Wiki
< com.github.anastr.speedviewlib.PointerSpeedometer
        android:id="@+id/pointerSpeedometer"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
      
6. TubeSpeedometer - Wiki
< com.github.anastr.speedviewlib.TubeSpeedometer
        android:id="@+id/tubeSpeedometer"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
      
7. ImageSpeedometer - Wiki
< com.github.anastr.speedviewlib.ImageSpeedometer
        android:id="@+id/imageSpeedometer"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:sv_image="@drawable/your_image" />
      
8. ProgressiveGauge - Wiki
< com.github.anastr.speedviewlib.ProgressiveGauge
        android:id="@+id/gauge"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />
      
9. ImageLinearGauge - Wiki
< com.github.anastr.speedviewlib.ImageLinearGauge
        android:id="@+id/gauge"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:sv_image="@drawable/fire" />
      

TODO

  • build start animation.
  • 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 will 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].