From 5dbd1efcef74ceadd762180910de1c886a87af8c Mon Sep 17 00:00:00 2001
From: pppscn <35696959@qq.com>
Date: Wed, 10 Mar 2021 17:22:08 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E9=A1=B5=E9=9D=A2=E9=85=8D?=
=?UTF-8?q?=E8=89=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/src/main/res/layout/activity_main.xml | 8 ++++----
app/src/main/res/layout/activity_rule.xml | 4 ++--
app/src/main/res/layout/activity_sender.xml | 4 ++--
app/src/main/res/values/colors.xml | 17 ++++++++++++++---
4 files changed, 22 insertions(+), 11 deletions(-)
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index a4a5f175..62073f92 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -23,7 +23,7 @@
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/log_tips"
- android:textColor="@android:color/holo_blue_dark" />
+ android:textColor="@color/colorPrimary" />
@@ -51,7 +51,7 @@
android:layout_marginTop="5dp"
android:layout_marginBottom="10dp"
android:layout_weight="1"
- android:background="@android:color/holo_blue_dark"
+ android:background="@color/colorPrimary"
android:onClick="toRuleSetting"
android:text="设置转发规则"
tools:ignore="NestedWeights" />
@@ -65,7 +65,7 @@
android:layout_marginRight="10dp"
android:layout_marginBottom="10dp"
android:layout_weight="1"
- android:background="@android:color/holo_blue_dark"
+ android:background="@color/colorPrimary"
android:onClick="toSendSetting"
android:text="设置发送方" />
diff --git a/app/src/main/res/layout/activity_rule.xml b/app/src/main/res/layout/activity_rule.xml
index 4e92141d..b192ded3 100644
--- a/app/src/main/res/layout/activity_rule.xml
+++ b/app/src/main/res/layout/activity_rule.xml
@@ -22,14 +22,14 @@
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/rule_tips"
- android:textColor="@android:color/holo_blue_dark" />
+ android:textColor="@color/colorPrimary" />
diff --git a/app/src/main/res/layout/activity_sender.xml b/app/src/main/res/layout/activity_sender.xml
index 8c9d8c04..a89baa2d 100644
--- a/app/src/main/res/layout/activity_sender.xml
+++ b/app/src/main/res/layout/activity_sender.xml
@@ -22,14 +22,14 @@
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/sender_tips"
- android:textColor="@android:color/holo_blue_dark" />
+ android:textColor="@color/colorPrimary" />
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 69b22338..bedb328e 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1,6 +1,17 @@
- #008577
- #00574B
- #D81B60
+ #1C8DD4
+ #1B8DD4
+ #63C2FA
+
+ #FFF
+ #696969
+
+ #DF000000
+ #F44336
+ #8A000000
+ #EEE
+ #DDD
+ #4CAF50
+ #F44336