Skip to content

Commit

Permalink
updated README for v0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
2hamed committed Oct 24, 2018
1 parent f502a74 commit f1b5f52
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@ ProgressCircula is a lightweight customisable circular ProgressBar view for Andr
ProgressCircula is available through jCenter and you can easily include it in your `build.gradle` file.

```groovy
implementation 'com.hmomeni.progresscircula:progresscircula:0.1.2'
implementation 'com.hmomeni.progresscircula:progresscircula:0.1.3'
```

There are a number of customisation parameters which can be used either in xml or programmatically:

* `rimColor`: This specifies the color of ProgressBar ring
* `rimWidth`: The width of the progress ring in pixels
* `textColor`: Color of the progress text
* `showProgressText`: Whether to show the progress text or not
* `indeterminate`: This makes the progress bar indeterminate
* `progress`: With this you can update the progress of the progress bar, should be >=0 and <= 100
* `pgc_rimColor`: This specifies the color of ProgressBar ring
* `pgc_rimWidth`: The width of the progress ring in pixels
* `pgc_textColor`: Color of the progress text
* `pgc_showProgressText`: Whether to show the progress text or not
* `pgc_indeterminate`: This makes the progress bar indeterminate
* `pgc_progress`: With this you can update the progress of the progress bar, should be >=0 and <= 100

```xml
<com.hmomeni.progresscircula.ProgressCircula
android:id="@+id/progressBar"
android:layout_width="90dp"
android:layout_height="90dp"
app:indeterminate="true"
app:progress="40"
app:rimColor="@color/colorAccent"
app:rimWidth="3dp"
app:showProgress="true"
app:textColor="#00FF00" />
app:pgc_indeterminate="true"
app:pgc_progress="40"
app:pgc_rimColor="@color/colorAccent"
app:pgc_rimWidth="3dp"
app:pgc_showProgress="true"
app:pgc_textColor="#00FF00" />
```

0 comments on commit f1b5f52

Please sign in to comment.