From 41bfd4207848288fffd49ebda987c47e1a6f1193 Mon Sep 17 00:00:00 2001 From: jyuesong Date: Wed, 24 May 2017 14:58:24 +0800 Subject: [PATCH] update progress button --- pbutton/build.gradle | 4 ++-- .../main/java/com/jiang/android/pbutton/CProgressButton.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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); } }