Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Budiyev committed Nov 30, 2017
1 parent 154ad71 commit b6744d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Circular progress bar
Add dependency:
```gradle
dependencies {
implementation 'com.budiyev.android:circular-progress-bar:1.0.7'
implementation 'com.budiyev.android:circular-progress-bar:1.0.8'
}
```
Define a view in your layout file:
Expand All @@ -30,9 +30,9 @@ Define a view in your layout file:
app:foregroundStrokeColor="#ffff4081"
app:foregroundStrokeWidth="3dp"
app:indeterminate="false"
app:indeterminateRotationAnimationDuration="2000"
app:indeterminateRotationAnimationDuration="1200"
app:indeterminateMinimumAngle="45"
app:indeterminateArcAnimationDuration="1000"
app:indeterminateArcAnimationDuration="600"
app:maximum="100"
app:progress="50"
app:progressAnimationDuration="100"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apply plugin: 'com.jfrog.bintray'
ext {
libraryName = 'CircularProgressBar'
libraryDescription = 'Circular progress bar'
libraryVersion = '1.0.7'
libraryVersion = '1.0.8'
artifact = 'circular-progress-bar'
developerId = 'yuriy-budiyev'
developerName = 'Yuriy Budiyev'
Expand All @@ -46,7 +46,7 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 8
versionCode 9
versionName libraryVersion
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public class CircularProgressBar extends View {
private static final int DEFAULT_FOREGROUND_STROKE_COLOR = Color.BLUE;
private static final int DEFAULT_BACKGROUND_STROKE_COLOR = Color.BLACK;
private static final int DEFAULT_PROGRESS_ANIMATION_DURATION = 100;
private static final int DEFAULT_INDETERMINATE_ROTATION_ANIMATION_DURATION = 2000;
private static final int DEFAULT_INDETERMINATE_ARC_ANIMATION_DURATION = 1000;
private static final int DEFAULT_INDETERMINATE_ROTATION_ANIMATION_DURATION = 1200;
private static final int DEFAULT_INDETERMINATE_ARC_ANIMATION_DURATION = 600;
private static final boolean DEFAULT_ANIMATE_PROGRESS = true;
private static final boolean DEFAULT_DRAW_BACKGROUND_STROKE = true;
private static final boolean DEFAULT_INDETERMINATE = false;
Expand Down

0 comments on commit b6744d1

Please sign in to comment.