From 8b9ecc1d878c1741ccf52d3608f62d2c75524e97 Mon Sep 17 00:00:00 2001 From: Fankesyooni Date: Wed, 16 Feb 2022 03:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E8=8C=83=E8=B5=84=E6=BA=90=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fankes/miui/notify/ui/MainActivity.kt | 4 +-- .../{dark_round.xml => bg_dark_round.xml} | 0 ...otion_round.xml => bg_permotion_round.xml} | 0 .../{button_round.xml => bg_button_round.xml} | 0 .../{dark_round.xml => bg_dark_round.xml} | 0 .../{green_round.xml => bg_green_round.xml} | 0 ...otion_round.xml => bg_permotion_round.xml} | 0 app/src/main/res/layout/activity_config.xml | 10 +++--- app/src/main/res/layout/activity_main.xml | 34 +++++++++--------- app/src/main/res/layout/adapter_config.xml | 4 +-- .../{qr_pay.png => bg_qr_pay.png} | Bin .../mipmap-xxhdpi/{about.png => ic_about.png} | Bin .../mipmap-xxhdpi/{back.png => ic_back.png} | Bin app/src/main/res/mipmap-xxhdpi/ic_filter.png | Bin 0 -> 3330 bytes ...icon_launcher.png => ic_launcher_icon.png} | Bin .../{restart.png => ic_restart.png} | Bin .../{succcess.png => ic_success.png} | Bin .../mipmap-xxhdpi/{warn.png => ic_warn.png} | Bin 18 files changed, 26 insertions(+), 26 deletions(-) rename app/src/main/res/drawable-night/{dark_round.xml => bg_dark_round.xml} (100%) rename app/src/main/res/drawable-night/{permotion_round.xml => bg_permotion_round.xml} (100%) rename app/src/main/res/drawable/{button_round.xml => bg_button_round.xml} (100%) rename app/src/main/res/drawable/{dark_round.xml => bg_dark_round.xml} (100%) rename app/src/main/res/drawable/{green_round.xml => bg_green_round.xml} (100%) rename app/src/main/res/drawable/{permotion_round.xml => bg_permotion_round.xml} (100%) rename app/src/main/res/mipmap-xxhdpi/{qr_pay.png => bg_qr_pay.png} (100%) rename app/src/main/res/mipmap-xxhdpi/{about.png => ic_about.png} (100%) rename app/src/main/res/mipmap-xxhdpi/{back.png => ic_back.png} (100%) create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_filter.png rename app/src/main/res/mipmap-xxhdpi/{icon_launcher.png => ic_launcher_icon.png} (100%) rename app/src/main/res/mipmap-xxhdpi/{restart.png => ic_restart.png} (100%) rename app/src/main/res/mipmap-xxhdpi/{succcess.png => ic_success.png} (100%) rename app/src/main/res/mipmap-xxhdpi/{warn.png => ic_warn.png} (100%) diff --git a/app/src/main/java/com/fankes/miui/notify/ui/MainActivity.kt b/app/src/main/java/com/fankes/miui/notify/ui/MainActivity.kt index a5b7ebd3..7349f6cc 100644 --- a/app/src/main/java/com/fankes/miui/notify/ui/MainActivity.kt +++ b/app/src/main/java/com/fankes/miui/notify/ui/MainActivity.kt @@ -94,8 +94,8 @@ class MainActivity : BaseActivity() { } /** 判断是否 Hook */ isHooked() -> { - findViewById(R.id.main_lin_status).setBackgroundResource(R.drawable.green_round) - findViewById(R.id.main_img_status).setImageResource(R.mipmap.succcess) + findViewById(R.id.main_lin_status).setBackgroundResource(R.drawable.bg_green_round) + findViewById(R.id.main_img_status).setImageResource(R.mipmap.ic_success) findViewById(R.id.main_text_status).text = "模块已激活" } else -> diff --git a/app/src/main/res/drawable-night/dark_round.xml b/app/src/main/res/drawable-night/bg_dark_round.xml similarity index 100% rename from app/src/main/res/drawable-night/dark_round.xml rename to app/src/main/res/drawable-night/bg_dark_round.xml diff --git a/app/src/main/res/drawable-night/permotion_round.xml b/app/src/main/res/drawable-night/bg_permotion_round.xml similarity index 100% rename from app/src/main/res/drawable-night/permotion_round.xml rename to app/src/main/res/drawable-night/bg_permotion_round.xml diff --git a/app/src/main/res/drawable/button_round.xml b/app/src/main/res/drawable/bg_button_round.xml similarity index 100% rename from app/src/main/res/drawable/button_round.xml rename to app/src/main/res/drawable/bg_button_round.xml diff --git a/app/src/main/res/drawable/dark_round.xml b/app/src/main/res/drawable/bg_dark_round.xml similarity index 100% rename from app/src/main/res/drawable/dark_round.xml rename to app/src/main/res/drawable/bg_dark_round.xml diff --git a/app/src/main/res/drawable/green_round.xml b/app/src/main/res/drawable/bg_green_round.xml similarity index 100% rename from app/src/main/res/drawable/green_round.xml rename to app/src/main/res/drawable/bg_green_round.xml diff --git a/app/src/main/res/drawable/permotion_round.xml b/app/src/main/res/drawable/bg_permotion_round.xml similarity index 100% rename from app/src/main/res/drawable/permotion_round.xml rename to app/src/main/res/drawable/bg_permotion_round.xml diff --git a/app/src/main/res/layout/activity_config.xml b/app/src/main/res/layout/activity_config.xml index ecca4277..9bee3c4e 100644 --- a/app/src/main/res/layout/activity_config.xml +++ b/app/src/main/res/layout/activity_config.xml @@ -25,7 +25,7 @@ android:layout_height="20dp" android:layout_marginStart="10dp" android:layout_marginEnd="25dp" - android:src="@mipmap/back" + android:src="@mipmap/ic_back" android:tint="@color/colorTextGray" android:tooltipText="返回" /> @@ -62,7 +62,7 @@ android:layout_width="22dp" android:layout_height="22dp" android:layout_marginEnd="10dp" - android:src="@mipmap/icon_filter" + android:src="@mipmap/ic_filter" android:tint="@color/colorTextGray" android:tooltipText="按条件过滤" /> @@ -73,7 +73,7 @@ android:layout_marginLeft="15dp" android:layout_marginTop="10dp" android:layout_marginRight="15dp" - android:background="@drawable/permotion_round" + android:background="@drawable/bg_permotion_round" android:elevation="0dp" android:gravity="center" android:orientation="horizontal" @@ -84,7 +84,7 @@ android:layout_height="15dp" android:layout_marginEnd="10dp" android:alpha="0.85" - android:src="@mipmap/about" + android:src="@mipmap/ic_about" android:tint="@color/colorTextDark" /> @@ -49,7 +49,7 @@ android:layout_marginTop="10dp" android:layout_marginRight="15dp" android:layout_marginBottom="5dp" - android:background="@drawable/dark_round" + android:background="@drawable/bg_dark_round" android:elevation="0dp" android:gravity="center"> @@ -59,7 +59,7 @@ android:layout_height="25dp" android:layout_marginStart="25dp" android:layout_marginEnd="5dp" - android:src="@mipmap/warn" + android:src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_icon.png similarity index 100% rename from app/src/main/res/mipmap-xxhdpi/icon_launcher.png rename to app/src/main/res/mipmap-xxhdpi/ic_launcher_icon.png diff --git a/app/src/main/res/mipmap-xxhdpi/restart.png b/app/src/main/res/mipmap-xxhdpi/ic_restart.png similarity index 100% rename from app/src/main/res/mipmap-xxhdpi/restart.png rename to app/src/main/res/mipmap-xxhdpi/ic_restart.png diff --git a/app/src/main/res/mipmap-xxhdpi/succcess.png b/app/src/main/res/mipmap-xxhdpi/ic_success.png similarity index 100% rename from app/src/main/res/mipmap-xxhdpi/succcess.png rename to app/src/main/res/mipmap-xxhdpi/ic_success.png diff --git a/app/src/main/res/mipmap-xxhdpi/warn.png b/app/src/main/res/mipmap-xxhdpi/ic_warn.png similarity index 100% rename from app/src/main/res/mipmap-xxhdpi/warn.png rename to app/src/main/res/mipmap-xxhdpi/ic_warn.png