diff --git a/README.md b/README.md index 1a9608d..9f3eb96 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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" diff --git a/build.gradle b/build.gradle index aaa64b5..176248b 100644 --- a/build.gradle +++ b/build.gradle @@ -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' @@ -46,7 +46,7 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 26 - versionCode 8 + versionCode 9 versionName libraryVersion } diff --git a/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java b/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java index 5348f22..201b0b1 100644 --- a/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java +++ b/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java @@ -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;