Skip to content

Commit

Permalink
release version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Aug 22, 2019
1 parent 6b0f4ae commit 536a47c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
</p>

<p align="center">
🌊 A polished and flexible progress bar, fully customizable with and animations.
🌊 A polished and flexible ProgressView, fully customizable with and animations.
</p>

<p align="center">
<img src="https://user-images.githubusercontent.com/24237865/63502889-6916f300-c509-11e9-893a-d634f1c6a850.gif" width="32%"/>
<img src="https://user-images.githubusercontent.com/24237865/63537603-182aed00-c551-11e9-95ea-08e25517f046.gif" width="32%"/>
</p>

## Including in your project
Expand All @@ -30,7 +31,7 @@ allprojects {
And add a dependency code to your **module**'s `build.gradle` file.
```gradle
dependencies {
implementation "com.github.skydoves:progressview:1.0.0"
implementation "com.github.skydoves:progressview:1.0.1"
}
```

Expand All @@ -57,10 +58,6 @@ Here is a basic example of implementing progressView on your `.xml` layout .
app:progressView_labelSpace="10dp" // the space size of the between label and progress bar.
app:progressView_labelText="achieve 65%" // the text of the label.
app:progressView_labelTypeface="bold" // the typeface of the label.
app:progressView_highlighting="true" // gives the highlighting effect or not.
app:progressView_highlightAlpha="0.8" // the alpha of the highlight.
app:progressView_highlightColor="@color/skyBlue" // the color of the highlight.
app:progressView_highlightWidth="1dp" // the thickness of the highlight.
/>
```

Expand All @@ -76,7 +73,7 @@ app:progressView_colorGradientEnd="@color/md_yellow_200" // ending color of the
We can implement the filling animation using below attributes or method.

```gradle
app:progressView_autoAnimate="true" // starts filling animation automatically when finishing inflate.
app:progressView_autoAnimate="true" // starts filling animation automatically when progress is changed.
```

or we can animate manually using below method.
Expand All @@ -85,6 +82,17 @@ or we can animate manually using below method.
progressView.progressAnimate()
```

### Hilighting Effect
We can give a highlighting effect on the progress bar when clicked.

```gradle
app:progressView_highlighting="true" // gives the highlighting effect or not.
app:progressView_highlightAlpha="0.8" // the alpha of the highlight.
app:progressView_highlightColor="@color/skyBlue" // the color of the highlight.
app:progressView_highlightWidth="1.5dp" // the thickness of the highlight.
app:progressView_padding="1.5dp" // the padding of the progress bar.
```

### OnProgressChangeListener, OnProgressClickListener
We can listen to the progress value is changed or the progressbar is clicked.

Expand Down
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ext.versions = [
minSdk : 16,
compileSdk : 29,
versionCode : 1,
versionName : '1.0.0',
versionCode : 2,
versionName : '1.0.1',

gradleBuildTool : '3.4.2',
spotlessGradle : '3.23.1',
Expand Down

0 comments on commit 536a47c

Please sign in to comment.