From 9c2f01d215fa2c78bbb82dfd237f063745371477 Mon Sep 17 00:00:00 2001 From: Fanhuitong <981964879@qq.com> Date: Tue, 9 Jan 2024 09:26:45 +0800 Subject: [PATCH] =?UTF-8?q?version:1.7.2=20fix:=20update:=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 +- .../com/uiui/zyos/activity/ExitActivity.java | 3 +- .../main/res/layout-land/activity_exit.xml | 236 ++++++++++++++++++ .../main/res/layout-land/fragment_chinese.xml | 8 +- .../main/res/layout-land/fragment_complex.xml | 6 +- .../main/res/layout-land/fragment_math.xml | 7 +- .../main/res/layout-land/fragment_user.xml | 3 +- .../main/res/layout-sw800dp/activity_exit.xml | 236 ++++++++++++++++++ .../res/layout-sw800dp/fragment_chinese.xml | 137 ++-------- .../res/layout-sw800dp/fragment_complex.xml | 130 ++-------- .../main/res/layout-sw800dp/fragment_math.xml | 136 ++-------- .../main/res/layout-sw800dp/fragment_user.xml | 7 +- app/src/main/res/layout/activity_exit.xml | 3 +- app/src/main/res/layout/activity_notice.xml | 1 - app/src/main/res/layout/activity_passwd.xml | 1 + 15 files changed, 564 insertions(+), 354 deletions(-) create mode 100644 app/src/main/res/layout-land/activity_exit.xml create mode 100644 app/src/main/res/layout-sw800dp/activity_exit.xml diff --git a/app/build.gradle b/app/build.gradle index 8f062fc..5f253ba 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,8 +16,8 @@ android { minSdkVersion 24 targetSdkVersion 29 - versionCode 63 - versionName "1.7.1" + versionCode 64 + versionName "1.7.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/com/uiui/zyos/activity/ExitActivity.java b/app/src/main/java/com/uiui/zyos/activity/ExitActivity.java index ea20116..5f7c1d7 100644 --- a/app/src/main/java/com/uiui/zyos/activity/ExitActivity.java +++ b/app/src/main/java/com/uiui/zyos/activity/ExitActivity.java @@ -26,7 +26,6 @@ import butterknife.BindView; import butterknife.ButterKnife; public class ExitActivity extends BaseActivity { - private static final String TAG = ExitActivity.class.getSimpleName(); @BindView(R.id.bt_0) @@ -174,7 +173,7 @@ public class ExitActivity extends BaseActivity { @Override protected void onDestroy() { super.onDestroy(); - if (soundPool!=null) { + if (soundPool != null) { soundPool.release(); soundPool = null; } diff --git a/app/src/main/res/layout-land/activity_exit.xml b/app/src/main/res/layout-land/activity_exit.xml new file mode 100644 index 0000000..41756d9 --- /dev/null +++ b/app/src/main/res/layout-land/activity_exit.xml @@ -0,0 +1,236 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout-land/fragment_chinese.xml b/app/src/main/res/layout-land/fragment_chinese.xml index 38e3800..bbcc69e 100644 --- a/app/src/main/res/layout-land/fragment_chinese.xml +++ b/app/src/main/res/layout-land/fragment_chinese.xml @@ -16,8 +16,8 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintVertical_bias="0.35" - app:layout_constraintTop_toTopOf="parent"> + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.35"> + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.35"> + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.35"> + app:layout_constraintTop_toTopOf="parent"> @@ -343,7 +344,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dp_16" - android:text="激活系统后,绑定设备" + android:text="设备绑定流程" android:textColor="@color/white" android:textSize="@dimen/sp_10" app:layout_constraintEnd_toEndOf="parent" diff --git a/app/src/main/res/layout-sw800dp/activity_exit.xml b/app/src/main/res/layout-sw800dp/activity_exit.xml new file mode 100644 index 0000000..41756d9 --- /dev/null +++ b/app/src/main/res/layout-sw800dp/activity_exit.xml @@ -0,0 +1,236 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout-sw800dp/fragment_chinese.xml b/app/src/main/res/layout-sw800dp/fragment_chinese.xml index 76bc85d..56e0f7a 100644 --- a/app/src/main/res/layout-sw800dp/fragment_chinese.xml +++ b/app/src/main/res/layout-sw800dp/fragment_chinese.xml @@ -16,8 +16,8 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintVertical_bias="0.35" - app:layout_constraintTop_toTopOf="parent"> + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.35"> - @@ -189,8 +179,8 @@ - @@ -227,8 +207,8 @@ - @@ -275,8 +245,8 @@ - - @@ -315,8 +274,8 @@ - @@ -354,8 +303,8 @@ - @@ -401,8 +340,8 @@ - - @@ -441,8 +369,8 @@ - @@ -477,11 +395,10 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> - - diff --git a/app/src/main/res/layout-sw800dp/fragment_complex.xml b/app/src/main/res/layout-sw800dp/fragment_complex.xml index efb64ed..9f2b695 100644 --- a/app/src/main/res/layout-sw800dp/fragment_complex.xml +++ b/app/src/main/res/layout-sw800dp/fragment_complex.xml @@ -15,9 +15,9 @@ android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintVertical_bias="0.35" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent"> + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.35"> - - + app:layout_constraintTop_toTopOf="parent" /> @@ -140,23 +130,14 @@ - @@ -206,23 +187,13 @@ - - + app:layout_constraintTop_toTopOf="parent" /> @@ -241,23 +212,14 @@ - @@ -316,23 +278,13 @@ - - + app:layout_constraintTop_toTopOf="parent" /> @@ -351,23 +303,14 @@ - @@ -419,23 +362,13 @@ - - + app:layout_constraintTop_toTopOf="parent" /> @@ -454,23 +387,14 @@ - diff --git a/app/src/main/res/layout-sw800dp/fragment_math.xml b/app/src/main/res/layout-sw800dp/fragment_math.xml index 1666004..f6b3f2c 100644 --- a/app/src/main/res/layout-sw800dp/fragment_math.xml +++ b/app/src/main/res/layout-sw800dp/fragment_math.xml @@ -13,11 +13,11 @@ + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.35"> + app:layout_constraintTop_toTopOf="parent"> - @@ -164,8 +153,8 @@ - @@ -202,8 +181,8 @@ - @@ -250,8 +219,8 @@ - - @@ -290,8 +248,8 @@ - @@ -329,8 +277,8 @@ - @@ -376,8 +314,8 @@ - - @@ -416,8 +343,8 @@ - @@ -452,11 +369,10 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> - - diff --git a/app/src/main/res/layout-sw800dp/fragment_user.xml b/app/src/main/res/layout-sw800dp/fragment_user.xml index e7888b8..3c58450 100644 --- a/app/src/main/res/layout-sw800dp/fragment_user.xml +++ b/app/src/main/res/layout-sw800dp/fragment_user.xml @@ -171,6 +171,7 @@ android:text="小程序绑定" android:textColor="@color/white" android:textSize="@dimen/sp_5" + android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -305,7 +306,7 @@ android:id="@+id/cl_activation" android:layout_width="match_parent" android:layout_height="match_parent" - android:visibility="gone"> + android:visibility="visible"> + android:visibility="gone"> + android:background="@drawable/control_background" + tools:context=".activity.ExitActivity"> -