From abff80ec23e2b377ddcbe6e911296bb38681bc5a Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Mon, 13 Jan 2025 12:51:26 +0800
Subject: [PATCH] Adjust UI
---
V2rayNG/app/src/main/res/layout/activity_bypass_list.xml | 1 +
V2rayNG/app/src/main/res/layout/activity_main.xml | 1 +
V2rayNG/app/src/main/res/menu/action_server.xml | 4 ++--
V2rayNG/app/src/main/res/menu/action_sub_setting.xml | 4 ++--
V2rayNG/app/src/main/res/menu/menu_asset.xml | 2 +-
V2rayNG/app/src/main/res/menu/menu_bypass_list.xml | 2 +-
V2rayNG/app/src/main/res/menu/menu_main.xml | 2 +-
V2rayNG/app/src/main/res/menu/menu_scanner.xml | 4 ++--
8 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/V2rayNG/app/src/main/res/layout/activity_bypass_list.xml b/V2rayNG/app/src/main/res/layout/activity_bypass_list.xml
index 2bb05e857..2665430a3 100644
--- a/V2rayNG/app/src/main/res/layout/activity_bypass_list.xml
+++ b/V2rayNG/app/src/main/res/layout/activity_bypass_list.xml
@@ -77,6 +77,7 @@
+ app:showAsAction="ifRoom" />
+ app:showAsAction="ifRoom" />
\ No newline at end of file
diff --git a/V2rayNG/app/src/main/res/menu/action_sub_setting.xml b/V2rayNG/app/src/main/res/menu/action_sub_setting.xml
index 3179cb1a5..fa77aa07e 100644
--- a/V2rayNG/app/src/main/res/menu/action_sub_setting.xml
+++ b/V2rayNG/app/src/main/res/menu/action_sub_setting.xml
@@ -5,10 +5,10 @@
android:id="@+id/add_config"
android:icon="@drawable/ic_add_24dp"
android:title="@string/menu_item_add_config"
- app:showAsAction="always" />
+ app:showAsAction="ifRoom" />
+ app:showAsAction="ifRoom" />
\ No newline at end of file
diff --git a/V2rayNG/app/src/main/res/menu/menu_asset.xml b/V2rayNG/app/src/main/res/menu/menu_asset.xml
index bec6fe3b0..fc351ece4 100644
--- a/V2rayNG/app/src/main/res/menu/menu_asset.xml
+++ b/V2rayNG/app/src/main/res/menu/menu_asset.xml
@@ -24,5 +24,5 @@
android:id="@+id/download_file"
android:icon="@drawable/ic_cloud_download_24dp"
android:title="@string/menu_item_download_file"
- app:showAsAction="always" />
+ app:showAsAction="ifRoom" />
\ No newline at end of file
diff --git a/V2rayNG/app/src/main/res/menu/menu_bypass_list.xml b/V2rayNG/app/src/main/res/menu/menu_bypass_list.xml
index 63fed36e2..8d9502089 100644
--- a/V2rayNG/app/src/main/res/menu/menu_bypass_list.xml
+++ b/V2rayNG/app/src/main/res/menu/menu_bypass_list.xml
@@ -6,7 +6,7 @@
android:icon="@drawable/ic_description_24dp"
android:title="@string/menu_item_search"
app:actionViewClass="androidx.appcompat.widget.SearchView"
- app:showAsAction="always" />
+ app:showAsAction="ifRoom" />
-
+ app:showAsAction="ifRoom">
\ No newline at end of file