Skip to content

Commit

Permalink
update res
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangwei committed May 20, 2024
1 parent d4cb3c8 commit b3255ee
Show file tree
Hide file tree
Showing 14 changed files with 109 additions and 21 deletions.
10 changes: 10 additions & 0 deletions src/android/app/src/main/res/drawable/ic_controller.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M189,800Q129,800 86.5,757Q44,714 42,653Q42,644 43,635Q44,626 46,617L130,281Q144,227 187,193.5Q230,160 285,160L675,160Q730,160 773,193.5Q816,227 830,281L914,617Q916,626 917.5,635.5Q919,645 919,654Q919,715 875.5,757.5Q832,800 771,800Q729,800 693,778Q657,756 639,718L611,660Q606,650 596,645Q586,640 575,640L385,640Q374,640 364,645Q354,650 349,660L321,718Q303,756 267,778Q231,800 189,800ZM192,720Q211,720 226.5,710Q242,700 250,683L278,626Q293,595 322,577.5Q351,560 385,560L575,560Q609,560 638,578Q667,596 683,626L711,683Q719,700 734.5,710Q750,720 769,720Q797,720 817,701.5Q837,683 838,655Q838,656 836,636L752,301Q745,274 724,257Q703,240 675,240L285,240Q257,240 235.5,257Q214,274 208,301L124,636Q122,642 122,654Q122,682 142.5,701Q163,720 192,720ZM540,440Q557,440 568.5,428.5Q580,417 580,400Q580,383 568.5,371.5Q557,360 540,360Q523,360 511.5,371.5Q500,383 500,400Q500,417 511.5,428.5Q523,440 540,440ZM620,360Q637,360 648.5,348.5Q660,337 660,320Q660,303 648.5,291.5Q637,280 620,280Q603,280 591.5,291.5Q580,303 580,320Q580,337 591.5,348.5Q603,360 620,360ZM620,520Q637,520 648.5,508.5Q660,497 660,480Q660,463 648.5,451.5Q637,440 620,440Q603,440 591.5,451.5Q580,463 580,480Q580,497 591.5,508.5Q603,520 620,520ZM700,440Q717,440 728.5,428.5Q740,417 740,400Q740,383 728.5,371.5Q717,360 700,360Q683,360 671.5,371.5Q660,383 660,400Q660,417 671.5,428.5Q683,440 700,440ZM340,500Q353,500 361.5,491.5Q370,483 370,470L370,430L410,430Q423,430 431.5,421.5Q440,413 440,400Q440,387 431.5,378.5Q423,370 410,370L370,370L370,330Q370,317 361.5,308.5Q353,300 340,300Q327,300 318.5,308.5Q310,317 310,330L310,370L270,370Q257,370 248.5,378.5Q240,387 240,400Q240,413 248.5,421.5Q257,430 270,430L310,430L310,470Q310,483 318.5,491.5Q327,500 340,500ZM480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480L480,480Q480,480 480,480Q480,480 480,480L480,480Q480,480 480,480Q480,480 480,480L480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480L480,480Q480,480 480,480Q480,480 480,480L480,480Q480,480 480,480Q480,480 480,480L480,480Q480,480 480,480Q480,480 480,480Z"/>
</vector>
10 changes: 10 additions & 0 deletions src/android/app/src/main/res/drawable/ic_deployed.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M720,880L840,760L812,732L740,804L740,640L700,640L700,804L628,732L600,760L720,880ZM480,160L243,297L480,434L717,297L480,160Q480,160 480,160Q480,160 480,160ZM120,639L120,321Q120,299 130.5,281Q141,263 160,252L440,91Q450,86 459.5,83Q469,80 480,80Q491,80 501,83Q511,86 520,91L800,252Q819,263 829.5,281Q840,299 840,321L840,480Q822,480 800,480Q778,480 760,480L760,364L479,526L200,364L200,638Q200,638 200,638Q200,638 200,638L440,777Q440,798 440,823Q440,848 440,869Q440,869 440,869Q440,869 440,869L160,708Q141,697 130.5,679Q120,661 120,639ZM720,960Q637,960 578.5,901.5Q520,843 520,760Q520,677 578.5,618.5Q637,560 720,560Q803,560 861.5,618.5Q920,677 920,760Q920,843 861.5,901.5Q803,960 720,960ZM480,469Q480,469 480,469Q480,469 480,469Q480,469 480,469Q480,469 480,469Q480,469 480,469Q480,469 480,469L480,469Q480,469 480,469Q480,469 480,469L480,469Q480,469 480,469Q480,469 480,469L480,469Q480,469 480,469Q480,469 480,469L480,469Q480,469 480,469Q480,469 480,469L480,469Z"/>
</vector>
11 changes: 11 additions & 0 deletions src/android/app/src/main/res/drawable/ic_draft.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal"
android:autoMirrored="true">
<path
android:fillColor="@android:color/white"
android:pathData="M240,880Q207,880 183.5,856.5Q160,833 160,800L160,160Q160,127 183.5,103.5Q207,80 240,80L560,80L800,320L800,800Q800,833 776.5,856.5Q753,880 720,880L240,880ZM520,360L520,160L240,160Q240,160 240,160Q240,160 240,160L240,800Q240,800 240,800Q240,800 240,800L720,800Q720,800 720,800Q720,800 720,800L720,360L520,360ZM240,160L240,160L240,360L240,360L240,160L240,360L240,360L240,800Q240,800 240,800Q240,800 240,800L240,800Q240,800 240,800Q240,800 240,800L240,160Q240,160 240,160Q240,160 240,160Z"/>
</vector>
10 changes: 10 additions & 0 deletions src/android/app/src/main/res/drawable/ic_groups.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M0,720L0,657Q0,614 44,587Q88,560 160,560Q173,560 185,560.5Q197,561 208,563Q194,584 187,607Q180,630 180,655L180,720L0,720ZM240,720L240,655Q240,623 257.5,596.5Q275,570 307,550Q339,530 383.5,520Q428,510 480,510Q533,510 577.5,520Q622,530 654,550Q686,570 703,596.5Q720,623 720,655L720,720L240,720ZM780,720L780,655Q780,629 773.5,606Q767,583 754,563Q765,561 776.5,560.5Q788,560 800,560Q872,560 916,586.5Q960,613 960,657L960,720L780,720ZM325,640L636,640L636,640Q626,620 580.5,605Q535,590 480,590Q425,590 379.5,605Q334,620 325,640L325,640ZM160,520Q127,520 103.5,496.5Q80,473 80,440Q80,406 103.5,383Q127,360 160,360Q194,360 217,383Q240,406 240,440Q240,473 217,496.5Q194,520 160,520ZM800,520Q767,520 743.5,496.5Q720,473 720,440Q720,406 743.5,383Q767,360 800,360Q834,360 857,383Q880,406 880,440Q880,473 857,496.5Q834,520 800,520ZM480,480Q430,480 395,445Q360,410 360,360Q360,309 395,274.5Q430,240 480,240Q531,240 565.5,274.5Q600,309 600,360Q600,410 565.5,445Q531,480 480,480ZM480,400Q497,400 508.5,388.5Q520,377 520,360Q520,343 508.5,331.5Q497,320 480,320Q463,320 451.5,331.5Q440,343 440,360Q440,377 451.5,388.5Q463,400 480,400ZM481,640L481,640Q481,640 481,640Q481,640 481,640Q481,640 481,640Q481,640 481,640L481,640L481,640ZM480,360Q480,360 480,360Q480,360 480,360Q480,360 480,360Q480,360 480,360Q480,360 480,360Q480,360 480,360Q480,360 480,360Q480,360 480,360Z"/>
</vector>
10 changes: 10 additions & 0 deletions src/android/app/src/main/res/drawable/ic_home.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M240,760L360,760L360,520L600,520L600,760L720,760L720,400L480,220L240,400L240,760ZM160,840L160,360L480,120L800,360L800,840L520,840L520,600L440,600L440,840L160,840ZM480,490L480,490L480,490L480,490L480,490L480,490L480,490L480,490L480,490L480,490Z"/>
</vector>
10 changes: 10 additions & 0 deletions src/android/app/src/main/res/drawable/ic_memory.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M360,600L360,360L600,360L600,600L360,600ZM440,520L520,520L520,440L440,440L440,520ZM360,840L360,760L280,760Q247,760 223.5,736.5Q200,713 200,680L200,600L120,600L120,520L200,520L200,440L120,440L120,360L200,360L200,280Q200,247 223.5,223.5Q247,200 280,200L360,200L360,120L440,120L440,200L520,200L520,120L600,120L600,200L680,200Q713,200 736.5,223.5Q760,247 760,280L760,360L840,360L840,440L760,440L760,520L840,520L840,600L760,600L760,680Q760,713 736.5,736.5Q713,760 680,760L600,760L600,840L520,840L520,760L440,760L440,840L360,840ZM680,680Q680,680 680,680Q680,680 680,680L680,280Q680,280 680,280Q680,280 680,280L280,280Q280,280 280,280Q280,280 280,280L280,680Q280,680 280,680Q280,680 280,680L680,680ZM480,480L480,480L480,480L480,480L480,480Z"/>
</vector>
10 changes: 10 additions & 0 deletions src/android/app/src/main/res/drawable/ic_workspaces.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M240,840Q174,840 127,793Q80,746 80,680Q80,614 127,567Q174,520 240,520Q306,520 353,567Q400,614 400,680Q400,746 353,793Q306,840 240,840ZM720,840Q654,840 607,793Q560,746 560,680Q560,614 607,567Q654,520 720,520Q786,520 833,567Q880,614 880,680Q880,746 833,793Q786,840 720,840ZM240,760Q273,760 296.5,736.5Q320,713 320,680Q320,647 296.5,623.5Q273,600 240,600Q207,600 183.5,623.5Q160,647 160,680Q160,713 183.5,736.5Q207,760 240,760ZM720,760Q753,760 776.5,736.5Q800,713 800,680Q800,647 776.5,623.5Q753,600 720,600Q687,600 663.5,623.5Q640,647 640,680Q640,713 663.5,736.5Q687,760 720,760ZM480,440Q414,440 367,393Q320,346 320,280Q320,214 367,167Q414,120 480,120Q546,120 593,167Q640,214 640,280Q640,346 593,393Q546,440 480,440ZM480,360Q513,360 536.5,336.5Q560,313 560,280Q560,247 536.5,223.5Q513,200 480,200Q447,200 423.5,223.5Q400,247 400,280Q400,313 423.5,336.5Q447,360 480,360ZM480,280Q480,280 480,280Q480,280 480,280Q480,280 480,280Q480,280 480,280Q480,280 480,280Q480,280 480,280Q480,280 480,280Q480,280 480,280ZM720,680Q720,680 720,680Q720,680 720,680Q720,680 720,680Q720,680 720,680Q720,680 720,680Q720,680 720,680Q720,680 720,680Q720,680 720,680ZM240,680Q240,680 240,680Q240,680 240,680Q240,680 240,680Q240,680 240,680Q240,680 240,680Q240,680 240,680Q240,680 240,680Q240,680 240,680Z"/>
</vector>
2 changes: 1 addition & 1 deletion src/android/app/src/main/res/menu/menu_editor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<item
android:id="@+id/menu_settings_core"
android:title="@string/preferences_settings"
android:icon="@mipmap/ic_settings_core"
android:icon="@drawable/ic_memory"
app:showAsAction="ifRoom"/>

