微调页面配色

This commit is contained in:
pppscn 2021-03-10 17:22:08 +08:00
parent 2e5828aee3
commit 5dbd1efcef
4 changed files with 22 additions and 11 deletions

View File

@ -23,7 +23,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:text="@string/log_tips" android:text="@string/log_tips"
android:textColor="@android:color/holo_blue_dark" /> android:textColor="@color/colorPrimary" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
@ -38,7 +38,7 @@
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@android:color/holo_blue_dark" android:background="@color/colorPrimary"
android:onClick="cleanLog" android:onClick="cleanLog"
android:text="清空记录" android:text="清空记录"
tools:ignore="NestedWeights" /> tools:ignore="NestedWeights" />
@ -51,7 +51,7 @@
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@android:color/holo_blue_dark" android:background="@color/colorPrimary"
android:onClick="toRuleSetting" android:onClick="toRuleSetting"
android:text="设置转发规则" android:text="设置转发规则"
tools:ignore="NestedWeights" /> tools:ignore="NestedWeights" />
@ -65,7 +65,7 @@
android:layout_marginRight="10dp" android:layout_marginRight="10dp"
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@android:color/holo_blue_dark" android:background="@color/colorPrimary"
android:onClick="toSendSetting" android:onClick="toSendSetting"
android:text="设置发送方" /> android:text="设置发送方" />
</LinearLayout> </LinearLayout>

View File

@ -22,14 +22,14 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:text="@string/rule_tips" android:text="@string/rule_tips"
android:textColor="@android:color/holo_blue_dark" /> android:textColor="@color/colorPrimary" />
<Button <Button
android:id="@+id/btaddrule" android:id="@+id/btaddrule"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="35dp" android:layout_height="35dp"
android:layout_margin="10dp" android:layout_margin="10dp"
android:background="@android:color/holo_blue_dark" android:background="@color/colorPrimary"
android:onClick="addRule" android:onClick="addRule"
android:padding="0dp" android:padding="0dp"
android:text="添加转发规则" /> android:text="添加转发规则" />

View File

@ -22,14 +22,14 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:text="@string/sender_tips" android:text="@string/sender_tips"
android:textColor="@android:color/holo_blue_dark" /> android:textColor="@color/colorPrimary" />
<Button <Button
android:id="@+id/button22" android:id="@+id/button22"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="35dp" android:layout_height="35dp"
android:layout_margin="10dp" android:layout_margin="10dp"
android:background="@android:color/holo_blue_dark" android:background="@color/colorPrimary"
android:onClick="addSender" android:onClick="addSender"
android:padding="0dp" android:padding="0dp"
android:text="添加发送方" /> android:text="添加发送方" />

View File

@ -1,6 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="colorPrimary">#008577</color> <color name="colorPrimary">#1C8DD4</color>
<color name="colorPrimaryDark">#00574B</color> <color name="colorPrimaryDark">#1B8DD4</color>
<color name="colorAccent">#D81B60</color> <color name="colorAccent">#63C2FA</color>
<color name="white">#FFF</color>
<color name="blank">#696969</color>
<color name="textColor">#DF000000</color>
<color name="textColorRequire">#F44336</color>
<color name="textHintColor">#8A000000</color>
<color name="grey">#EEE</color>
<color name="greyDark">#DDD</color>
<color name="success">#4CAF50</color>
<color name="error">#F44336</color>
</resources> </resources>