diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0070eaf..72a95e1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
+## 0.0.7
+* Added api 10 compatibility
+* Fixed bug in ProgressGenerator class
+
+## 0.0.6
+Bug fixes
+
## 0.0.5
-* Fixed repository name type from `android-process-buton` to `android-process-button`
+* Fixed repository name type from `android-process-buton` to `android-process-button`
## 0.0.4
**Attributes**
@@ -14,7 +21,7 @@ Added attribute to control button corner roundness:
* `cornerRadius`
-**ProcessButton**
+**ProcessButton**
Now button state depends on progress:
diff --git a/README.md b/README.md
index 08f57d6..6d26740 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
Android Buttons With Built-in Progress Meters.
-Latest version **0.0.6**
+Latest version **0.0.7**
![](screenshots/sample1_small1.gif)
![](screenshots/sample1_small2.gif)
@@ -19,7 +19,7 @@ The lib is available on Maven Central, you can find it with [Gradle, please]
```
dependencies {
- compile 'com.github.dmytrodanylyk.android-process-button:library:0.0.6'
+ compile 'com.github.dmytrodanylyk.android-process-button:library:0.0.7'
}
```
diff --git a/gradle.properties b/gradle.properties
index 0e8ba35..b04c774 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,8 +17,8 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
-VERSION_NAME=0.0.6
-VERSION_CODE=6
+VERSION_NAME=0.0.7
+VERSION_CODE=7
GROUP=com.github.dmytrodanylyk.android-process-button
POM_DESCRIPTION=Android button which can indicate progress.
diff --git a/library/build.gradle b/library/build.gradle
index 7c3ab76..7a45e10 100644
--- a/library/build.gradle
+++ b/library/build.gradle
@@ -18,7 +18,7 @@ android {
buildToolsVersion "19.0.3"
defaultConfig {
- minSdkVersion 14
+ minSdkVersion 10
targetSdkVersion 19
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
@@ -30,4 +30,4 @@ dependencies {
}
// Used to push in maven
-apply from: '../maven_push.gradle'
\ No newline at end of file
+apply from: '../maven_push.gradle'
diff --git a/library/src/main/res/values/colors.xml b/library/src/main/res/values/colors.xml
index 242cd94..2e999e8 100644
--- a/library/src/main/res/values/colors.xml
+++ b/library/src/main/res/values/colors.xml
@@ -1,8 +1,8 @@
- @android:color/holo_blue_dark
- @android:color/holo_blue_light
- @android:color/holo_green_light
- @android:color/holo_purple
- @android:color/holo_red_light
+ #ff0099cc
+ #ff33b5e5
+ #ff99cc00
+ #ffaa66cc
+ #ffff4444
\ No newline at end of file
diff --git a/maven_push.gradle b/maven_push.gradle
index ab35ba1..3007653 100644
--- a/maven_push.gradle
+++ b/maven_push.gradle
@@ -19,7 +19,7 @@ afterEvaluate { project ->
pom.artifactId = POM_ARTIFACT_ID
repository(url: sonatypeRepositoryUrl) {
- authentication(userName: nexusUsername, password: nexusPassword)
+ //authentication(userName: nexusUsername, password: nexusPassword)
}
pom.project {
@@ -79,4 +79,4 @@ afterEvaluate { project ->
archives androidSourcesJar
archives androidJavadocsJar
}
-}
\ No newline at end of file
+}
diff --git a/sample/build.gradle b/sample/build.gradle
index 0a9d7cf..72d586d 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -17,7 +17,7 @@ android {
buildToolsVersion '19.0.3'
defaultConfig {
- minSdkVersion 14
+ minSdkVersion 10
targetSdkVersion 19
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
diff --git a/sample/src/main/java/com/dd/sample/utils/ProgressGenerator.java b/sample/src/main/java/com/dd/sample/utils/ProgressGenerator.java
index 59dc582..d48db54 100644
--- a/sample/src/main/java/com/dd/sample/utils/ProgressGenerator.java
+++ b/sample/src/main/java/com/dd/sample/utils/ProgressGenerator.java
@@ -27,7 +27,7 @@ public void start(final ProcessButton button) {
public void run() {
mProgress += 10;
button.setProgress(mProgress);
- if (mProgress <= 110) {
+ if (mProgress < 100) {
handler.postDelayed(this, generateDelay());
} else {
mListener.onComplete();
diff --git a/sample/src/main/res/layout/ac_message.xml b/sample/src/main/res/layout/ac_message.xml
index 5d60a4a..f67ecdc 100644
--- a/sample/src/main/res/layout/ac_message.xml
+++ b/sample/src/main/res/layout/ac_message.xml
@@ -17,7 +17,7 @@
diff --git a/sample/src/main/res/layout/ac_upload.xml b/sample/src/main/res/layout/ac_upload.xml
index c812bc6..760ab5c 100644
--- a/sample/src/main/res/layout/ac_upload.xml
+++ b/sample/src/main/res/layout/ac_upload.xml
@@ -18,7 +18,7 @@