<item
Expand Down
13 changes: 12 additions & 1 deletion src/android/app/src/main/res/menu/menu_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,43 @@
<item
android:id="@+id/menu_settings_core"
android:title="@string/preferences_settings"
android:icon="@mipmap/ic_settings_core"
android:icon="@drawable/ic_memory"
app:showAsAction="ifRoom"/>

<item
android:id="@+id/menu_input_binding"
android:icon="@drawable/ic_controller"
android:title="@string/grid_menu_input_binding"
app:showAsAction="never"/>

<item
android:id="@+id/menu_combo_key"
android:icon="@drawable/ic_workspaces"
android:title="@string/combo_key_settings"
app:showAsAction="never"/>

<item
android:id="@+id/menu_install_cia"
android:icon="@drawable/ic_deployed"
android:title="@string/grid_menu_install_cia"
app:showAsAction="never"/>

<item
android:id="@+id/menu_multiplayer"
android:icon="@drawable/ic_groups"
android:title="@string/multiplayer"
app:showAsAction="never"/>

<item
android:id="@+id/menu_refresh"
android:icon="@drawable/ic_refresh"
android:title="@string/grid_menu_refresh"
app:showAsAction="never"/>

<item
android:id="@+id/menu_about"
android:icon="@drawable/ic_info"
android:title="@string/about"
app:showAsAction="never"/>

