# NumberProgressBar
**Repository Path**: duguying2008/NumberProgressBar
## Basic Information
- **Project Name**: NumberProgressBar
- **Description**: mirror of https://github.com/daimajia/NumberProgressBar
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2014-08-14
- **Last Updated**: 2020-12-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
##Android NumberProgressBar [](https://travis-ci.org/daimajia/NumberProgressBar)
-----
The NumberProgressBar is a bar, slim and sexy (every man wants! ).
I decided to do this because I was really tired of android original progress bar. So, I made some change, added more color style for this.
And also you can contribute more color style, or new idea to me.
---
###Demo

[Download Demo](https://github.com/daimajia/NumberProgressBar/releases/download/v1.0/NumberProgressBar-Demo-v1.0.apk)
###Usage
----
Add the following config in your `build.gradle`:
```groovy
dependencies {
compile 'com.daimajia.numberprogressbar:library:1.1@aar'
}
```
Use it in your own code:
```java
```
I made some predesign style. You can use them via `style` property.

Use the preset style just like below:
```java
```
In the above picture, the style is :
`NumberProgressBar_Default`
`NumberProgressBar_Passing_Green`
`NumberProgressBar_Relax_Blue`
`NumberProgressBar_Grace_Yellow`
`NumberProgressBar_Warning_Red`
`NumberProgressBar_Funny_Orange`
`NumberProgressBar_Beauty_Red`
`NumberProgressBar_Twinkle_Night`
You can get more beautiful color from [kular](https://kuler.adobe.com), and you can also contribute your color style to NumberProgressBar!
###Build
run `./gradlew assembleDebug` (Mac/Linux)
or
run `gradlew.bat assembleDebug` (Windows)
###Attributes
There are several attributes you can set:

The **reached area** and **unreached area**:
* color
* height
The **text area**:
* color
* text size
* visibility
* distance between **reached area** and **unreached area**
The **bar**:
* max progress
* current progress
for example, the default style:
```java
```
### About me:
A student in China mainland, I like Google, like Android, like open source, like doing something interesting. :)
If you have some new idea or internship opportunity, please [email me](mailto:daimajia@gmail.com) !
PS: Welcome to visit the site I am maintaining, which is a site to share graceful Android libraries for every Android developer.
Its name is [Moo Droid](http://moodroid.com) :-D , and also welcome submit your beautiful library to [Moo Droid](http://moodroid.com).