Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uknownothingsnow/CircleProgress
CircleProgress, DonutProgress, ArcProgress
https://github.com/uknownothingsnow/CircleProgress
Last synced: 18 days ago
JSON representation
CircleProgress, DonutProgress, ArcProgress
- Host: GitHub
- URL: https://github.com/uknownothingsnow/CircleProgress
- Owner: uknownothingsnow
- Created: 2014-10-30T16:14:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-10-09T08:07:36.000Z (about 3 years ago)
- Last Synced: 2024-08-04T22:12:16.693Z (3 months ago)
- Language: Java
- Homepage:
- Size: 2.42 MB
- Stars: 3,809
- Watchers: 139
- Forks: 921
- Open Issues: 83
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Android Arsenal](https://img.shields.io/badge/Android+Arsenal-CircleProgress-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1130)
inspired from
[https://github.com/daimajia/NumberProgressBar](https://github.com/daimajia/NumberProgressBar)and CleanMaster
![CleanMaster](http://i.stack.imgur.com/sZP5t.png)
###Demo
![CircleProgress](https://raw.githubusercontent.com/lzyzsd/CircleProgress/master/demos/circle_progress.gif)
###Demo download [link](https://raw.githubusercontent.com/lzyzsd/CircleProgress/master/demos/example.apk)
###3 kinds of progress view are provided, DonutProgress (supports inner drawables and VectorDrawables, CircleProgress, ArcProgress
##Usage
please use jitpack
```
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
```###Gradle
```groovy
dependencies {
compile 'com.github.lzyzsd:circleprogress:1.2.4'
}
```###Notice
please always use same width and height for progress views
DonutProgress
```xml
``````xml
```![DonutProgress](https://raw.githubusercontent.com/lzyzsd/CircleProgress/master/demos/donutprogress_demo.png)
attrs for DonutProgress
```xml
```CircleProgress
```xml
```![CircleProgress](https://raw.githubusercontent.com/lzyzsd/CircleProgress/master/demos/circleprogress_demo.png)
attrs for CircleProgress
```xml
```ArcProgress
```xml
```![ArcProgress](https://raw.githubusercontent.com/lzyzsd/CircleProgress/master/demos/arcprogress_demo.png)
attrs for ArchProgress
```xml
```donut_inner_drawable
support add a drawable/vectorDrawable to the center
donut_show_text
show or hide bottom text
###Build
run `./gradlew assembleDebug` (Mac/Linux)
or
run `gradlew.bat assembleDebug` (Windows)
###Changes
version 1.1.0: add bottom text to DonutProgressView
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004Copyright (C) 2014 Bruce Lee
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.