{"id":13428409,"url":"https://github.com/anastr/SpeedView","last_synced_at":"2025-03-16T01:32:28.330Z","repository":{"id":47369371,"uuid":"65904836","full_name":"anastr/SpeedView","owner":"anastr","description":"Dynamic Speedometer and Gauge for Android. amazing, powerful, and multi shape :zap:","archived":false,"fork":false,"pushed_at":"2024-01-07T15:33:46.000Z","size":12894,"stargazers_count":1313,"open_issues_count":16,"forks_count":328,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-03-08T05:47:28.253Z","etag":null,"topics":["android","animation","gauge","java","kotlin","library","speedometer","speedview","view"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anastr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["anastr"],"custom":["https://www.paypal.com/donate/?hosted_button_id=VQ9DDY2KSQLJW"]}},"created_at":"2016-08-17T12:14:07.000Z","updated_at":"2025-03-06T09:36:34.000Z","dependencies_parsed_at":"2023-10-20T17:04:54.749Z","dependency_job_id":"be38b29b-49b7-49d6-ad82-4b8f9624f036","html_url":"https://github.com/anastr/SpeedView","commit_stats":{"total_commits":345,"total_committers":2,"mean_commits":172.5,"dds":"0.11014492753623184","last_synced_commit":"c921ad40cfef3fde471ab1d088aaae819881f9a5"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anastr%2FSpeedView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anastr%2FSpeedView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anastr%2FSpeedView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anastr%2FSpeedView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anastr","download_url":"https://codeload.github.com/anastr/SpeedView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814900,"owners_count":20352037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","animation","gauge","java","kotlin","library","speedometer","speedview","view"],"created_at":"2024-07-31T01:00:56.255Z","updated_at":"2025-03-16T01:32:27.759Z","avatar_url":"https://github.com/anastr.png","language":"Kotlin","readme":"# SpeedView\nDynamic Speedometer, Gauge for Android. **amazing**, **powerful**, and _multi shape_ :zap: , you can change (colors, bar width, shape, text, font ...everything !!), this Library has also made to build **games** with `accelerate` and `decelerate`,\n [see project on GitHub](https://github.com/anastr/SpeedView/).\n\nLibrary Size just ~ 48 KB.\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-SpeedView-green.svg?style=true)](https://android-arsenal.com/details/1/4169)\n[![Maven Central](https://img.shields.io/maven-central/v/com.github.anastr/speedviewlib?color=cyan)](https://mvnrepository.com/artifact/com.github.anastr/speedviewlib/latest)\n[![API](https://img.shields.io/badge/API-+11-red.svg?style=flat)](#)\n[![Twitter](https://img.shields.io/badge/Twitter-@AnasAltairDent-blue.svg?style=flat)](http://twitter.com/AnasAltairDent)\n\nDownload demo on Google Play:\\\n \u003ca href='https://play.google.com/store/apps/details?id=com.github.anastr.speedviewapp\u0026pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'\u003e\u003cimg  width=\"25%\" alt='SpeedView Demo on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png'/\u003e\u003c/a\u003e\n\n**Speedometers...**\u003cbr/\u003e\n\u003cimg src=\"images/SpeedView.gif\" width=\"32%\" /\u003e\n\u003cimg src=\"images/AwesomeSpeedometer.gif\" width=\"32%\" /\u003e\n\u003cimg src=\"images/PointerSpeedometer.gif\" width=\"32%\" /\u003e\n\n**Gauges...**\u003cbr/\u003e\n\u003cimg src=\"images/ProgressiveGauge.gif\" width=\"49%\" /\u003e\n\u003cimg src=\"images/ImageLinearGauge.gif\" width=\"49%\" /\u003e\n\n# Donations\n\nThis project needs you! If you would like to support this project, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated. Thank you!\n\n[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate/?hosted_button_id=VQ9DDY2KSQLJW)\n\n# Compose Multiplatform\n\n\u003e SpeedView is now available in Jetpack Compose! Check [Speedometer](https://github.com/anastr/Speedometer/) repo for more info.\n\n\u003ca href='https://github.com/anastr/Speedometer/'\u003e\u003cimg  width=\"25%\" alt='Speedometer for Compose Multiplatform' src='images/Jetpack-Compose.png'/\u003e\u003c/a\u003e\n\n\n# Download\n\nStarting from version `1.5.4` this library uploaded to `mavenCentral`, the old versions was on `jcenter`. To work with this library you need `Kotlin` version `1.5.20` or above.\n\nFirst add kotlin to your project, in `build.gradle` **project level**:\n\n```gradle\nbuildscript {\n    ext.kotlin_version = '1.5.31'\n    dependencies {\n        ...\n        classpath \"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version\"\n    }\n}\n...\nallprojects {\n    repositories {\n        ...\n        mavenCentral()\n    }\n}\n```\n\nThen add this line to `build.gradle` **app module level**:\n\n```gradle\napply plugin: 'kotlin-android'\n...\ndependencies {\n\timplementation 'com.github.anastr:speedviewlib:1.6.1'\n}\n\n```\n\nFor **maven**\n\n```maven\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.anastr\u003c/groupId\u003e\n  \u003cartifactId\u003espeedviewlib\u003c/artifactId\u003e\n  \u003cversion\u003e1.6.1\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n**[Get Starting](https://github.com/anastr/SpeedView/wiki/0.-Get-Started)** with _SpeedView Library_.\n# Simple Usage\nChoose one of Speedometers, gauges and add it to your `Layout.xml`, here we use **SpeedView**.\u003cbr\u003e\n```xml\n\n\u003ccom.github.anastr.speedviewlib.SpeedView\n        android:id=\"@+id/speedView\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\" /\u003e\n\n```\n\nFor all speedometers and gauges, this simple method to smoothly change the speed:\n```kotlin\nSpeedView speedometer = findViewById(R.id.speedView)\n\n// move to 50 Km/s\nspeedometer.speedTo(50)\n```\n\nBy default, speed change duration between last speed and new one is `2000 ms`.\u003cbr\u003e\nYou can pass your duration by this method :\n```kotlin\n// move to 50 Km/s with Duration = 4 sec\nspeedometer.speedTo(50, 4000)\n```\n\nAutomatically, indicator moves around current speed to add some reality to speedometer because of [Tremble](https://github.com/anastr/SpeedView/wiki/0.-Get-Started#tremble), you can stop it by `app:sv_withTremble=\"false\"`attribute or call this in your code:\n```kotlin\nspeedometer.withTremble = false\n```\n\n**For more control**, see the most important methods at [Get Started - Wiki](https://github.com/anastr/SpeedView/wiki/0.-Get-Started) for **All Speedometers \u0026 Gauges**.\u003cbr\u003e\nAnd also you can see **Advanced Usage** in [Usage - Wiki](https://github.com/anastr/SpeedView/wiki/Usage).\n\nMore advanced features:\n- Work with [Indicators - Wiki](https://github.com/anastr/SpeedView/wiki/Indicators).\n- Work With [Notes - Wiki](https://github.com/anastr/SpeedView/wiki/Notes).\n\n\u003cimg src=\"/images/usage/StartEndDegree.png\" width=\"40%\" /\u003e \u003cimg src=\"/images/usage/WorkWithNote.gif\" width=\"35%\" /\u003e\n\n## All Speedometers, Gauges :\n\n\u003ctable style=\"width:100%\"\u003e\n  \u003ctr\u003e\n    \u003cth\u003eName\u003c/th\u003e\n    \u003cth\u003eScreenshot\u003c/th\u003e\n    \u003cth\u003eXML Layout\u003c/th\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd width=\"24%\"\u003e \u003ca href=\"https://github.com/anastr/SpeedView/wiki/1.-SpeedView\"\u003e1. SpeedView - Wiki\u003c/a\u003e\u003c/td\u003e\n    \u003ctd width=\"22%\"\u003e\u003cimg src=\"/images/SpeedView3.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\n       \u003cpre\u003e\n\u0026lt; com.github.anastr.speedviewlib.SpeedView\n        android:id=\"@+id/speedView\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\" /\u003e\n\t\u003c/pre\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e \u003ca href=\"https://github.com/anastr/SpeedView/wiki/2.-DeluxeSpeedView\"\u003e2. DeluxeSpeedView - Wiki\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"/images/DeluxeSpeedView2.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\n      \u003cpre\u003e\n\u0026lt; com.github.anastr.speedviewlib.DeluxeSpeedView\n        android:id=\"@+id/deluxeSpeedView\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\" /\u003e\n      \u003c/pre\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e \u003ca href=\"https://github.com/anastr/SpeedView/wiki/3.-AwesomeSpeedometer\"\u003e3. AwesomeSpeedometer - Wiki\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"/images/AwesomeSpeedometer.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\n      \u003cpre\u003e\n\u0026lt; com.github.anastr.speedviewlib.AwesomeSpeedometer\n        android:id=\"@+id/awesomeSpeedometer\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\" /\u003e\n      \u003c/pre\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e \u003ca href=\"https://github.com/anastr/SpeedView/wiki/4.-RaySpeedometer\"\u003e4. RaySpeedometer - Wiki\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"/images/RaySpeedometer.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\n      \u003cpre\u003e\n\u0026lt; com.github.anastr.speedviewlib.RaySpeedometer\n        android:id=\"@+id/raySpeedometer\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\" /\u003e\n      \u003c/pre\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e \u003ca href=\"https://github.com/anastr/SpeedView/wiki/5.-PointerSpeedometer\"\u003e5. PointerSpeedometer - Wiki\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"/images/PointerSpeedometer.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\n      \u003cpre\u003e\n\u0026lt; com.github.anastr.speedviewlib.PointerSpeedometer\n        android:id=\"@+id/pointerSpeedometer\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\" /\u003e\n      \u003c/pre\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e \u003ca href=\"https://github.com/anastr/SpeedView/wiki/6.-TubeSpeedometer\"\u003e6. TubeSpeedometer - Wiki\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"/images/TubeSpeedometer.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\n      \u003cpre\u003e\n\u0026lt; com.github.anastr.speedviewlib.TubeSpeedometer\n        android:id=\"@+id/tubeSpeedometer\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\" /\u003e\n      \u003c/pre\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e \u003ca href=\"https://github.com/anastr/SpeedView/wiki/7.-ImageSpeedometer\"\u003e7. ImageSpeedometer - Wiki\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"/images/ImageSpeedometer.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\n      \u003cpre\u003e\n\u0026lt; com.github.anastr.speedviewlib.ImageSpeedometer\n        android:id=\"@+id/imageSpeedometer\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        app:sv_image=\"@drawable/your_image\" /\u003e\n      \u003c/pre\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e \u003ca href=\"https://github.com/anastr/SpeedView/wiki/8.-ProgressiveGauge\"\u003e8. ProgressiveGauge - Wiki\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"/images/ProgressiveGauge.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\n      \u003cpre\u003e\n\u0026lt; com.github.anastr.speedviewlib.ProgressiveGauge\n        android:id=\"@+id/gauge\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\" /\u003e\n      \u003c/pre\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e \u003ca href=\"https://github.com/anastr/SpeedView/wiki/9.-ImageLinearGauge\"\u003e9. ImageLinearGauge - Wiki\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"/images/ImageLinearGauge.png\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\n      \u003cpre\u003e\n\u0026lt; com.github.anastr.speedviewlib.ImageLinearGauge\n        android:id=\"@+id/gauge\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        app:sv_image=\"@drawable/fire\" /\u003e\n      \u003c/pre\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## TODO\n* Build start animation.\n* Add fuel gauge component.\n* Build new custom speedometer.\n\nYour `pull request` is always welcome, please review the **[rules of contribution](https://github.com/anastr/SpeedView/blob/master/CONTRIBUTING.md)** to make a useful change.\n\n# LICENSE\n```\n\nCopyright 2016 Anas Altair\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n```\n","funding_links":["https://github.com/sponsors/anastr","https://www.paypal.com/donate/?hosted_button_id=VQ9DDY2KSQLJW"],"categories":["Libraries"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanastr%2FSpeedView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanastr%2FSpeedView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanastr%2FSpeedView/lists"}