diff --git a/pbutton/build.gradle b/pbutton/build.gradle index 46bcf2f..13ddba3 100644 --- a/pbutton/build.gradle +++ b/pbutton/build.gradle @@ -8,8 +8,8 @@ android { defaultConfig { minSdkVersion 15 targetSdkVersion 25 - versionCode 6 - versionName "1.2.3" + versionCode 8 + versionName "1.2.4" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/pbutton/src/main/java/com/jiang/android/pbutton/CProgressButton.java b/pbutton/src/main/java/com/jiang/android/pbutton/CProgressButton.java index b00431b..e865a59 100644 --- a/pbutton/src/main/java/com/jiang/android/pbutton/CProgressButton.java +++ b/pbutton/src/main/java/com/jiang/android/pbutton/CProgressButton.java @@ -126,6 +126,7 @@ private void setState(STATE state, boolean anim) { } else if (mState == STATE.NORMAL) { setText(resultString); } + setBound(0); } }