</menu>
6 changes: 6 additions & 0 deletions src/android/app/src/main/res/menu/menu_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">

<item
android:id="@+id/menu_home_folder"
android:title="@string/app_name"
android:icon="@drawable/ic_home"
app:showAsAction="ifRoom"/>

<item
android:id="@+id/menu_reset_setting"
android:title="@string/reset_setting"
Expand Down
7 changes: 6 additions & 1 deletion src/android/app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@
<string name="grid_menu_install_cia">Instalar CIA</string>
<string name="preferences_settings">Ajustes</string>
<string name="combo_key_settings">Configuración de teclas combinadas</string>
<string name="combo_key_name">Combinación de teclas %1$d</string>
<string name="combo_key_1">Combinación de teclas 1</string>
<string name="combo_key_2">Combinación de teclas 2</string>
<string name="combo_key_3">Combinación de teclas 3</string>
<string name="translate_settings">Traducción de pantalla</string>
<string name="multiplayer">Multijugador</string>
<string name="multiplayer_room_title">Sala: %1$s</string>
Expand Down Expand Up @@ -272,6 +274,7 @@
<string name="delete_app_sdmc">Eliminar directorio de instalación</string>
<string name="delete_shader_cache">Eliminar caché de sombreado</string>
<string name="delete_confirm_notice">¿Estás seguro de eliminar el directorio de archivos del juego?</string>
<string name="delete_files_confirm">Are you sure to delete the selected files and directories?</string>

