From b799969de8105ce290f536e82606d919d574a524 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:45:50 +0800 Subject: [PATCH] Adjust UI --- .../src/main/res/drawable/ic_qu_scan_24dp.xml | 5 +- .../main/res/drawable/ic_qu_switch_24dp.xml | 3 + .../app/src/main/res/layout/widget_switch.xml | 6 +- V2rayNG/app/src/main/res/values/colors.xml | 1 + .../app/src/main/res/xml/pref_settings.xml | 153 +++++++++--------- 5 files changed, 92 insertions(+), 76 deletions(-) diff --git a/V2rayNG/app/src/main/res/drawable/ic_qu_scan_24dp.xml b/V2rayNG/app/src/main/res/drawable/ic_qu_scan_24dp.xml index f7cc6c32..2435e3b8 100644 --- a/V2rayNG/app/src/main/res/drawable/ic_qu_scan_24dp.xml +++ b/V2rayNG/app/src/main/res/drawable/ic_qu_scan_24dp.xml @@ -3,8 +3,11 @@ android:height="24dp" android:viewportWidth="1024" android:viewportHeight="1024"> + + android:pathData="M780.16 875.52H652.8c-17.92 0-32-14.08-32-32s14.08-32 32-32h127.36c16 0 29.44-13.44 29.44-29.44v-127.36c0-17.92 14.08-32 32-32s32 14.08 32 32v127.36c-0.64 51.2-42.24 93.44-93.44 93.44zM192.64 415.36c-17.92 0-32-14.08-32-32V256c0-51.2 41.6-93.44 93.44-93.44h127.36c17.92 0 32 14.08 32 32s-14.08 32-32 32h-128c-16 0-29.44 13.44-29.44 29.44v127.36c0.64 17.92-14.08 32-31.36 32zM840.96 415.36c-17.92 0-32-14.08-32-32V256c0-16-13.44-29.44-29.44-29.44h-127.36c-17.92 0-32-14.08-32-32s14.08-32 32-32h127.36c51.2 0 93.44 41.6 93.44 93.44v127.36c0 17.92-14.08 32-32 32zM381.44 875.52h-128c-51.2 0-93.44-41.6-93.44-93.44v-127.36c0-17.92 14.08-32 32-32s32 14.08 32 32v127.36c0 16 13.44 29.44 29.44 29.44h127.36c17.92 0 32 14.08 32 32s-14.08 32-31.36 32zM759.04 553.6H274.56c-17.92 0-32-14.08-32-32s14.08-32 32-32h484.48c17.92 0 32 14.08 32 32s-14.72 32-32 32z" /> \ No newline at end of file diff --git a/V2rayNG/app/src/main/res/drawable/ic_qu_switch_24dp.xml b/V2rayNG/app/src/main/res/drawable/ic_qu_switch_24dp.xml index e05b5401..0021d339 100644 --- a/V2rayNG/app/src/main/res/drawable/ic_qu_switch_24dp.xml +++ b/V2rayNG/app/src/main/res/drawable/ic_qu_switch_24dp.xml @@ -3,6 +3,9 @@ android:height="24dp" android:viewportHeight="1024" android:viewportWidth="1024"> + @@ -26,6 +26,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/app_name" - android:textColor="@color/colorText" + android:textColor="@color/colorWidgetText" android:textSize="10sp" /> diff --git a/V2rayNG/app/src/main/res/values/colors.xml b/V2rayNG/app/src/main/res/values/colors.xml index 8835e864..e0b314f3 100644 --- a/V2rayNG/app/src/main/res/values/colors.xml +++ b/V2rayNG/app/src/main/res/values/colors.xml @@ -3,6 +3,7 @@ #009966 #FF0099 #f97910 + #FFFFFF #f97910 #9C9C9C diff --git a/V2rayNG/app/src/main/res/xml/pref_settings.xml b/V2rayNG/app/src/main/res/xml/pref_settings.xml index 36c7b5da..b1a7f5be 100644 --- a/V2rayNG/app/src/main/res/xml/pref_settings.xml +++ b/V2rayNG/app/src/main/res/xml/pref_settings.xml @@ -1,5 +1,6 @@ - + - - - + - - - - - - - - - - - - - - - - - - - - - - - @@ -155,7 +93,78 @@ android:title="@string/title_pref_ui_mode_night" /> - + + + + + + + + + + + + + + + + + + + + + + + + + +