Skip to content

Commit

Permalink
Adjust UI
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Jan 13, 2025
1 parent a4edf86 commit abff80e
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions V2rayNG/app/src/main/res/layout/activity_bypass_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
android:scrollbars="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
Expand Down
1 change: 1 addition & 0 deletions V2rayNG/app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
android:scrollbars="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
Expand Down
4 changes: 2 additions & 2 deletions V2rayNG/app/src/main/res/menu/action_server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
android:id="@+id/del_config"
android:icon="@drawable/ic_delete_24dp"
android:title="@string/menu_item_del_config"
app:showAsAction="always" />
app:showAsAction="ifRoom" />
<item
android:id="@+id/save_config"
android:icon="@drawable/ic_action_done"
android:title="@string/menu_item_save_config"
app:showAsAction="always" />
app:showAsAction="ifRoom" />
</menu>
4 changes: 2 additions & 2 deletions V2rayNG/app/src/main/res/menu/action_sub_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
<item
android:id="@+id/sub_update"
android:icon="@drawable/ic_restore_24dp"
android:title="@string/title_sub_update"
app:showAsAction="always" />
app:showAsAction="ifRoom" />
</menu>
2 changes: 1 addition & 1 deletion V2rayNG/app/src/main/res/menu/menu_asset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
</menu>
2 changes: 1 addition & 1 deletion V2rayNG/app/src/main/res/menu/menu_bypass_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
<item
android:id="@+id/select_all"
android:icon="@drawable/ic_select_all_24dp"
Expand Down
2 changes: 1 addition & 1 deletion V2rayNG/app/src/main/res/menu/menu_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

<item
android:title="@string/menu_item_import_config_custom"
app:showAsAction="always">
app:showAsAction="ifRoom">
<menu>
<item
android:id="@+id/import_config_custom_clipboard"
Expand Down
4 changes: 2 additions & 2 deletions V2rayNG/app/src/main/res/menu/menu_scanner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
android:id="@+id/scan_code"
android:icon="@drawable/ic_scan_24dp"
android:title=""
app:showAsAction="always" />
app:showAsAction="ifRoom" />
<item
android:id="@+id/select_photo"
android:icon="@drawable/ic_image_24dp"
android:title=""
app:showAsAction="always" />
app:showAsAction="ifRoom" />
</menu>

0 comments on commit abff80e

Please sign in to comment.