<string name="controller_gamepad">Gamepad</string>
<string name="joystick_range">Joystick Range</string>
Expand Down Expand Up @@ -306,6 +309,8 @@
<string name="nnf_need_valid_filename">Ingrese o seleccione un nombre de archivo válido</string>
<string name="nnf_permission_external_write_denied">Permiso para acceder al sistema de archivos denegado</string>
<string name="nnf_filename">Nombre de la carpeta</string>
<string name="nnf_list_import">Import files to current folder</string>
<string name="nnf_delete_selected">Delete Selected Item</string>
<string name="nnf_list_ok">@android:string/ok</string>
<string name="nnf_list_cancel">@android:string/cancel</string>
<string name="nnf_new_folder_ok">@android:string/ok</string>
Expand Down
9 changes: 7 additions & 2 deletions src/android/app/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@
<string name="grid_menu_install_cia">安装 CIA</string>
<string name="preferences_settings">设置</string>
<string name="combo_key_settings">组合键设置</string>
<string name="combo_key_name">组合键 %1$d</string>
<string name="combo_key_1">组合键 1</string>
<string name="combo_key_2">组合键 2</string>
<string name="combo_key_3">组合键 3</string>
<string name="translate_settings">屏幕翻译</string>
<string name="multiplayer">多人游戏</string>
<string name="multiplayer_room_title">房间:%1$s</string>
Expand Down Expand Up @@ -272,6 +274,7 @@
<string name="delete_app_sdmc">删除安装目录</string>
<string name="delete_shader_cache">删除着色器缓存</string>
<string name="delete_confirm_notice">确定删除游戏安装目录?</string>
<string name="delete_files_confirm">确定删除选中的文件和目录?</string>

<string name="controller_gamepad">手柄</string>
<string name="joystick_range">摇杆范围</string>
Expand All @@ -297,7 +300,7 @@
<string name="button_start">START</string>
<string name="button_select">SELECT</string>
<string name="button_home">切换屏幕</string>
<string name="button_debug">设置/加速</string>
<string name="button_debug">设置/长按加速</string>

<string name="nnf_new_folder">New folder</string>
<string name="nnf_create_folder_error">Failed to create folder</string>
Expand All @@ -306,6 +309,8 @@
<string name="nnf_need_valid_filename">请输入或选择一个有效的文件名</string>
<string name="nnf_permission_external_write_denied">Permission to access filesystem denied</string>
<string name="nnf_filename">Filename</string>
<string name="nnf_list_import">导入文件到当前文件夹</string>
<string name="nnf_delete_selected">删除选中项</string>
<string name="nnf_list_ok">@android:string/ok</string>
<string name="nnf_list_cancel">@android:string/cancel</string>
<string name="nnf_new_folder_ok">@android:string/ok</string>
Expand Down
7 changes: 6 additions & 1 deletion src/android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@
<string name="grid_menu_install_cia">Install CIA</string>
<string name="preferences_settings">Settings</string>
<string name="combo_key_settings">Combo Key Settings</string>
<string name="combo_key_name">Combo Key %1$d</string>
<string name="combo_key_1">Combo Key 1</string>
<string name="combo_key_2">Combo Key 2</string>
<string name="combo_key_3">Combo Key 3</string>
<string name="translate_settings">Screen Translation</string>
<string name="multiplayer">Multiplayer</string>
<string name="multiplayer_room_title">Room: %1$s</string>
Expand Down Expand Up @@ -272,6 +274,7 @@
<string name="delete_app_sdmc">Delete Install Directory</string>
<string name="delete_shader_cache">Delete Shader Cache</string>
<string name="delete_confirm_notice">Are you sure to delete the game install directory?</string>
<string name="delete_files_confirm">Are you sure to delete the selected files and directories?</string>

<string name="controller_gamepad">Gamepad</string>
<string name="joystick_range">Joystick Range</string>
Expand Down Expand Up @@ -306,6 +309,8 @@
<string name="nnf_need_valid_filename">Please enter or select a valid filename</string>
<string name="nnf_permission_external_write_denied">Permission to access filesystem denied</string>
<string name="nnf_filename">Filename</string>
<string name="nnf_list_import">Import files to current folder</string>
<string name="nnf_delete_selected">Delete Selected Item</string>
<string name="nnf_list_ok">@android:string/ok</string>
<string name="nnf_list_cancel">@android:string/cancel</string>
<string name="nnf_new_folder_ok">@android:string/ok</string>
Expand Down
15 changes: 0 additions & 15 deletions src/android/app/src/main/res/xml/shortcuts.xml

This file was deleted.

0 comments on commit b3255ee

Please sign in to comment.