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 a5b7ebd..7349f6c 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 ecca427..9bee3c4 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="@mipmap/ic_warn" android:tint="@color/white" /> + android:src="@mipmap/bg_qr_pay" />