From 3dcaa3c18cc68bae3e8c2457fc28b247fbd771f0 Mon Sep 17 00:00:00 2001 From: TherCN Date: Sun, 5 Nov 2023 13:32:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=B9=85=E5=BA=A6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 +-- app/src/main/AndroidManifest.xml | 1 + app/src/main/java/thercn/wmw/FileUtils.java | 35 +++++++++++++++++++ .../java/thercn/wmw/GlobalApplication.java | 23 ++++++++++++ .../main/java/thercn/wmw/MainActivity.java | 6 ++-- app/src/main/res/values/colors.xml | 13 +++---- app/src/main/res/values/styles.xml | 6 +++- 7 files changed, 76 insertions(+), 12 deletions(-) create mode 100644 app/src/main/java/thercn/wmw/FileUtils.java diff --git a/app/build.gradle b/app/build.gradle index 15c4e53..df4e97f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -36,8 +36,8 @@ android { buildTypes { release { - signingConfig signingConfigs.release - minifyEnabled false + signingConfig signingConfigs.release + minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } debug { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 6131458..2ca9c79 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -38,6 +38,7 @@ android:label="@string/app_name" android:name="GlobalApplication" android:resizeableActivity="false" + android:theme="@style/MainTheme" android:roundIcon="@drawable/icon"> - - #009688 - #00796B - #FF9800 - \ No newline at end of file + + + #3F51B5 + #303F9F + #FF4081 + #ffffff + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 151d7f7..820d370 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,4 +1,8 @@ -