diff --git a/gradle.properties b/gradle.properties index d9ebe96ef..059254c42 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,8 +22,8 @@ android.useAndroidX=true android.enableJetifier=true GROUP=com.qmuiteam -QMUI_VERSION=2.0.0-alpha03 -QMUI_ARCH_VERSION=2.0.0-alpha03 +QMUI_VERSION=2.0.0-alpha04 +QMUI_ARCH_VERSION=2.0.0-alpha04 QMUI_LINT_VERSION = 1.1.0 QMUI_SKIN_MAKER_VERSION = 0.0.1 POM_GIT_URL=https://github.com/Tencent/QMUI_Android/ diff --git a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java index 85f465f62..ab52cf1d8 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java @@ -44,7 +44,9 @@ public class QDUpgradeManager { public static final int VERSION_1_4_0 = 140; public static final int VERSION_2_0_0_alpha1 = -2001; public static final int VERSION_2_0_0_alpha2 = -2002; - private static final int sCurrentVersion = VERSION_2_0_0_alpha2; + public static final int VERSION_2_0_0_alpha3 = -2003; + public static final int VERSION_2_0_0_alpha4 = -2004; + private static final int sCurrentVersion = VERSION_2_0_0_alpha4; private static QDUpgradeManager sQDUpgradeManager = null; private UpgradeTipTask mUpgradeTipTask; diff --git a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java index 52ed61fcb..f23f74113 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java @@ -68,7 +68,12 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) { public CharSequence getUpgradeWord(final Activity activity) { SpannableStringBuilder text = new SpannableStringBuilder(); - if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha2){ + if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha4){ + text.append("1. Features: Add new widget: QMUIPullLayout.\n"); + text.append("2. Features: Add new widget: QMUIRVItemSwipeAction.\n"); + text.append("3. Support muti instance for QMUISkinManager.\n"); + text.append("4. some bug fixes."); + }else if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha2){ text.append("1. Bugfix: Crash Happened on Android 7 and lower.\n"); text.append("2. Bugfix: QMUIBottomSheet overlapped the navigation bar."); }else if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha1){