From 97c467af411e0644806c1678956c3cfaadd70e41 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Tue, 24 Sep 2024 20:58:33 +0800 Subject: [PATCH] Optimize layout --- .../layout/activity_server_shadowsocks.xml | 159 +----------------- .../main/res/layout/activity_server_socks.xml | 71 +------- .../res/layout/activity_server_trojan.xml | 158 +---------------- .../main/res/layout/activity_server_vless.xml | 159 +----------------- .../main/res/layout/activity_server_vmess.xml | 158 +---------------- .../res/layout/activity_server_wireguard.xml | 70 +------- .../main/res/layout/layout_address_port.xml | 75 +++++++++ .../layout/{tls_layout.xml => layout_tls.xml} | 0 .../src/main/res/layout/layout_transport.xml | 95 +++++++++++ 9 files changed, 186 insertions(+), 759 deletions(-) create mode 100644 V2rayNG/app/src/main/res/layout/layout_address_port.xml rename V2rayNG/app/src/main/res/layout/{tls_layout.xml => layout_tls.xml} (100%) create mode 100644 V2rayNG/app/src/main/res/layout/layout_transport.xml diff --git a/V2rayNG/app/src/main/res/layout/activity_server_shadowsocks.xml b/V2rayNG/app/src/main/res/layout/activity_server_shadowsocks.xml index 926a09f3..0e3193d2 100644 --- a/V2rayNG/app/src/main/res/layout/activity_server_shadowsocks.xml +++ b/V2rayNG/app/src/main/res/layout/activity_server_shadowsocks.xml @@ -11,73 +11,7 @@ android:orientation="vertical" android:padding="@dimen/layout_margin_top_height"> - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/V2rayNG/app/src/main/res/layout/activity_server_socks.xml b/V2rayNG/app/src/main/res/layout/activity_server_socks.xml index 5f34c37c..5d955322 100644 --- a/V2rayNG/app/src/main/res/layout/activity_server_socks.xml +++ b/V2rayNG/app/src/main/res/layout/activity_server_socks.xml @@ -11,73 +11,7 @@ android:orientation="vertical" android:padding="@dimen/layout_margin_top_height"> - - - - - - - - - - - - - - - - - - - - - - - - - - - + - diff --git a/V2rayNG/app/src/main/res/layout/activity_server_trojan.xml b/V2rayNG/app/src/main/res/layout/activity_server_trojan.xml index 9f4ba2e4..d5ef6278 100644 --- a/V2rayNG/app/src/main/res/layout/activity_server_trojan.xml +++ b/V2rayNG/app/src/main/res/layout/activity_server_trojan.xml @@ -11,73 +11,7 @@ android:orientation="vertical" android:padding="@dimen/layout_margin_top_height"> - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/V2rayNG/app/src/main/res/layout/activity_server_vless.xml b/V2rayNG/app/src/main/res/layout/activity_server_vless.xml index 11a1c801..2457e7b2 100644 --- a/V2rayNG/app/src/main/res/layout/activity_server_vless.xml +++ b/V2rayNG/app/src/main/res/layout/activity_server_vless.xml @@ -11,73 +11,7 @@ android:orientation="vertical" android:padding="@dimen/layout_margin_top_height"> - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/V2rayNG/app/src/main/res/layout/activity_server_vmess.xml b/V2rayNG/app/src/main/res/layout/activity_server_vmess.xml index 55e70e5a..e5ecf1c2 100644 --- a/V2rayNG/app/src/main/res/layout/activity_server_vmess.xml +++ b/V2rayNG/app/src/main/res/layout/activity_server_vmess.xml @@ -11,73 +11,7 @@ android:orientation="vertical" android:padding="@dimen/layout_margin_top_height"> - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/V2rayNG/app/src/main/res/layout/activity_server_wireguard.xml b/V2rayNG/app/src/main/res/layout/activity_server_wireguard.xml index ab94dec8..53adca6b 100644 --- a/V2rayNG/app/src/main/res/layout/activity_server_wireguard.xml +++ b/V2rayNG/app/src/main/res/layout/activity_server_wireguard.xml @@ -11,73 +11,7 @@ android:orientation="vertical" android:padding="@dimen/layout_margin_top_height"> - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/V2rayNG/app/src/main/res/layout/layout_address_port.xml b/V2rayNG/app/src/main/res/layout/layout_address_port.xml new file mode 100644 index 00000000..66c46609 --- /dev/null +++ b/V2rayNG/app/src/main/res/layout/layout_address_port.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/V2rayNG/app/src/main/res/layout/tls_layout.xml b/V2rayNG/app/src/main/res/layout/layout_tls.xml similarity index 100% rename from V2rayNG/app/src/main/res/layout/tls_layout.xml rename to V2rayNG/app/src/main/res/layout/layout_tls.xml diff --git a/V2rayNG/app/src/main/res/layout/layout_transport.xml b/V2rayNG/app/src/main/res/layout/layout_transport.xml new file mode 100644 index 00000000..103a36d3 --- /dev/null +++ b/V2rayNG/app/src/main/res/layout/layout_transport.xml @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file