# NumberCircleProgressBar
**Repository Path**: ouyangpengdev/NumberCircleProgressBar
## Basic Information
- **Project Name**: NumberCircleProgressBar
- **Description**: The NumberCircleProgressBar is a bar, slim and sexy. I decided to do this after I saw @daimajia/NumberProgressBar. And I made some change for the progressbar's shape and style.
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-03-23
- **Last Updated**: 2021-03-23
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
NumberCircleProgressBar
=======================
>相关介绍,请查看网址:[Android自定义控件NumberCircleProgressBar(圆形进度条)的实现](http://www.itnose.net/detail/6107889.html)
The NumberCircleProgressBar is a bar, slim and sexy. I decided to do this after I saw [@daimajia/NumberProgressBar](https://github.com/daimajia/NumberProgressBar). And I made some change for the progressbar's shape and style.
---
###Illustration
---




###Attributes

There are several attributes you can set:
**The Circle**
* circle_radius
* fill_mode(name="rotate" value="0",name="rising_water" value="1" )
The **reached area** and **unreached area**:
* color
* height
The **text area**:
* color
* text size
* visibility
The **bar**:
* max progress
* current progress
###Usage
----
This widget is small,so I didn't build it as a library.You just copy the src/NumberCircleProgressBar.java and res/values/attrs.xml then:
####In the layout file,you can write as this:
```xml
```
####You can also define the NumberCircleProgressBar's style like this:
```xml
```
####When you use the style,just do this:
```xml
```
####In my sample demo ,you can use NumberCircleBar in your Activity:
```java
public void setTheNumberProgressBar() {
final NumberCircleProgressBar bnp = (NumberCircleProgressBar) findViewById(R.id.numbercircleprogress_bar);
timer = new Timer();
timer.schedule(new TimerTask() {
@Override
public void run() {
runOnUiThread(new Runnable() {
@Override
public void run() {
if (!isFinish) {
bnp.incrementProgressBy(2);
if (bnp.isFinished()) {
isFinish = false;
}
}
}
});
}
}, 1000, 100);
}
```
How to accomplish this view,you can look my [Blog](http://blog.csdn.net/cjllife/article/details/39102243)