Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/HotBitmapGG/RingProgressBar

A material design circle the progress bar.
https://github.com/HotBitmapGG/RingProgressBar

material progressbar view

Last synced: 1 day ago
JSON representation

A material design circle the progress bar.

Lists

README

        

# RingProgressBar

[![](https://jitpack.io/v/HotBitmapGG/RingProgressBar.svg)](https://jitpack.io/#HotBitmapGG/RingProgressBar) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-RingProgressBar-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/4326) [![Wercker](https://img.shields.io/wercker/ci/wercker/docs.svg?maxAge=2592000?style=plastic)]() [![Hex.pm](https://img.shields.io/hexpm/l/plug.svg?maxAge=2592000?style=plastic)]()

A material design circle the progress bar,You can download it in image loading and file upload when used.

## Screenshots

## Import

```java

Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:

allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}

Step 2. Add the dependency

dependencies {
compile 'com.github.HotBitmapGG:RingProgressBar:V1.2.3'
}

```

## Maven

```java
Step 1.


jitpack.io
https://jitpack.io

Step 2. Add the dependency


com.github.HotBitmapGG
RingProgressBar
V1.2.2

```

## Directions

* custom properties

name | format | instructions
-----|------|----
ringColor | color | Color ring
ringProgressColor | color | Progress of color
ringWidth | dimension | Ring width of progress
textColor | color | Text color
textSize | dimension | Text size
max | integer | Max progress
textIsShow | boolean | Is display text
style | STROKE& FILL | Circle progress style

## Usage

* 1.In the XML

```java

```

* 2.In the code

```java

mRingProgressBar = (RingProgressBar) findViewById(R.id.progress_bar);

// Set the progress bar's progress
mRingProgressBar.setProgress(progress);
mRingProgressBar.setOnProgressListener(new RingProgressBar.OnProgressListener()
{

@Override
public void progressToComplete()
{
// Progress reaches the maximum callback default Max value is 100
Toast.makeText(MainActivity.this, "complete", Toast.LENGTH_SHORT).show();
}
});

```

## About me

[![Wercker](https://img.shields.io/badge/weibo-HotBitmapGG-blue.svg)](http://weibo.com/3223089177/profile?topnav=1&wvr=6&is_all=1)

An android developer in Wuhan.

If you want to make friends with me, You can focus on my weibo.

## License

Copyright 2017 HotBitmapGG

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.