diff options
Diffstat (limited to 'src/android/app/src/main/res')
215 files changed, 1721 insertions, 0 deletions
diff --git a/src/android/app/src/main/res/animator/settings_enter.xml b/src/android/app/src/main/res/animator/settings_enter.xml new file mode 100644 index 000000000..3c216a054 --- /dev/null +++ b/src/android/app/src/main/res/animator/settings_enter.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android"> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="yFraction" + android:startOffset="@android:integer/config_shortAnimTime" + android:valueFrom="1.0" + android:valueTo="0" /> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="translationZ" + android:startOffset="@android:integer/config_shortAnimTime" + android:valueFrom="100.0" + android:valueTo="0" /> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="elevation" + android:startOffset="@android:integer/config_shortAnimTime" + android:valueFrom="100.0" + android:valueTo="0" /> + +</set>
\ No newline at end of file diff --git a/src/android/app/src/main/res/animator/settings_exit.xml b/src/android/app/src/main/res/animator/settings_exit.xml new file mode 100644 index 000000000..a233b6757 --- /dev/null +++ b/src/android/app/src/main/res/animator/settings_exit.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android"> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/accelerate_cubic" + android:propertyName="visibleness" + android:valueFrom="1.0f" + android:valueTo="0.6f" + android:valueType="floatType" /> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="translationZ" + android:startOffset="@android:integer/config_shortAnimTime" + android:valueFrom="0" + android:valueTo="-100.0" /> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="elevation" + android:startOffset="@android:integer/config_shortAnimTime" + android:valueFrom="0" + android:valueTo="-100.0" /> + +</set>
\ No newline at end of file diff --git a/src/android/app/src/main/res/animator/settings_pop_enter.xml b/src/android/app/src/main/res/animator/settings_pop_enter.xml new file mode 100644 index 000000000..080bc27c4 --- /dev/null +++ b/src/android/app/src/main/res/animator/settings_pop_enter.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android"> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="visibleness" + android:valueFrom="0.6f" + android:valueTo="1.0f" + android:valueType="floatType" /> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="translationZ" + android:startOffset="@android:integer/config_shortAnimTime" + android:valueFrom="-100.0" + android:valueTo="0" /> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="elevation" + android:startOffset="@android:integer/config_shortAnimTime" + android:valueFrom="-100.0" + android:valueTo="0" /> + +</set>
\ No newline at end of file diff --git a/src/android/app/src/main/res/animator/setttings_pop_exit.xml b/src/android/app/src/main/res/animator/setttings_pop_exit.xml new file mode 100644 index 000000000..4fccbcca2 --- /dev/null +++ b/src/android/app/src/main/res/animator/setttings_pop_exit.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android"> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/accelerate_cubic" + android:propertyName="yFraction" + android:valueFrom="0" + android:valueTo="1.0" /> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="translationZ" + android:startOffset="@android:integer/config_shortAnimTime" + android:valueFrom="0.0" + android:valueTo="100" /> + + <objectAnimator + android:duration="@android:integer/config_mediumAnimTime" + android:interpolator="@android:interpolator/decelerate_cubic" + android:propertyName="elevation" + android:startOffset="@android:integer/config_shortAnimTime" + android:valueFrom="0.0" + android:valueTo="100" /> + +</set>
\ No newline at end of file diff --git a/src/android/app/src/main/res/drawable-hdpi/button_a.png b/src/android/app/src/main/res/drawable-hdpi/button_a.png Binary files differnew file mode 100644 index 000000000..f96a2061e --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_a.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_a_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_a_pressed.png Binary files differnew file mode 100644 index 000000000..785a258ee --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_a_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_b.png b/src/android/app/src/main/res/drawable-hdpi/button_b.png Binary files differnew file mode 100644 index 000000000..b15d2b549 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_b.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_b_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_b_pressed.png Binary files differnew file mode 100644 index 000000000..b11d5fcee --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_b_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_l.png b/src/android/app/src/main/res/drawable-hdpi/button_l.png Binary files differnew file mode 100644 index 000000000..e19469a7b --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_l.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_l_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_l_pressed.png Binary files differnew file mode 100644 index 000000000..280857f64 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_l_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_r.png b/src/android/app/src/main/res/drawable-hdpi/button_r.png Binary files differnew file mode 100644 index 000000000..f72cdc1dc --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_r.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_r_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_r_pressed.png Binary files differnew file mode 100644 index 000000000..c47d34253 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_r_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_select.png b/src/android/app/src/main/res/drawable-hdpi/button_select.png Binary files differnew file mode 100644 index 000000000..6961b88d2 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_select.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_select_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_select_pressed.png Binary files differnew file mode 100644 index 000000000..8ee471419 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_select_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_start.png b/src/android/app/src/main/res/drawable-hdpi/button_start.png Binary files differnew file mode 100644 index 000000000..72856cf47 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_start.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_start_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_start_pressed.png Binary files differnew file mode 100644 index 000000000..f96cd3359 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_start_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_x.png b/src/android/app/src/main/res/drawable-hdpi/button_x.png Binary files differnew file mode 100644 index 000000000..1a0fd1924 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_x.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_x_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_x_pressed.png Binary files differnew file mode 100644 index 000000000..089cb3af1 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_x_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_y.png b/src/android/app/src/main/res/drawable-hdpi/button_y.png Binary files differnew file mode 100644 index 000000000..bc22680c4 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_y.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_y_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_y_pressed.png Binary files differnew file mode 100644 index 000000000..6e9e89ec9 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_y_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_zl.png b/src/android/app/src/main/res/drawable-hdpi/button_zl.png Binary files differnew file mode 100644 index 000000000..dd5d4d5b3 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_zl.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_zl_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_zl_pressed.png Binary files differnew file mode 100644 index 000000000..8cd395f3b --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_zl_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_zr.png b/src/android/app/src/main/res/drawable-hdpi/button_zr.png Binary files differnew file mode 100644 index 000000000..728fcf4d1 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_zr.png diff --git a/src/android/app/src/main/res/drawable-hdpi/button_zr_pressed.png b/src/android/app/src/main/res/drawable-hdpi/button_zr_pressed.png Binary files differnew file mode 100644 index 000000000..121877610 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/button_zr_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/dpad.png b/src/android/app/src/main/res/drawable-hdpi/dpad.png Binary files differnew file mode 100644 index 000000000..921b3902d --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/dpad.png diff --git a/src/android/app/src/main/res/drawable-hdpi/dpad_pressed_one_direction.png b/src/android/app/src/main/res/drawable-hdpi/dpad_pressed_one_direction.png Binary files differnew file mode 100644 index 000000000..a8ffbb48a --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/dpad_pressed_one_direction.png diff --git a/src/android/app/src/main/res/drawable-hdpi/dpad_pressed_two_directions.png b/src/android/app/src/main/res/drawable-hdpi/dpad_pressed_two_directions.png Binary files differnew file mode 100644 index 000000000..ceb994a6d --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/dpad_pressed_two_directions.png diff --git a/src/android/app/src/main/res/drawable-hdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-hdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..8c00d8c34 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-hdpi/ic_folder.png b/src/android/app/src/main/res/drawable-hdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..90085252b --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-hdpi/ic_premium.png b/src/android/app/src/main/res/drawable-hdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..7dd45a405 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-hdpi/ic_settings_core.png b/src/android/app/src/main/res/drawable-hdpi/ic_settings_core.png Binary files differnew file mode 100644 index 000000000..2e7837020 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/ic_settings_core.png diff --git a/src/android/app/src/main/res/drawable-hdpi/ic_stat_notification_logo.png b/src/android/app/src/main/res/drawable-hdpi/ic_stat_notification_logo.png Binary files differnew file mode 100644 index 000000000..2282f1a3b --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/ic_stat_notification_logo.png diff --git a/src/android/app/src/main/res/drawable-hdpi/stick_c.png b/src/android/app/src/main/res/drawable-hdpi/stick_c.png Binary files differnew file mode 100644 index 000000000..d4c1d6c97 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/stick_c.png diff --git a/src/android/app/src/main/res/drawable-hdpi/stick_c_pressed.png b/src/android/app/src/main/res/drawable-hdpi/stick_c_pressed.png Binary files differnew file mode 100644 index 000000000..c8d14c029 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/stick_c_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/stick_c_range.png b/src/android/app/src/main/res/drawable-hdpi/stick_c_range.png Binary files differnew file mode 100644 index 000000000..8263d4b8d --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/stick_c_range.png diff --git a/src/android/app/src/main/res/drawable-hdpi/stick_main.png b/src/android/app/src/main/res/drawable-hdpi/stick_main.png Binary files differnew file mode 100644 index 000000000..ae6d025a5 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/stick_main.png diff --git a/src/android/app/src/main/res/drawable-hdpi/stick_main_pressed.png b/src/android/app/src/main/res/drawable-hdpi/stick_main_pressed.png Binary files differnew file mode 100644 index 000000000..ca469c6a7 --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/stick_main_pressed.png diff --git a/src/android/app/src/main/res/drawable-hdpi/stick_main_range.png b/src/android/app/src/main/res/drawable-hdpi/stick_main_range.png Binary files differnew file mode 100644 index 000000000..9b5445edc --- /dev/null +++ b/src/android/app/src/main/res/drawable-hdpi/stick_main_range.png diff --git a/src/android/app/src/main/res/drawable-mdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-mdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..c6dc232b4 --- /dev/null +++ b/src/android/app/src/main/res/drawable-mdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-mdpi/ic_folder.png b/src/android/app/src/main/res/drawable-mdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..1e428dfe3 --- /dev/null +++ b/src/android/app/src/main/res/drawable-mdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-mdpi/ic_premium.png b/src/android/app/src/main/res/drawable-mdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..4dfb62596 --- /dev/null +++ b/src/android/app/src/main/res/drawable-mdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-night-hdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-night-hdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..cc986c8ac --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-hdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-night-hdpi/ic_folder.png b/src/android/app/src/main/res/drawable-night-hdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..ee688b09f --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-hdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-night-hdpi/ic_premium.png b/src/android/app/src/main/res/drawable-night-hdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..6b678d22c --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-hdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-night-hdpi/ic_settings_core.png b/src/android/app/src/main/res/drawable-night-hdpi/ic_settings_core.png Binary files differnew file mode 100644 index 000000000..bc9dc0beb --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-hdpi/ic_settings_core.png diff --git a/src/android/app/src/main/res/drawable-night-mdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-night-mdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..f61d84961 --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-mdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-night-mdpi/ic_folder.png b/src/android/app/src/main/res/drawable-night-mdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..05847c34b --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-mdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-night-mdpi/ic_premium.png b/src/android/app/src/main/res/drawable-night-mdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..87bac27df --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-mdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-night-xhdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-night-xhdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..1eccbe68d --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xhdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-night-xhdpi/ic_folder.png b/src/android/app/src/main/res/drawable-night-xhdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..ffa1d200e --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xhdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-night-xhdpi/ic_premium.png b/src/android/app/src/main/res/drawable-night-xhdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..23a5cec51 --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xhdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-night-xhdpi/ic_settings_core.png b/src/android/app/src/main/res/drawable-night-xhdpi/ic_settings_core.png Binary files differnew file mode 100644 index 000000000..9ca7975bb --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xhdpi/ic_settings_core.png diff --git a/src/android/app/src/main/res/drawable-night-xxhdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-night-xxhdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..fc3c434b0 --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xxhdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-night-xxhdpi/ic_folder.png b/src/android/app/src/main/res/drawable-night-xxhdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..013600d1f --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xxhdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-night-xxhdpi/ic_premium.png b/src/android/app/src/main/res/drawable-night-xxhdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..2a0f1568f --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xxhdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-night-xxhdpi/ic_settings_core.png b/src/android/app/src/main/res/drawable-night-xxhdpi/ic_settings_core.png Binary files differnew file mode 100644 index 000000000..23706188b --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xxhdpi/ic_settings_core.png diff --git a/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..b4d1b92b7 --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_folder.png b/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..166bd052d --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_premium.png b/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..8d357b228 --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_settings_core.png b/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_settings_core.png Binary files differnew file mode 100644 index 000000000..32eb4faff --- /dev/null +++ b/src/android/app/src/main/res/drawable-night-xxxhdpi/ic_settings_core.png diff --git a/src/android/app/src/main/res/drawable-night/no_icon.png b/src/android/app/src/main/res/drawable-night/no_icon.png Binary files differnew file mode 100644 index 000000000..9a3969709 --- /dev/null +++ b/src/android/app/src/main/res/drawable-night/no_icon.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_a.png b/src/android/app/src/main/res/drawable-xhdpi/button_a.png Binary files differnew file mode 100644 index 000000000..4e20f2b0e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_a.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_a_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_a_pressed.png Binary files differnew file mode 100644 index 000000000..f18edd07e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_a_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_b.png b/src/android/app/src/main/res/drawable-xhdpi/button_b.png Binary files differnew file mode 100644 index 000000000..deb83a09d --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_b.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_b_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_b_pressed.png Binary files differnew file mode 100644 index 000000000..f583be028 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_b_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_l.png b/src/android/app/src/main/res/drawable-xhdpi/button_l.png Binary files differnew file mode 100644 index 000000000..d24039fbf --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_l.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_l_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_l_pressed.png Binary files differnew file mode 100644 index 000000000..378ac8751 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_l_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_r.png b/src/android/app/src/main/res/drawable-xhdpi/button_r.png Binary files differnew file mode 100644 index 000000000..7b01c043e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_r.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_r_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_r_pressed.png Binary files differnew file mode 100644 index 000000000..9b3e3e75a --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_r_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_select.png b/src/android/app/src/main/res/drawable-xhdpi/button_select.png Binary files differnew file mode 100644 index 000000000..57abf5666 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_select.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_select_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_select_pressed.png Binary files differnew file mode 100644 index 000000000..29eda72af --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_select_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_start.png b/src/android/app/src/main/res/drawable-xhdpi/button_start.png Binary files differnew file mode 100644 index 000000000..f9cf0d667 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_start.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_start_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_start_pressed.png Binary files differnew file mode 100644 index 000000000..4d690fa7e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_start_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_x.png b/src/android/app/src/main/res/drawable-xhdpi/button_x.png Binary files differnew file mode 100644 index 000000000..93a2ee997 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_x.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_x_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_x_pressed.png Binary files differnew file mode 100644 index 000000000..6bbd39646 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_x_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_y.png b/src/android/app/src/main/res/drawable-xhdpi/button_y.png Binary files differnew file mode 100644 index 000000000..d979e98e0 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_y.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_y_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_y_pressed.png Binary files differnew file mode 100644 index 000000000..a6c9bdb54 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_y_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_zl.png b/src/android/app/src/main/res/drawable-xhdpi/button_zl.png Binary files differnew file mode 100644 index 000000000..f94474fea --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_zl.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_zl_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_zl_pressed.png Binary files differnew file mode 100644 index 000000000..8f7d5ab7a --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_zl_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_zr.png b/src/android/app/src/main/res/drawable-xhdpi/button_zr.png Binary files differnew file mode 100644 index 000000000..a76658351 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_zr.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/button_zr_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/button_zr_pressed.png Binary files differnew file mode 100644 index 000000000..bbe4e64ce --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/button_zr_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/dpad.png b/src/android/app/src/main/res/drawable-xhdpi/dpad.png Binary files differnew file mode 100644 index 000000000..94ae84405 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/dpad.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/dpad_pressed_one_direction.png b/src/android/app/src/main/res/drawable-xhdpi/dpad_pressed_one_direction.png Binary files differnew file mode 100644 index 000000000..d6ccb2c4f --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/dpad_pressed_one_direction.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/dpad_pressed_two_directions.png b/src/android/app/src/main/res/drawable-xhdpi/dpad_pressed_two_directions.png Binary files differnew file mode 100644 index 000000000..2bba7749e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/dpad_pressed_two_directions.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-xhdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..839869401 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/ic_folder.png b/src/android/app/src/main/res/drawable-xhdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..02bc3d75a --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/ic_premium.png b/src/android/app/src/main/res/drawable-xhdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..ac4b19ff4 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/ic_settings_core.png b/src/android/app/src/main/res/drawable-xhdpi/ic_settings_core.png Binary files differnew file mode 100644 index 000000000..8cff45f84 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/ic_settings_core.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/ic_stat_notification_logo.png b/src/android/app/src/main/res/drawable-xhdpi/ic_stat_notification_logo.png Binary files differnew file mode 100644 index 000000000..5e2787ba3 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/ic_stat_notification_logo.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/stick_c.png b/src/android/app/src/main/res/drawable-xhdpi/stick_c.png Binary files differnew file mode 100644 index 000000000..7819f220a --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/stick_c.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/stick_c_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/stick_c_pressed.png Binary files differnew file mode 100644 index 000000000..a111c2ac7 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/stick_c_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/stick_c_range.png b/src/android/app/src/main/res/drawable-xhdpi/stick_c_range.png Binary files differnew file mode 100644 index 000000000..774c54292 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/stick_c_range.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/stick_main.png b/src/android/app/src/main/res/drawable-xhdpi/stick_main.png Binary files differnew file mode 100644 index 000000000..3f80cdf6c --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/stick_main.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/stick_main_pressed.png b/src/android/app/src/main/res/drawable-xhdpi/stick_main_pressed.png Binary files differnew file mode 100644 index 000000000..2a7675ef7 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/stick_main_pressed.png diff --git a/src/android/app/src/main/res/drawable-xhdpi/stick_main_range.png b/src/android/app/src/main/res/drawable-xhdpi/stick_main_range.png Binary files differnew file mode 100644 index 000000000..ca1672caf --- /dev/null +++ b/src/android/app/src/main/res/drawable-xhdpi/stick_main_range.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_a.png b/src/android/app/src/main/res/drawable-xxhdpi/button_a.png Binary files differnew file mode 100644 index 000000000..999b4c01e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_a.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_a_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_a_pressed.png Binary files differnew file mode 100644 index 000000000..bb4de9bd9 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_a_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_b.png b/src/android/app/src/main/res/drawable-xxhdpi/button_b.png Binary files differnew file mode 100644 index 000000000..8ed042e7e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_b.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_b_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_b_pressed.png Binary files differnew file mode 100644 index 000000000..86f5d535e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_b_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_l.png b/src/android/app/src/main/res/drawable-xxhdpi/button_l.png Binary files differnew file mode 100644 index 000000000..9572c66f8 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_l.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_l_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_l_pressed.png Binary files differnew file mode 100644 index 000000000..64bedc326 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_l_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_r.png b/src/android/app/src/main/res/drawable-xxhdpi/button_r.png Binary files differnew file mode 100644 index 000000000..abbcadede --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_r.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_r_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_r_pressed.png Binary files differnew file mode 100644 index 000000000..07421767f --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_r_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_select.png b/src/android/app/src/main/res/drawable-xxhdpi/button_select.png Binary files differnew file mode 100644 index 000000000..42c3b7c43 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_select.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_select_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_select_pressed.png Binary files differnew file mode 100644 index 000000000..0d1e56f6a --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_select_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_start.png b/src/android/app/src/main/res/drawable-xxhdpi/button_start.png Binary files differnew file mode 100644 index 000000000..4e9585bb4 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_start.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_start_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_start_pressed.png Binary files differnew file mode 100644 index 000000000..8c089e237 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_start_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_x.png b/src/android/app/src/main/res/drawable-xxhdpi/button_x.png Binary files differnew file mode 100644 index 000000000..0500f964f --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_x.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_x_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_x_pressed.png Binary files differnew file mode 100644 index 000000000..56db5843d --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_x_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_y.png b/src/android/app/src/main/res/drawable-xxhdpi/button_y.png Binary files differnew file mode 100644 index 000000000..53c5ca084 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_y.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_y_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_y_pressed.png Binary files differnew file mode 100644 index 000000000..5d91cbfb0 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_y_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_zl.png b/src/android/app/src/main/res/drawable-xxhdpi/button_zl.png Binary files differnew file mode 100644 index 000000000..f8ce9a0c6 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_zl.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_zl_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_zl_pressed.png Binary files differnew file mode 100644 index 000000000..981c8b0c8 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_zl_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_zr.png b/src/android/app/src/main/res/drawable-xxhdpi/button_zr.png Binary files differnew file mode 100644 index 000000000..82065e126 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_zr.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/button_zr_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/button_zr_pressed.png Binary files differnew file mode 100644 index 000000000..b30b2e799 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/button_zr_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/dpad.png b/src/android/app/src/main/res/drawable-xxhdpi/dpad.png Binary files differnew file mode 100644 index 000000000..36b7ea183 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/dpad.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/dpad_pressed_one_direction.png b/src/android/app/src/main/res/drawable-xxhdpi/dpad_pressed_one_direction.png Binary files differnew file mode 100644 index 000000000..3715e1c11 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/dpad_pressed_one_direction.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/dpad_pressed_two_directions.png b/src/android/app/src/main/res/drawable-xxhdpi/dpad_pressed_two_directions.png Binary files differnew file mode 100644 index 000000000..fb0d7fc5c --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/dpad_pressed_two_directions.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-xxhdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..e6812f0d4 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/ic_folder.png b/src/android/app/src/main/res/drawable-xxhdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..05f429614 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/ic_premium.png b/src/android/app/src/main/res/drawable-xxhdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..63f162e52 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/ic_settings_core.png b/src/android/app/src/main/res/drawable-xxhdpi/ic_settings_core.png Binary files differnew file mode 100644 index 000000000..0b9049f46 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/ic_settings_core.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/ic_stat_notification_logo.png b/src/android/app/src/main/res/drawable-xxhdpi/ic_stat_notification_logo.png Binary files differnew file mode 100644 index 000000000..06cef9de3 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/ic_stat_notification_logo.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/stick_c.png b/src/android/app/src/main/res/drawable-xxhdpi/stick_c.png Binary files differnew file mode 100644 index 000000000..e950c5b15 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/stick_c.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/stick_c_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/stick_c_pressed.png Binary files differnew file mode 100644 index 000000000..3ac88ed9b --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/stick_c_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/stick_c_range.png b/src/android/app/src/main/res/drawable-xxhdpi/stick_c_range.png Binary files differnew file mode 100644 index 000000000..a3491c80f --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/stick_c_range.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/stick_main.png b/src/android/app/src/main/res/drawable-xxhdpi/stick_main.png Binary files differnew file mode 100644 index 000000000..16ca58c0f --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/stick_main.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/stick_main_pressed.png b/src/android/app/src/main/res/drawable-xxhdpi/stick_main_pressed.png Binary files differnew file mode 100644 index 000000000..e7fe0c2d5 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/stick_main_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxhdpi/stick_main_range.png b/src/android/app/src/main/res/drawable-xxhdpi/stick_main_range.png Binary files differnew file mode 100644 index 000000000..8c47b2ba3 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxhdpi/stick_main_range.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_a.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_a.png Binary files differnew file mode 100644 index 000000000..e364fae1e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_a.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_a_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_a_pressed.png Binary files differnew file mode 100644 index 000000000..08d65cc99 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_a_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_b.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_b.png Binary files differnew file mode 100644 index 000000000..faae9b6f7 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_b.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_b_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_b_pressed.png Binary files differnew file mode 100644 index 000000000..669780f28 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_b_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_l.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_l.png Binary files differnew file mode 100644 index 000000000..888b147de --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_l.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_l_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_l_pressed.png Binary files differnew file mode 100644 index 000000000..605493e3e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_l_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_r.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_r.png Binary files differnew file mode 100644 index 000000000..90a93af8d --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_r.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_r_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_r_pressed.png Binary files differnew file mode 100644 index 000000000..4500cd2be --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_r_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_select.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_select.png Binary files differnew file mode 100644 index 000000000..b18b2fd59 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_select.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_select_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_select_pressed.png Binary files differnew file mode 100644 index 000000000..53ed400e0 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_select_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_start.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_start.png Binary files differnew file mode 100644 index 000000000..c55e56852 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_start.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_start_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_start_pressed.png Binary files differnew file mode 100644 index 000000000..1507cc365 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_start_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_x.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_x.png Binary files differnew file mode 100644 index 000000000..7ef2b883e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_x.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_x_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_x_pressed.png Binary files differnew file mode 100644 index 000000000..f3f11ede2 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_x_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_y.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_y.png Binary files differnew file mode 100644 index 000000000..4ce679c69 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_y.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_y_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_y_pressed.png Binary files differnew file mode 100644 index 000000000..926f5e269 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_y_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_zl.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_zl.png Binary files differnew file mode 100644 index 000000000..7faf8db3b --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_zl.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_zl_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_zl_pressed.png Binary files differnew file mode 100644 index 000000000..cc56a749c --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_zl_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_zr.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_zr.png Binary files differnew file mode 100644 index 000000000..ed1b6b683 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_zr.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/button_zr_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/button_zr_pressed.png Binary files differnew file mode 100644 index 000000000..892fa74f1 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/button_zr_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/dpad.png b/src/android/app/src/main/res/drawable-xxxhdpi/dpad.png Binary files differnew file mode 100644 index 000000000..6272f39e6 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/dpad.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/dpad_pressed_one_direction.png b/src/android/app/src/main/res/drawable-xxxhdpi/dpad_pressed_one_direction.png Binary files differnew file mode 100644 index 000000000..0cccd3a30 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/dpad_pressed_one_direction.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/dpad_pressed_two_directions.png b/src/android/app/src/main/res/drawable-xxxhdpi/dpad_pressed_two_directions.png Binary files differnew file mode 100644 index 000000000..18a99ad2d --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/dpad_pressed_two_directions.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/ic_cia_install.png b/src/android/app/src/main/res/drawable-xxxhdpi/ic_cia_install.png Binary files differnew file mode 100644 index 000000000..69ae32dc3 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/ic_cia_install.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/ic_folder.png b/src/android/app/src/main/res/drawable-xxxhdpi/ic_folder.png Binary files differnew file mode 100644 index 000000000..c85074c60 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/ic_folder.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/ic_premium.png b/src/android/app/src/main/res/drawable-xxxhdpi/ic_premium.png Binary files differnew file mode 100644 index 000000000..6f1550a10 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/ic_premium.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/ic_settings_core.png b/src/android/app/src/main/res/drawable-xxxhdpi/ic_settings_core.png Binary files differnew file mode 100644 index 000000000..2827a1777 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/ic_settings_core.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/stick_c.png b/src/android/app/src/main/res/drawable-xxxhdpi/stick_c.png Binary files differnew file mode 100644 index 000000000..88e09b8a0 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/stick_c.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/stick_c_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/stick_c_pressed.png Binary files differnew file mode 100644 index 000000000..edc920e8e --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/stick_c_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/stick_c_range.png b/src/android/app/src/main/res/drawable-xxxhdpi/stick_c_range.png Binary files differnew file mode 100644 index 000000000..a8b693494 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/stick_c_range.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/stick_main.png b/src/android/app/src/main/res/drawable-xxxhdpi/stick_main.png Binary files differnew file mode 100644 index 000000000..d157edca2 --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/stick_main.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/stick_main_pressed.png b/src/android/app/src/main/res/drawable-xxxhdpi/stick_main_pressed.png Binary files differnew file mode 100644 index 000000000..2ac2440be --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/stick_main_pressed.png diff --git a/src/android/app/src/main/res/drawable-xxxhdpi/stick_main_range.png b/src/android/app/src/main/res/drawable-xxxhdpi/stick_main_range.png Binary files differnew file mode 100644 index 000000000..71e67e02a --- /dev/null +++ b/src/android/app/src/main/res/drawable-xxxhdpi/stick_main_range.png diff --git a/src/android/app/src/main/res/drawable/gamelist_divider.xml b/src/android/app/src/main/res/drawable/gamelist_divider.xml new file mode 100644 index 000000000..7da9dccce --- /dev/null +++ b/src/android/app/src/main/res/drawable/gamelist_divider.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + + <size + android:width="1dp" + android:height="1dp" /> + + <solid android:color="@color/gamelist_divider" /> + +</shape> diff --git a/src/android/app/src/main/res/drawable/ic_add.xml b/src/android/app/src/main/res/drawable/ic_add.xml new file mode 100644 index 000000000..bdd99f48d --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_add.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:fillColor="@android:color/white" + android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/> +</vector> diff --git a/src/android/app/src/main/res/drawable/no_icon.png b/src/android/app/src/main/res/drawable/no_icon.png Binary files differnew file mode 100644 index 000000000..1ce8fdc76 --- /dev/null +++ b/src/android/app/src/main/res/drawable/no_icon.png diff --git a/src/android/app/src/main/res/layout-ldrtl/list_item_cheat.xml b/src/android/app/src/main/res/layout-ldrtl/list_item_cheat.xml new file mode 100644 index 000000000..9bcf883e1 --- /dev/null +++ b/src/android/app/src/main/res/layout-ldrtl/list_item_cheat.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.constraintlayout.widget.ConstraintLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/root" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:focusable="true" + android:nextFocusLeft="@id/checkbox"> + + <TextView + android:id="@+id/text_name" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:textColor="@color/header_text" + android:textSize="16sp" + android:layout_margin="@dimen/spacing_large" + style="@style/TextAppearance.AppCompat.Headline" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toStartOf="@id/checkbox" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + tools:text="Max Lives after losing 1" /> + + <CheckBox + android:id="@+id/checkbox" + android:layout_width="48dp" + android:layout_height="64dp" + android:focusable="true" + android:gravity="center" + android:nextFocusRight="@id/root" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@id/text_name" + app:layout_constraintTop_toTopOf="parent" /> + +</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/src/android/app/src/main/res/layout/activity_cheats.xml b/src/android/app/src/main/res/layout/activity_cheats.xml new file mode 100644 index 000000000..b9414ab6d --- /dev/null +++ b/src/android/app/src/main/res/layout/activity_cheats.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.slidingpanelayout.widget.SlidingPaneLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/sliding_pane_layout" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <androidx.fragment.app.FragmentContainerView + android:layout_width="320dp" + android:layout_height="match_parent" + android:layout_weight="1" + android:id="@+id/cheat_list" + android:name="org.citra.citra_emu.features.cheats.ui.CheatListFragment" /> + + <androidx.fragment.app.FragmentContainerView + android:layout_width="320dp" + android:layout_height="match_parent" + android:layout_weight="1" + android:id="@+id/cheat_details" + android:name="org.citra.citra_emu.features.cheats.ui.CheatDetailsFragment" /> + +</androidx.slidingpanelayout.widget.SlidingPaneLayout> diff --git a/src/android/app/src/main/res/layout/activity_emulation.xml b/src/android/app/src/main/res/layout/activity_emulation.xml new file mode 100644 index 000000000..7d7f36925 --- /dev/null +++ b/src/android/app/src/main/res/layout/activity_emulation.xml @@ -0,0 +1,17 @@ +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/frame_content" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <FrameLayout + android:id="@+id/frame_emulation_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + + <ImageView + android:id="@+id/image_icon" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:transitionName="image_game_icon" /> + +</FrameLayout>
\ No newline at end of file diff --git a/src/android/app/src/main/res/layout/activity_main.xml b/src/android/app/src/main/res/layout/activity_main.xml new file mode 100644 index 000000000..cea0922a7 --- /dev/null +++ b/src/android/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/coordinator_main" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <FrameLayout + android:id="@+id/games_platform_frame" + android:layout_width="match_parent" + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + + <com.google.android.material.appbar.AppBarLayout + android:id="@+id/appbar" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <androidx.appcompat.widget.Toolbar + android:id="@+id/toolbar_main" + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" + android:background="?colorPrimary"/> + + </com.google.android.material.appbar.AppBarLayout> + +</androidx.coordinatorlayout.widget.CoordinatorLayout> diff --git a/src/android/app/src/main/res/layout/activity_settings.xml b/src/android/app/src/main/res/layout/activity_settings.xml new file mode 100644 index 000000000..11b91c45f --- /dev/null +++ b/src/android/app/src/main/res/layout/activity_settings.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:id="@+id/frame_content" /> diff --git a/src/android/app/src/main/res/layout/card_game.xml b/src/android/app/src/main/res/layout/card_game.xml new file mode 100644 index 000000000..217f02d34 --- /dev/null +++ b/src/android/app/src/main/res/layout/card_game.xml @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:clickable="true" + android:focusable="true" + android:foreground="?android:attr/selectableItemBackground" + android:transitionName="card_game" + tools:layout_width="match_parent"> + + <androidx.constraintlayout.widget.ConstraintLayout + android:id="@+id/linearLayout" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="8dp"> + + <ImageView + android:id="@+id/image_game_screen" + android:layout_width="56dp" + android:layout_height="56dp" + android:adjustViewBounds="false" + android:cropToPadding="false" + android:scaleType="fitCenter" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + tools:scaleType="fitCenter" /> + + <TextView + android:id="@+id/text_game_title" + style="@android:style/TextAppearance.Material.Subhead" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:baselineAligned="false" + android:ellipsize="end" + android:gravity="center_vertical" + android:lines="1" + android:maxLines="1" + android:textAlignment="viewStart" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@+id/image_game_screen" + app:layout_constraintTop_toTopOf="parent" + tools:text="The Legend of Zelda\nOcarina of Time 3D" + android:textColor="@color/header_text" /> + + <TextView + android:id="@+id/text_company" + style="@android:style/TextAppearance.Material.Caption" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:ellipsize="end" + android:lines="1" + android:maxLines="1" + app:layout_constraintBottom_toBottomOf="@+id/image_game_screen" + app:layout_constraintStart_toStartOf="@+id/text_game_title" + app:layout_constraintTop_toBottomOf="@+id/text_game_title" + app:layout_constraintVertical_bias="0.842" + tools:text="Nintendo" + android:textColor="@color/header_subtext" /> + + <TextView + android:id="@+id/text_filename" + style="@android:style/TextAppearance.Material.Caption" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:ellipsize="end" + android:lines="1" + android:maxLines="1" + app:layout_constraintBottom_toBottomOf="@+id/image_game_screen" + app:layout_constraintStart_toStartOf="@+id/text_game_title" + app:layout_constraintTop_toBottomOf="@+id/text_game_title" + app:layout_constraintVertical_bias="0.0" + tools:text="Pilotwings_Resort.cxi" + android:textColor="@color/header_subtext" /> + + </androidx.constraintlayout.widget.ConstraintLayout> + +</androidx.cardview.widget.CardView> diff --git a/src/android/app/src/main/res/layout/dialog_checkbox.xml b/src/android/app/src/main/res/layout/dialog_checkbox.xml new file mode 100644 index 000000000..c0f307117 --- /dev/null +++ b/src/android/app/src/main/res/layout/dialog_checkbox.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:paddingTop="5dp" + android:paddingLeft="20dp" + android:paddingRight="20dp" + android:paddingBottom="0dp" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <CheckBox + android:id="@+id/checkBox" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/do_not_show_this_again" /> +</LinearLayout> diff --git a/src/android/app/src/main/res/layout/dialog_progress_bar.xml b/src/android/app/src/main/res/layout/dialog_progress_bar.xml new file mode 100644 index 000000000..a81157a29 --- /dev/null +++ b/src/android/app/src/main/res/layout/dialog_progress_bar.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <ProgressBar + android:id="@+id/progress_bar" + style="?android:attr/progressBarStyleHorizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/spacing_large" + android:layout_marginRight="@dimen/spacing_large" + android:layout_alignParentEnd="true" + android:layout_below="@+id/progress_text" + android:layout_alignParentStart="true"/> + + <TextView + android:id="@+id/progress_text" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/spacing_large" + android:layout_marginRight="@dimen/spacing_large" + android:gravity="right" + android:text="1/100" /> +</LinearLayout>
\ No newline at end of file diff --git a/src/android/app/src/main/res/layout/dialog_seekbar.xml b/src/android/app/src/main/res/layout/dialog_seekbar.xml new file mode 100644 index 000000000..35abecfcb --- /dev/null +++ b/src/android/app/src/main/res/layout/dialog_seekbar.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <SeekBar + android:id="@+id/seekbar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/spacing_large" + android:layout_marginRight="@dimen/spacing_large" + android:layout_alignParentEnd="true" + android:layout_alignParentStart="true" + android:layout_below="@+id/text_value" + android:layout_marginBottom="@dimen/spacing_medlarge" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + tools:text="75" + android:id="@+id/text_value" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:layout_marginTop="@dimen/spacing_medlarge" + android:layout_marginBottom="@dimen/spacing_medlarge" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + tools:text="%" + android:id="@+id/text_units" + android:layout_alignTop="@+id/text_value" + android:layout_toEndOf="@+id/text_value" /> + +</RelativeLayout>
\ No newline at end of file diff --git a/src/android/app/src/main/res/layout/filepicker_toolbar.xml b/src/android/app/src/main/res/layout/filepicker_toolbar.xml new file mode 100644 index 000000000..644934171 --- /dev/null +++ b/src/android/app/src/main/res/layout/filepicker_toolbar.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.appcompat.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/nnf_picker_toolbar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:background="?attr/colorPrimary" + android:minHeight="?attr/actionBarSize" + android:theme="?nnf_toolbarTheme"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <TextView + android:id="@+id/filepicker_title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ellipsize="start" + android:singleLine="true" + android:textAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Title" /> + + <TextView + android:id="@+id/nnf_current_dir" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ellipsize="start" + android:singleLine="true" + android:textAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle" /> + </LinearLayout> +</androidx.appcompat.widget.Toolbar> diff --git a/src/android/app/src/main/res/layout/fragment_cheat_details.xml b/src/android/app/src/main/res/layout/fragment_cheat_details.xml new file mode 100644 index 000000000..25b1a268a --- /dev/null +++ b/src/android/app/src/main/res/layout/fragment_cheat_details.xml @@ -0,0 +1,163 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.constraintlayout.widget.ConstraintLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/root" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <ScrollView + android:id="@+id/scroll_view" + android:layout_width="match_parent" + android:layout_height="0dp" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toTopOf="@id/barrier"> + + <androidx.constraintlayout.widget.ConstraintLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/label_name" + android:layout_width="match_parent" + android:layout_height="wrap_content" + style="@style/TextAppearance.MaterialComponents.Headline5" + android:textSize="18sp" + android:text="@string/cheats_name" + android:layout_margin="@dimen/spacing_large" + android:labelFor="@id/edit_name" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toTopOf="@id/edit_name" /> + + <EditText + android:id="@+id/edit_name" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="48dp" + android:layout_marginHorizontal="@dimen/spacing_large" + android:importantForAutofill="no" + android:inputType="text" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/label_name" + app:layout_constraintBottom_toTopOf="@id/label_notes" + tools:text="Max Lives after losing 1" /> + + <TextView + android:id="@+id/label_notes" + android:layout_width="match_parent" + android:layout_height="wrap_content" + style="@style/TextAppearance.MaterialComponents.Headline5" + android:textSize="18sp" + android:text="@string/cheats_notes" + android:layout_margin="@dimen/spacing_large" + android:labelFor="@id/edit_notes" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/edit_name" + app:layout_constraintBottom_toTopOf="@id/edit_notes" /> + + <EditText + android:id="@+id/edit_notes" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="48dp" + android:layout_marginHorizontal="@dimen/spacing_large" + android:importantForAutofill="no" + android:inputType="textMultiLine" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/label_notes" + app:layout_constraintBottom_toTopOf="@id/label_code" /> + + <TextView + android:id="@+id/label_code" + android:layout_width="match_parent" + android:layout_height="wrap_content" + style="@style/TextAppearance.MaterialComponents.Headline5" + android:textSize="18sp" + android:text="@string/cheats_code" + android:layout_margin="@dimen/spacing_large" + android:labelFor="@id/edit_code" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/edit_notes" + app:layout_constraintBottom_toTopOf="@id/edit_code" /> + + <EditText + android:id="@+id/edit_code" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="108sp" + android:layout_marginHorizontal="@dimen/spacing_large" + android:importantForAutofill="no" + android:inputType="textMultiLine" + android:typeface="monospace" + android:gravity="start" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/label_code" + app:layout_constraintBottom_toBottomOf="parent" + tools:text="D3000000 00000000\n00138C78 E1C023BE" /> + + </androidx.constraintlayout.widget.ConstraintLayout> + + </ScrollView> + + <androidx.constraintlayout.widget.Barrier + android:id="@+id/barrier" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + app:barrierDirection="top" + app:constraint_referenced_ids="button_delete,button_edit,button_cancel,button_ok" /> + + <Button + android:id="@+id/button_delete" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_margin="@dimen/spacing_large" + android:text="@string/cheats_delete" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toStartOf="@id/button_edit" + app:layout_constraintTop_toBottomOf="@id/barrier" + app:layout_constraintBottom_toBottomOf="parent" /> + + <Button + android:id="@+id/button_edit" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_margin="@dimen/spacing_large" + android:text="@string/cheats_edit" + app:layout_constraintStart_toEndOf="@id/button_delete" + app:layout_constraintEnd_toStartOf="@id/button_cancel" + app:layout_constraintTop_toBottomOf="@id/barrier" + app:layout_constraintBottom_toBottomOf="parent" /> + + <Button + android:id="@+id/button_cancel" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_margin="@dimen/spacing_large" + android:text="@android:string/cancel" + app:layout_constraintStart_toEndOf="@id/button_edit" + app:layout_constraintEnd_toStartOf="@id/button_ok" + app:layout_constraintTop_toBottomOf="@id/barrier" + app:layout_constraintBottom_toBottomOf="parent" /> + + <Button + android:id="@+id/button_ok" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_margin="@dimen/spacing_large" + android:text="@android:string/ok" + app:layout_constraintStart_toEndOf="@id/button_cancel" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/barrier" + app:layout_constraintBottom_toBottomOf="parent" /> + +</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/src/android/app/src/main/res/layout/fragment_cheat_list.xml b/src/android/app/src/main/res/layout/fragment_cheat_list.xml new file mode 100644 index 000000000..679a49c28 --- /dev/null +++ b/src/android/app/src/main/res/layout/fragment_cheat_list.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.constraintlayout.widget.ConstraintLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/cheat_list" + android:layout_width="match_parent" + android:layout_height="0dp" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" /> + + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/fab" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_add" + android:contentDescription="@string/cheats_add" + android:layout_margin="16dp" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintBottom_toBottomOf="parent" /> + +</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/src/android/app/src/main/res/layout/fragment_emulation.xml b/src/android/app/src/main/res/layout/fragment_emulation.xml new file mode 100644 index 000000000..d6e47e1e4 --- /dev/null +++ b/src/android/app/src/main/res/layout/fragment_emulation.xml @@ -0,0 +1,47 @@ +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:keepScreenOn="true" + tools:context="org.citra.citra_emu.fragments.EmulationFragment"> + + <!-- This is what everything is rendered to during emulation --> + <SurfaceView + android:id="@+id/surface_emulation" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:focusable="false" + android:focusableInTouchMode="false" /> + + <!-- This is the onscreen input overlay --> + <org.citra.citra_emu.overlay.InputOverlay + android:id="@+id/surface_input_overlay" + android:layout_height="match_parent" + android:layout_width="match_parent" + android:focusable="true" + android:focusableInTouchMode="true" /> + + <TextView + android:id="@+id/show_fps_text" + android:layout_marginStart="8dp" + android:layout_marginTop="2dp" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:clickable="false" + android:linksClickable="false" + android:longClickable="false" + android:shadowColor="@android:color/black" + android:textColor="@android:color/white" + android:textSize="12sp" /> + + <Button + android:id="@+id/done_control_config" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:padding="@dimen/spacing_small" + android:background="@color/citra_orange" + android:text="@string/emulation_done" + android:visibility="gone" /> + +</FrameLayout> diff --git a/src/android/app/src/main/res/layout/fragment_grid.xml b/src/android/app/src/main/res/layout/fragment_grid.xml new file mode 100644 index 000000000..f5b6c2e19 --- /dev/null +++ b/src/android/app/src/main/res/layout/fragment_grid.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout + android:id="@+id/refresh_grid_games" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + android:id="@+id/gamelist_empty_text" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:text="@string/empty_gamelist" + android:visibility="gone" + android:textSize="18sp" + android:gravity="center" /> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/grid_games" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:listitem="@layout/card_game" /> + </RelativeLayout> + + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> +</FrameLayout>
\ No newline at end of file diff --git a/src/android/app/src/main/res/layout/fragment_settings.xml b/src/android/app/src/main/res/layout/fragment_settings.xml new file mode 100644 index 000000000..4c5d597c1 --- /dev/null +++ b/src/android/app/src/main/res/layout/fragment_settings.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<org.citra.citra_emu.features.settings.ui.SettingsFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/list_settings" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@color/card_view_background" /> + +</org.citra.citra_emu.features.settings.ui.SettingsFrameLayout>
\ No newline at end of file diff --git a/src/android/app/src/main/res/layout/list_item_cheat.xml b/src/android/app/src/main/res/layout/list_item_cheat.xml new file mode 100644 index 000000000..c0b5f982f --- /dev/null +++ b/src/android/app/src/main/res/layout/list_item_cheat.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.constraintlayout.widget.ConstraintLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/root" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:focusable="true" + android:nextFocusRight="@id/checkbox"> + + <TextView + android:id="@+id/text_name" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:textColor="@color/header_text" + android:textSize="16sp" + android:layout_margin="@dimen/spacing_large" + style="@style/TextAppearance.AppCompat.Headline" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toStartOf="@id/checkbox" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + tools:text="Max Lives after losing 1" /> + + <CheckBox + android:id="@+id/checkbox" + android:layout_width="48dp" + android:layout_height="64dp" + android:focusable="true" + android:gravity="center" + android:nextFocusLeft="@id/root" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@id/text_name" + app:layout_constraintTop_toTopOf="parent" /> + +</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/src/android/app/src/main/res/layout/list_item_setting.xml b/src/android/app/src/main/res/layout/list_item_setting.xml new file mode 100644 index 000000000..df83684f7 --- /dev/null +++ b/src/android/app/src/main/res/layout/list_item_setting.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:clickable="true" + android:focusable="true" + android:gravity="center_vertical" + android:minHeight="72dp" + android:paddingTop="@dimen/spacing_large" + android:paddingBottom="@dimen/spacing_large"> + + <TextView + android:id="@+id/text_setting_name" + style="@style/TextAppearance.AppCompat.Headline" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_alignParentStart="true" + android:layout_alignParentTop="true" + android:layout_alignParentEnd="true" + android:layout_marginStart="@dimen/spacing_large" + android:layout_marginEnd="@dimen/spacing_large" + android:textColor="@color/header_text" + android:textSize="16sp" + tools:text="Setting Name" /> + + <TextView + android:id="@+id/text_setting_description" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@+id/text_setting_name" + android:layout_alignStart="@+id/text_setting_name" + android:layout_alignParentStart="true" + android:layout_alignParentEnd="true" + android:layout_marginStart="@dimen/spacing_large" + android:layout_marginTop="@dimen/spacing_small" + android:layout_marginEnd="@dimen/spacing_large" + android:visibility="visible" + tools:text="@string/app_disclaimer" + android:textColor="@color/header_subtext" /> + +</RelativeLayout>
\ No newline at end of file diff --git a/src/android/app/src/main/res/layout/list_item_setting_checkbox.xml b/src/android/app/src/main/res/layout/list_item_setting_checkbox.xml new file mode 100644 index 000000000..86ba83f11 --- /dev/null +++ b/src/android/app/src/main/res/layout/list_item_setting_checkbox.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="72dp" + android:background="?android:attr/selectableItemBackground" + android:focusable="true" + android:clickable="true"> + + <TextView + android:id="@+id/text_setting_name" + style="@style/TextAppearance.AppCompat.Headline" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_alignParentStart="true" + android:layout_alignParentTop="true" + android:layout_marginEnd="@dimen/spacing_large" + android:layout_marginStart="@dimen/spacing_large" + android:layout_marginTop="@dimen/spacing_large" + android:layout_toStartOf="@+id/checkbox" + android:textColor="@color/header_text" + android:textSize="16sp" + tools:text="@string/frame_limit_enable" /> + + <TextView + android:id="@+id/text_setting_description" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentStart="true" + android:layout_alignStart="@+id/text_setting_name" + android:layout_below="@+id/text_setting_name" + android:layout_marginBottom="@dimen/spacing_large" + android:layout_marginEnd="@dimen/spacing_large" + android:layout_marginStart="@dimen/spacing_large" + android:layout_marginTop="@dimen/spacing_small" + android:layout_toStartOf="@+id/checkbox" + android:textAlignment="textStart" + android:textColor="@color/header_subtext" + tools:text="@string/frame_limit_enable_description" /> + + <CheckBox + android:id="@+id/checkbox" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentEnd="true" + android:layout_centerVertical="true" + android:layout_marginEnd="@dimen/spacing_large" + android:focusable="false" + android:clickable="false" /> + +</RelativeLayout>
\ No newline at end of file diff --git a/src/android/app/src/main/res/layout/list_item_settings_header.xml b/src/android/app/src/main/res/layout/list_item_settings_header.xml new file mode 100644 index 000000000..d220dfd61 --- /dev/null +++ b/src/android/app/src/main/res/layout/list_item_settings_header.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="48dp"> + + <TextView + android:id="@+id/text_header_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:layout_marginStart="@dimen/spacing_large" + android:layout_marginBottom="@dimen/spacing_small" + android:layout_marginTop="@dimen/spacing_small" + android:textColor="?android:colorAccent" + android:textStyle="bold" + tools:text="CPU Settings" /> + +</FrameLayout>
\ No newline at end of file diff --git a/src/android/app/src/main/res/layout/premium_item_setting.xml b/src/android/app/src/main/res/layout/premium_item_setting.xml new file mode 100644 index 000000000..17d5a13b2 --- /dev/null +++ b/src/android/app/src/main/res/layout/premium_item_setting.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:clickable="true" + android:focusable="true" + android:gravity="center_vertical" + android:minHeight="72dp" + android:paddingTop="@dimen/spacing_large" + android:paddingBottom="@dimen/spacing_large"> + + <TextView + android:id="@+id/text_setting_name" + style="@style/TextAppearance.AppCompat.Headline" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_alignParentStart="true" + android:layout_alignParentTop="true" + android:layout_alignParentEnd="true" + android:layout_marginStart="@dimen/spacing_large" + android:layout_marginEnd="@dimen/spacing_large" + android:textColor="?android:colorAccent" + android:textStyle="bold" + tools:text="Setting Name" /> + + <TextView + android:id="@+id/text_setting_description" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@+id/text_setting_name" + android:layout_alignStart="@+id/text_setting_name" + android:layout_alignParentStart="true" + android:layout_alignParentEnd="true" + android:layout_marginStart="@dimen/spacing_large" + android:layout_marginTop="@dimen/spacing_small" + android:layout_marginEnd="@dimen/spacing_large" + android:visibility="visible" + tools:text="@string/app_disclaimer" + android:textColor="@color/header_subtext" /> + +</RelativeLayout>
\ No newline at end of file diff --git a/src/android/app/src/main/res/layout/sysclock_datetime_picker.xml b/src/android/app/src/main/res/layout/sysclock_datetime_picker.xml new file mode 100644 index 000000000..d082f5283 --- /dev/null +++ b/src/android/app/src/main/res/layout/sysclock_datetime_picker.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:padding="8dp" + android:gravity="center"> + + <DatePicker + android:id="@+id/date_picker" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:calendarViewShown="false" + android:datePickerMode="spinner" + android:spinnersShown="true" /> + + <TimePicker + android:id="@+id/time_picker" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:timePickerMode="spinner" /> +</LinearLayout> diff --git a/src/android/app/src/main/res/menu/menu_emulation.xml b/src/android/app/src/main/res/menu/menu_emulation.xml new file mode 100644 index 000000000..b6c0d7cc4 --- /dev/null +++ b/src/android/app/src/main/res/menu/menu_emulation.xml @@ -0,0 +1,118 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" + tools:context="org.citra.citra_emu.activities.EmulationActivity"> + + <item + android:id="@+id/menu_emulation_save_state" + android:title="@string/emulation_save_state"> + <menu/> + </item> + + <item + android:id="@+id/menu_emulation_load_state" + android:title="@string/emulation_load_state"> + <menu/> + </item> + + <item + android:id="@+id/menu_emulation_configure_controls" + android:title="@string/emulation_configure_controls"> + <menu> + <item + android:id="@+id/menu_emulation_edit_layout" + android:title="@string/emulation_edit_layout" /> + + <item + android:id="@+id/menu_emulation_toggle_controls" + android:title="@string/emulation_toggle_controls" /> + + <item + android:id="@+id/menu_emulation_adjust_scale" + android:title="@string/emulation_control_scale" /> + + <group android:checkableBehavior="all"> + <item + android:id="@+id/menu_emulation_joystick_rel_center" + android:checkable="true" + android:title="@string/emulation_control_joystick_rel_center"/> + <item + android:id="@+id/menu_emulation_dpad_slide_enable" + android:checkable="true" + android:title="@string/emulation_control_dpad_slide_enable" /> + </group> + + <item + android:id="@+id/menu_emulation_reset_overlay" + android:title="@string/emulation_touch_overlay_reset" /> + </menu> + </item> + + <item + android:id="@+id/menu_emulation_amiibo" + android:title="@string/menu_emulation_amiibo"> + <menu> + <item + android:id="@+id/menu_emulation_amiibo_load" + android:title="@string/menu_emulation_amiibo_load" /> + + <item + android:id="@+id/menu_emulation_amiibo_remove" + android:title="@string/menu_emulation_amiibo_remove" /> + </menu> + </item> + + <item + android:id="@+id/menu_emulation_switch_screen_layout" + app:showAsAction="never" + android:title="@string/emulation_switch_screen_layout"> + <menu> + <group android:checkableBehavior="single"> + <item + android:id="@+id/menu_screen_layout_landscape" + android:title="@string/emulation_screen_layout_landscape" /> + + <item + android:id="@+id/menu_screen_layout_portrait" + android:title="@string/emulation_screen_layout_portrait" /> + + <item + android:id="@+id/menu_screen_layout_single" + android:title="@string/emulation_screen_layout_single" /> + + <item + android:id="@+id/menu_screen_layout_sidebyside" + android:title="@string/emulation_screen_layout_sidebyside" /> + </group> + </menu> + </item> + + <item + android:id="@+id/menu_emulation_swap_screens" + app:showAsAction="never" + android:title="@string/emulation_swap_screens" + android:checkable="true" /> + + <item + android:id="@+id/menu_emulation_show_fps" + app:showAsAction="never" + android:title="@string/emulation_show_fps" + android:checkable="true" /> + + <item + android:id="@+id/menu_emulation_show_overlay" + app:showAsAction="never" + android:title="@string/emulation_show_overlay" + android:checkable="true" /> + + <item + android:id="@+id/menu_emulation_open_cheats" + app:showAsAction="never" + android:title="@string/emulation_open_cheats" /> + + <item + android:id="@+id/menu_emulation_open_settings" + app:showAsAction="never" + android:title="@string/emulation_open_settings" /> + +</menu> diff --git a/src/android/app/src/main/res/menu/menu_game_grid.xml b/src/android/app/src/main/res/menu/menu_game_grid.xml new file mode 100644 index 000000000..9cdcc7f08 --- /dev/null +++ b/src/android/app/src/main/res/menu/menu_game_grid.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + + <item + android:id="@+id/button_premium" + android:icon="@drawable/ic_premium" + android:title="@string/premium_text" + app:showAsAction="ifRoom" /> + <item + android:id="@+id/button_file_menu" + android:icon="@drawable/ic_folder" + android:title="@string/select_game_folder" + app:showAsAction="ifRoom"> + <menu> + <item + android:id="@+id/button_add_directory" + android:icon="@drawable/ic_folder" + android:title="@string/select_game_folder" + app:showAsAction="ifRoom" /> + <item + android:id="@+id/button_install_cia" + android:icon="@drawable/ic_cia_install" + android:title="@string/install_cia_title" + app:showAsAction="ifRoom" /> + </menu> + </item> + <item + android:id="@+id/menu_settings_core" + android:icon="@drawable/ic_settings_core" + android:title="@string/grid_menu_core_settings" + app:showAsAction="ifRoom" /> + +</menu> diff --git a/src/android/app/src/main/res/menu/menu_settings.xml b/src/android/app/src/main/res/menu/menu_settings.xml new file mode 100644 index 000000000..1fe7aa6d4 --- /dev/null +++ b/src/android/app/src/main/res/menu/menu_settings.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu />
\ No newline at end of file diff --git a/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 000000000..c9ad5f98f --- /dev/null +++ b/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> + <background android:drawable="@color/ic_launcher_background" /> + <foreground android:drawable="@mipmap/ic_launcher_foreground" /> +</adaptive-icon>
\ No newline at end of file diff --git a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differnew file mode 100644 index 000000000..57ea32d88 --- /dev/null +++ b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 000000000..18cc694d1 --- /dev/null +++ b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png diff --git a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differnew file mode 100644 index 000000000..7052f4077 --- /dev/null +++ b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 000000000..0e7cdeed6 --- /dev/null +++ b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png diff --git a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differnew file mode 100644 index 000000000..4d3e9fc41 --- /dev/null +++ b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 000000000..b57a8d623 --- /dev/null +++ b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png diff --git a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differnew file mode 100644 index 000000000..d2c6d0692 --- /dev/null +++ b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 000000000..22f6eb36f --- /dev/null +++ b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png diff --git a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differnew file mode 100644 index 000000000..1aa7f3ae2 --- /dev/null +++ b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 000000000..b57c8f75b --- /dev/null +++ b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png diff --git a/src/android/app/src/main/res/values-night/colors.xml b/src/android/app/src/main/res/values-night/colors.xml new file mode 100644 index 000000000..43b948021 --- /dev/null +++ b/src/android/app/src/main/res/values-night/colors.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <color name="citra_orange">#272727</color> + <color name="citra_orange_dark">#121212</color> + <color name="citra_accent">#FEC303</color> + + <color name="card_view_background">#121212</color> + <color name="card_view_disabled">#3D3D3D</color> + + <color name="gamelist_divider">#404040</color> + + <color name="header_text">#E0E0E0</color> + <color name="header_subtext">#A0A0A0</color> + + <color name="citra_logo_text_color">@color/citra_accent</color> +</resources> diff --git a/src/android/app/src/main/res/values-night/styles_filepicker.xml b/src/android/app/src/main/res/values-night/styles_filepicker.xml new file mode 100644 index 000000000..1a175cdcf --- /dev/null +++ b/src/android/app/src/main/res/values-night/styles_filepicker.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <style name="FilePickerBaseTheme" parent="NNF_BaseTheme" /> +</resources> diff --git a/src/android/app/src/main/res/values-w1000dp/integers.xml b/src/android/app/src/main/res/values-w1000dp/integers.xml new file mode 100644 index 000000000..5cd4e24f3 --- /dev/null +++ b/src/android/app/src/main/res/values-w1000dp/integers.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <integer name="game_grid_columns">4</integer> +</resources>
\ No newline at end of file diff --git a/src/android/app/src/main/res/values-w1050dp/dimens.xml b/src/android/app/src/main/res/values-w1050dp/dimens.xml new file mode 100644 index 000000000..92fcb2b66 --- /dev/null +++ b/src/android/app/src/main/res/values-w1050dp/dimens.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- Example customization of dimensions originally defined in res/values/dimens.xml + (such as screen margins) for screens with more than 1024dp of available width. --> + <dimen name="activity_horizontal_margin">96dp</dimen> +</resources> diff --git a/src/android/app/src/main/res/values-w500dp/integers.xml b/src/android/app/src/main/res/values-w500dp/integers.xml new file mode 100644 index 000000000..d2955c0ae --- /dev/null +++ b/src/android/app/src/main/res/values-w500dp/integers.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <integer name="game_grid_columns">2</integer> +</resources>
\ No newline at end of file diff --git a/src/android/app/src/main/res/values-w750dp/integers.xml b/src/android/app/src/main/res/values-w750dp/integers.xml new file mode 100644 index 000000000..f049d8b44 --- /dev/null +++ b/src/android/app/src/main/res/values-w750dp/integers.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <integer name="game_grid_columns">3</integer> +</resources>
\ No newline at end of file diff --git a/src/android/app/src/main/res/values-w820dp/dimens.xml b/src/android/app/src/main/res/values-w820dp/dimens.xml new file mode 100644 index 000000000..d27181e85 --- /dev/null +++ b/src/android/app/src/main/res/values-w820dp/dimens.xml @@ -0,0 +1,5 @@ +<resources> + <!-- Example customization of dimensions originally defined in res/values/dimens.xml + (such as screen margins) for screens with more than 820dp of available width. --> + <dimen name="activity_horizontal_margin">64dp</dimen> +</resources> diff --git a/src/android/app/src/main/res/values/arrays.xml b/src/android/app/src/main/res/values/arrays.xml new file mode 100644 index 000000000..c948e6a8b --- /dev/null +++ b/src/android/app/src/main/res/values/arrays.xml @@ -0,0 +1,174 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- All lists for ListPreference keys/values are placed here --> +<resources> + <string-array name="systemClockNames" translatable="true"> + <item>Device clock</item> + <item>Simulated clock</item> + </string-array> + + <integer-array name="systemClockValues" translatable="false"> + <item>0</item> + <item>1</item> + </integer-array> + + <string-array name="designNames" translatable="true"> + <item>Light</item> + <item>Dark</item> + <item>System default</item> + </string-array> + + <integer-array name="designValues" translatable="false"> + <item>0</item> + <item>1</item> + <item>2</item> + </integer-array> + + <!-- Pre-Android 10 does not support System Default --> + <string-array name="designNamesOld" translatable="true"> + <item>Light</item> + <item>Dark</item> + </string-array> + + <!-- Pre-Android 10 does not support System Default --> + <integer-array name="designValuesOld" translatable="false"> + <item>0</item> + <item>1</item> + </integer-array> + + <string-array name="regionNames"> + <item>Auto-select</item> + <item>Japan</item> + <item>USA</item> + <item>Europe</item> + <item>Australia</item> + <item>China</item> + <item>Korea</item> + <item>Taiwan</item> + </string-array> + + <integer-array name="regionValues"> + <item>-1</item> + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>5</item> + <item>6</item> + </integer-array> + + <string-array name="languageNames"> + <item>Japanese (日本語)</item> + <item>English</item> + <item>French (français)</item> + <item>German (Deutsch)</item> + <item>Italian (italiano)</item> + <item>Spanish (español)</item> + <item>Simplified Chinese (简体中文)</item> + <item>Korean (한국어)</item> + <item>Dutch (Nederlands)</item> + <item>Portuguese (português)</item> + <item>Russian (Русский)</item> + <item>Traditional Chinese (正體中文)</item> + </string-array> + + <integer-array name="languageValues"> + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>5</item> + <item>6</item> + <item>7</item> + <item>8</item> + <item>9</item> + <item>10</item> + <item>11</item> + </integer-array> + + <string-array name="n3dsButtons"> + <item>a</item> + <item>b</item> + <item>x</item> + <item>y</item> + <item>L</item> + <item>R</item> + <item>ZL</item> + <item>ZR</item> + <item>Start</item> + <item>Select</item> + <item>D-Pad</item> + <item>Circle Pad</item> + <item>C Stick</item> + </string-array> + + <string-array name="cameraImageSourceNames"> + <item>Blank</item> + <item>Still Image</item> + <item>Device Camera</item> + </string-array> + + <string-array name="cameraImageSourceValues"> + <item>blank</item> + <item>image</item> + <item>ndk</item> + </string-array> + + <string-array name="cameraDeviceNames"> + <item>Default</item> + <item>Any Front Camera</item> + <item>Any Back Camera</item> + </string-array> + + <string-array name="cameraDeviceValues"> + <item /> + <item>_front</item> + <item>_back</item> + </string-array> + + <string-array name="cameraFlipNames"> + <item>None</item> + <item>Horizontal</item> + <item>Vertical</item> + <item>Reverse</item> + </string-array> + + <integer-array name="cameraFlipValues"> + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + </integer-array> + + <string-array name="audioInputTypeNames"> + <item>None</item> + <item>Real Device</item> + <item>Static Noise</item> + </string-array> + + <integer-array name="audioInputTypeValues"> + <item>0</item> + <item>1</item> + <item>2</item> + </integer-array> + + <string-array name="render3dModes"> + <item>Off</item> + <item>Side by Side</item> + <item>Anaglyph</item> + <item>Interlaced</item> + <item>Reverse Interlaced</item> + <item>Cardboard VR</item> + </string-array> + + <integer-array name="render3dValues"> + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>5</item> + </integer-array> +</resources> diff --git a/src/android/app/src/main/res/values/colors.xml b/src/android/app/src/main/res/values/colors.xml new file mode 100644 index 000000000..6668288a7 --- /dev/null +++ b/src/android/app/src/main/res/values/colors.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <color name="citra_orange">#FFC303</color> + <color name="citra_orange_dark">#FF8D03</color> + <color name="citra_accent">#CC7102</color> + + <color name="card_view_background">#ffffff</color> + <color name="card_view_disabled">#D5D5D5</color> + + <color name="gamelist_divider">#ffffff</color> + + <color name="header_text">#1C1424</color> + <color name="header_subtext">#5C5661</color> + + <color name="citra_logo_text_color">@color/header_text</color> +</resources> diff --git a/src/android/app/src/main/res/values/dimens.xml b/src/android/app/src/main/res/values/dimens.xml new file mode 100644 index 000000000..b3d186d88 --- /dev/null +++ b/src/android/app/src/main/res/values/dimens.xml @@ -0,0 +1,10 @@ +<resources> + <!-- Default screen margins, per the Android Design guidelines. --> + <dimen name="activity_horizontal_margin">16dp</dimen> + + <dimen name="spacing_small">4dp</dimen> + <dimen name="spacing_medlarge">12dp</dimen> + <dimen name="spacing_large">16dp</dimen> + + <dimen name="dialog_margin">20dp</dimen> +</resources> diff --git a/src/android/app/src/main/res/values/ic_launcher_background.xml b/src/android/app/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 000000000..c5d5899fd --- /dev/null +++ b/src/android/app/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="ic_launcher_background">#FFFFFF</color> +</resources>
\ No newline at end of file diff --git a/src/android/app/src/main/res/values/integers.xml b/src/android/app/src/main/res/values/integers.xml new file mode 100644 index 000000000..9f6d8492e --- /dev/null +++ b/src/android/app/src/main/res/values/integers.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <integer name="game_grid_columns">1</integer> + + <!-- Default N3DS landscape layout --> + <integer name="N3DS_BUTTON_A_X">930</integer> + <integer name="N3DS_BUTTON_A_Y">620</integer> + <integer name="N3DS_BUTTON_B_X">870</integer> + <integer name="N3DS_BUTTON_B_Y">720</integer> + <integer name="N3DS_BUTTON_X_X">870</integer> + <integer name="N3DS_BUTTON_X_Y">520</integer> + <integer name="N3DS_BUTTON_Y_X">810</integer> + <integer name="N3DS_BUTTON_Y_Y">620</integer> + <integer name="N3DS_BUTTON_UP_X">15</integer> + <integer name="N3DS_BUTTON_UP_Y">470</integer> + <integer name="N3DS_TRIGGER_L_X">13</integer> + <integer name="N3DS_TRIGGER_L_Y">0</integer> + <integer name="N3DS_BUTTON_ZL_X">13</integer> + <integer name="N3DS_BUTTON_ZL_Y">110</integer> + <integer name="N3DS_TRIGGER_R_X">895</integer> + <integer name="N3DS_TRIGGER_R_Y">0</integer> + <integer name="N3DS_BUTTON_ZR_X">895</integer> + <integer name="N3DS_BUTTON_ZR_Y">110</integer> + <integer name="N3DS_STICK_C_X">740</integer> + <integer name="N3DS_STICK_C_Y">770</integer> + <integer name="N3DS_STICK_MAIN_X">100</integer> + <integer name="N3DS_STICK_MAIN_Y">670</integer> + <integer name="N3DS_BUTTON_SELECT_X">470</integer> + <integer name="N3DS_BUTTON_SELECT_Y">850</integer> + <integer name="N3DS_BUTTON_START_X">550</integer> + <integer name="N3DS_BUTTON_START_Y">850</integer> + <integer name="N3DS_BUTTON_HOME_X">450</integer> + <integer name="N3DS_BUTTON_HOME_Y">850</integer> + + <!-- Default N3DS portrait layout --> + <integer name="N3DS_BUTTON_A_PORTRAIT_X">810</integer> + <integer name="N3DS_BUTTON_A_PORTRAIT_Y">870</integer> + <integer name="N3DS_BUTTON_B_PORTRAIT_X">710</integer> + <integer name="N3DS_BUTTON_B_PORTRAIT_Y">925</integer> + <integer name="N3DS_BUTTON_X_PORTRAIT_X">710</integer> + <integer name="N3DS_BUTTON_X_PORTRAIT_Y">815</integer> + <integer name="N3DS_BUTTON_Y_PORTRAIT_X">610</integer> + <integer name="N3DS_BUTTON_Y_PORTRAIT_Y">870</integer> + <integer name="N3DS_BUTTON_UP_PORTRAIT_X">10</integer> + <integer name="N3DS_BUTTON_UP_PORTRAIT_Y">680</integer> + <integer name="N3DS_TRIGGER_L_PORTRAIT_X">10</integer> + <integer name="N3DS_TRIGGER_L_PORTRAIT_Y">0</integer> + <integer name="N3DS_BUTTON_ZL_PORTRAIT_X">10</integer> + <integer name="N3DS_BUTTON_ZL_PORTRAIT_Y">70</integer> + <integer name="N3DS_TRIGGER_R_PORTRAIT_X">810</integer> + <integer name="N3DS_TRIGGER_R_PORTRAIT_Y">0</integer> + <integer name="N3DS_BUTTON_ZR_PORTRAIT_X">810</integer> + <integer name="N3DS_BUTTON_ZR_PORTRAIT_Y">70</integer> + <integer name="N3DS_STICK_C_PORTRAIT_X">800</integer> + <integer name="N3DS_STICK_C_PORTRAIT_Y">710</integer> + <integer name="N3DS_STICK_MAIN_PORTRAIT_X">80</integer> + <integer name="N3DS_STICK_MAIN_PORTRAIT_Y">840</integer> + <integer name="N3DS_BUTTON_HOME_PORTRAIT_X">360</integer> + <integer name="N3DS_BUTTON_HOME_PORTRAIT_Y">794</integer> + <integer name="N3DS_BUTTON_SELECT_PORTRAIT_X">400</integer> + <integer name="N3DS_BUTTON_SELECT_PORTRAIT_Y">794</integer> + <integer name="N3DS_BUTTON_START_PORTRAIT_X">520</integer> + <integer name="N3DS_BUTTON_START_PORTRAIT_Y">794</integer> + +</resources> diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml new file mode 100644 index 000000000..85422e849 --- /dev/null +++ b/src/android/app/src/main/res/values/strings.xml @@ -0,0 +1,246 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <!-- General application strings --> + <string name="app_name" translatable="false">yuzu</string> + <string name="app_disclaimer">This software will run games for the Nintendo 3DS handheld game console. No game titles are included.\n\nBefore you run, please place your rightfully owned 3DS game files onto your device storage.</string> + <string name="app_notification_channel_name" translatable="false">yuzu</string> + <string name="app_notification_channel_id" translatable="false">yuzu</string> + <string name="app_notification_channel_description">yuzu Switch emulator notifications</string> + <string name="app_notification_running">yuzu is running</string> + + <!-- Input related strings --> + <string name="controller_circlepad">Circle Pad</string> + <string name="controller_c">C-Stick</string> + <string name="controller_triggers">Triggers</string> + <string name="controller_dpad">D-Pad</string> + <string name="controller_axis_vertical">Up/Down Axis</string> + <string name="controller_axis_horizontal">Left/Right Axis</string> + <string name="input_binding">Input Binding</string> + <string name="input_binding_description">Press or move an input to bind it to %1$s.</string> + <string name="input_binding_description_vertical_axis">Move your joystick up or down.</string> + <string name="input_binding_description_horizontal_axis">Move your joystick left or right.</string> + <string name="button_a" translatable="false">A</string> + <string name="button_b" translatable="false">B</string> + <string name="button_select" translatable="false">SELECT</string> + <string name="button_start" translatable="false">START</string> + <string name="button_x" translatable="false">X</string> + <string name="button_y" translatable="false">Y</string> + <string name="button_l" translatable="false">L</string> + <string name="button_r" translatable="false">R</string> + <string name="button_zl" translatable="false">ZL</string> + <string name="button_zr" translatable="false">ZR</string> + <string name="input_message_analog_only">This control must be bound to a gamepad analog stick or D-pad axis!</string> + <string name="input_message_button_only">This control must be bound to a gamepad button!</string> + + <!-- Generic buttons (Shared with lots of stuff) --> + <string name="generic_buttons">Buttons</string> + + <!-- Premium settings strings --> + <string name="design">Change Theme (Light, Dark)</string> + <string name="design_updated">Theme will update when exiting Settings</string> + + <!-- Core settings strings --> + <string name="cpu_jit">Enable CPU JIT</string> + <string name="cpu_jit_description">Uses the Just-in-Time (JIT) compiler for CPU emulation. When enabled, game performance will be significantly improved.</string> + <string name="init_clock">System clock type</string> + <string name="init_clock_description">Set the emulated 3DS clock to either reflect that of your device or start at a simulated date and time.</string> + + <!-- System settings strings --> + <string name="init_time">System clock starting time override</string> + <string name="init_time_description">If the \"System clock type\" setting is set to \"Simulated clock\", this changes the fixed date and time to start at.</string> + <string name="emulated_region">Emulated region</string> + <string name="emulated_language">Emulated language</string> + + <!-- Camera settings strings --> + <string name="inner_camera">Inner Camera</string> + <string name="outer_left_camera">Outer Left Camera</string> + <string name="outer_right_camera">Outer Right Camera</string> + <string name="image_source">Image Source</string> + <string name="image_source_description">Sets the image source of the virtual camera. You can use an image file, or a device camera when supported.</string> + <string name="camera_device">Camera Device</string> + <string name="camera_device_description">If the \"Image Source\" setting is set to \"Device Camera\", this sets the physical camera to use.</string> + <string name="camera_facing_front">Front</string> + <string name="camera_facing_back">Back</string> + <string name="camera_facing_external">External</string> + <string name="image_flip">Image Flip</string> + + <!-- Graphics settings strings --> + <string name="renderer">Renderer</string> + <string name="vsync">Enable V-Sync</string> + <string name="vsync_description">Synchronizes the game frame rate to the refresh rate of your device.</string> + <string name="linear_filtering">Enable linear filtering</string> + <string name="linear_filtering_description">Enables linear filtering, which causes game visuals to appear smoother.</string> + <string name="texture_filter_name">Texture Filter</string> + <string name="texture_filter_description">Enhances the visuals of games by applying a filter to textures. The supported filters are Anime4K Ultrafast, Bicubic, ScaleForce, and xBRZ freescale.</string> + <string name="hw_renderer">Enable hardware renderer</string> + <string name="hw_renderer_description">Uses hardware to emulate 3DS graphics. When enabled, game performance will be significantly improved.</string> + <string name="hw_shaders">Enable hardware shader</string> + <string name="hw_shaders_description">Uses hardware to emulate 3DS shaders. When enabled, game performance will be significantly improved.</string> + <string name="shaders_accurate_mul">Enable accurate shader multiplication</string> + <string name="shaders_accurate_mul_description">Uses more accurate multiplication in hardware shaders, which may fix some graphical bugs. When enabled, performance will be reduced.</string> + <string name="asynchronous_gpu">Enable asynchronous GPU emulation</string> + <string name="asynchronous_gpu_description">Uses a separate thread to emulate the GPU asynchronously. When enabled, performance will be improved.</string> + <string name="frame_limit_enable">Enable limit speed</string> + <string name="frame_limit_enable_description">When enabled, emulation speed will be limited to a specified percentage of normal speed.</string> + <string name="frame_limit_slider">Limit speed percent</string> + <string name="frame_limit_slider_description">Specifies the percentage to limit emulation speed. With the default of 100% emulation will be limited to normal speed. Values higher or lower will increase or decrease the speed limit.</string> + <string name="internal_resolution">Internal resolution</string> + <string name="internal_resolution_description">Specifies the resolution used to render at. A high resolution will improve visual quality a lot but is also quite heavy on performance and might cause glitches in certain games.</string> + <string name="performance_warning">Turning off this setting will significantly reduce emulation performance! For the best experience, it is recommended that you leave this setting enabled.</string> + <string name="debug_warning">Warning: Modifying these settings will slow emulation</string> + <string name="stereoscopy">Stereoscopy</string> + <string name="render3d">Stereoscopic 3D Mode</string> + <string name="factor3d">Depth</string> + <string name="factor3d_description">Specifies the value of the 3D slider. This should be set to higher than 0% when Stereoscopic 3D is enabled.</string> + <string name="cardboard_vr">Cardboard VR</string> + <string name="cardboard_screen_size">Cardboard Screen size</string> + <string name="cardboard_screen_size_description">Scales the screen to a percentage of its original size.</string> + <string name="cardboard_x_shift">Horizontal shift</string> + <string name="cardboard_x_shift_description">Specifies the percentage of empty space to shift the screens horizontally. Positive values move the two eyes closer to the middle, while negative values move them away.</string> + <string name="cardboard_y_shift">Vertical shift</string> + <string name="cardboard_y_shift_description">Specifies the percentage of empty space to shift the screens vertically. Positive values move the two eyes towards the bottom, while negative values move them towards the top.</string> + <string name="use_shader_jit">Use shader JIT</string> + <string name="use_disk_shader_cache">Use disk shader cache</string> + <string name="use_disk_shader_cache_description">Reduce stuttering by storing and loading generated shaders to disk. It cannot be used without Enabling Hardware Shader.</string> + <string name="utility">Utility</string> + <string name="dump_textures">Dump textures</string> + <string name="dump_textures_description">Dumps textures to dump/textures/[GAME ID]</string> + <string name="custom_textures">Use custom textures</string> + <string name="custom_textures_description">Uses custom textures found in load/textures/[GAME ID]</string> + <string name="preload_textures">Preload custom textures</string> + <string name="preload_textures_description">Loads all custom textures into memory. This feature can use a lot of memory.</string> + <!-- Premium strings --> + <string name="premium_text">Premium</string> + <string name="premium_settings_upsell">Upgrade to Premium and support yuzu!</string> + <string name="premium_settings_upsell_description">With Premium, you will support the developers to continue improving yuzu, and gain access to these exclusive features!</string> + <string name="premium_settings_welcome">Welcome to Premium.</string> + <string name="premium_settings_welcome_description">Thank you for your support!</string> + + <!-- Audio settings strings --> + <string name="audio_stretch">Enable audio stretching</string> + <string name="audio_stretch_description">Stretches audio to reduce stuttering. When enabled, increases audio latency and slightly reduces performance.</string> + <string name="audio_input_type">Audio Input Device</string> + + <!-- Miscellaneous --> + <string name="clear">Clear</string> + <string name="slider_default">Default</string> + <string name="ini_saved">Saved settings</string> + <string name="gameid_saved">Saved settings for %1$s</string> + <string name="error_saving">Error saving %1$s.ini: %2$s</string> + <string name="loading">Loading...</string> + + <!-- Game Grid Screen--> + <string name="grid_menu_core_settings">Settings</string> + + <!-- Add Directory Screen--> + <string name="select_game_folder">Select Game Folder</string> + <string name="install_cia_title">Install CIA</string> + + <!-- Preferences Screen --> + <string name="preferences_settings">Settings</string> + <string name="preferences_premium">Premium</string> + <string name="preferences_general">General</string> + <string name="preferences_system">System</string> + <string name="preferences_camera">Camera</string> + <string name="preferences_controls">Gamepad</string> + <string name="preferences_graphics">Graphics</string> + <string name="preferences_audio">Audio</string> + <string name="preferences_debug">Debug</string> + + <!-- ROM loading errors --> + <string name="loader_error_encrypted">Your ROM is encrypted</string> + <string name="loader_error_invalid_format">Invalid ROM format</string> + + <!-- Emulation Menu --> + <string name="emulation_save_state">Save State</string> + <string name="emulation_load_state">Load State</string> + <string name="emulation_empty_state_slot">Slot %1$d</string> + <string name="emulation_occupied_state_slot">Slot %1$d - %2$tF %2$tR</string> + <string name="emulation_show_fps">Show FPS</string> + <string name="emulation_configure_controls">Configure Controls</string> + <string name="emulation_edit_layout">Edit Layout</string> + <string name="emulation_done">Done</string> + <string name="emulation_toggle_controls">Toggle Controls</string> + <string name="emulation_control_scale">Adjust Scale</string> + <string name="emulation_control_joystick_rel_center">Relative Stick Center</string> + <string name="emulation_control_dpad_slide_enable">Enable D-Pad Sliding</string> + <string name="emulation_open_settings">Open Settings</string> + <string name="emulation_open_cheats">Open Cheats</string> + <string name="emulation_switch_screen_layout">Landscape Screen Layout</string> + <string name="emulation_screen_layout_landscape">Default</string> + <string name="emulation_screen_layout_portrait">Portrait</string> + <string name="emulation_screen_layout_single">Single Screen</string> + <string name="emulation_screen_layout_sidebyside">Side by Side Screens</string> + <string name="emulation_swap_screens">Swap Screens</string> + <string name="emulation_touch_overlay_reset">Reset Overlay</string> + <string name="emulation_show_overlay">Show Overlay</string> + <string name="emulation_close_game">Close Game</string> + <string name="emulation_close_game_message">Are you sure that you would like to close the current game?</string> + <string name="menu_emulation_amiibo">Amiibo</string> + <string name="menu_emulation_amiibo_load">Load</string> + <string name="menu_emulation_amiibo_remove">Remove</string> + <string name="select_amiibo">Select Amiibo file</string> + <string name="amiibo_load_error">Error loading Amiibo</string> + <string name="amiibo_load_error_message">While loading the specified Amiibo file, an error occurred. Please check that the file is correct.</string> + + <string name="write_permission_needed">You need to allow write access to external storage for the emulator to work</string> + <string name="load_settings">Loading Settings...</string> + + <string name="external_storage_not_mounted">The external storage needs to be available in order to use yuzu</string> + + <string name="select_dir">Select This Directory</string> + <string name="empty_gamelist">No files were found or no game directory has been selected yet.</string> + + <string name="do_not_show_this_again">Do not show this again</string> + <string name="savestate_warning_title">Savestates</string> + <string name="savestate_warning_message">Warning: Savestates are NOT a replacement for in-game saves, and are not meant to be reliable.\n\nUse at your own risk!</string> + + <!-- Software Keyboard --> + <string name="software_keyboard">Software Keyboard</string> + <string name="i_forgot">I Forgot</string> + <string name="fixed_length_required">Text length is not correct (should be %d characters)</string> + <string name="max_length_exceeded">Text is too long (should be no more than %d characters)</string> + <string name="blank_input_not_allowed">Blank input is not allowed</string> + <string name="empty_input_not_allowed">Empty input is not allowed</string> + + <!-- Mii Selector --> + <string name="mii_selector">Mii Selector</string> + <string name="standard_mii">Standard Mii</string> + + <!-- Camera --> + <string name="camera_select_image">Select Image</string> + <string name="camera">Camera</string> + <string name="camera_permission_needed">yuzu needs to access your camera to emulate the 3DS\'s cameras.\n\nAlternatively, you can also set \"Image Source\" to \"Still Image\" in Camera Settings.</string> + + <!-- Microphone --> + <string name="microphone">Microphone</string> + <string name="microphone_permission_needed">yuzu needs to access your microphone to emulate the 3DS\'s microphone.\n\nAlternatively, you can also change \"Audio Input Device\" in Audio Settings.</string> + + <!-- Core Errors --> + <string name="abort_button">Abort</string> + <string name="continue_button">Continue</string> + <string name="system_archive_not_found">System Archive Not Found</string> + <string name="system_archive_not_found_message">%s is missing. Please dump your system archives.\nContinuing emulation may result in crashes and bugs.</string> + <string name="system_archive_general">A system archive</string> + <string name="save_load_error">Save/Load Error</string> + <string name="fatal_error">Fatal Error</string> + <string name="fatal_error_message">A fatal error occurred. Check the log for details.\nContinuing emulation may result in crashes and bugs.</string> + + <!-- Disk shader cache --> + <string name="preparing_shaders">Preparing shaders</string> + <string name="building_shaders">Building shaders</string> + + <!-- Cheats --> + <string name="cheats">Cheats</string> + <string name="cheats_add">Add Cheat</string> + <string name="cheats_name">Name</string> + <string name="cheats_notes">Notes</string> + <string name="cheats_code">Code</string> + <string name="cheats_edit">Edit</string> + <string name="cheats_delete">Delete</string> + <string name="cheats_delete_confirmation">Are you sure you want to delete \"%1$s\"?</string> + <string name="cheats_error_no_name">Name can\'t be empty</string> + <string name="cheats_error_no_code_lines">Code can\'t be empty</string> + <string name="cheats_error_on_line">Error on line %1$d</string> +</resources> diff --git a/src/android/app/src/main/res/values/styles.xml b/src/android/app/src/main/res/values/styles.xml new file mode 100644 index 000000000..47fe6f6ea --- /dev/null +++ b/src/android/app/src/main/res/values/styles.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <!-- Inherit from the material theme --> + <style name="CitraBase" parent="Theme.AppCompat.DayNight.NoActionBar"> + <!-- Main theme colors --> + <!-- Branding color for the app bar --> + <item name="colorPrimary">@color/citra_orange</item> + <!-- Darker variant for the status bar and contextual app bars --> + <item name="colorPrimaryDark">@color/citra_orange_dark</item> + <item name="colorAccent">@color/citra_accent</item> + + <item name="titleTextColor">@color/citra_logo_text_color</item> + + <!-- Enable window content transitions --> + <item name="android:windowContentTransitions">true</item> + <item name="android:windowAllowEnterTransitionOverlap">true</item> + <item name="android:windowAllowReturnTransitionOverlap">true</item> + + <item name="android:colorControlHighlight">?attr/colorAccent</item> + </style> + + <!-- Same as above, but use default action bar, and mandate margins. --> + <style name="CitraSettingsBase" parent="Theme.AppCompat.DayNight"> + <item name="colorPrimary">@color/citra_orange</item> + <item name="colorPrimaryDark">@color/citra_orange_dark</item> + <item name="colorAccent">@color/citra_accent</item> + </style> + + <!-- Inherit from the Base Citra Dialog Theme --> + <style name="CitraEmulationBase" parent="Theme.AppCompat.DayNight"> + <item name="colorPrimary">@color/citra_orange</item> + <item name="colorPrimaryDark">@color/citra_orange_dark</item> + <item name="colorAccent">@color/citra_accent</item> + <item name="android:windowTranslucentNavigation">true</item> + + <item name="android:windowBackground">@android:color/black</item> + + <!-- Enable window content transitions --> + <item name="android:windowContentTransitions">true</item> + <item name="android:windowAllowEnterTransitionOverlap">true</item> + <item name="android:windowAllowReturnTransitionOverlap">true</item> + </style> + + <!-- Inherit from a base file picker theme that handles day/night --> + <style name="FilePickerTheme" parent="FilePickerBaseTheme"> + <item name="colorPrimary">@color/citra_orange</item> + <item name="colorPrimaryDark">@color/citra_orange_dark</item> + <item name="colorAccent">@color/citra_accent</item> + <item name="android:windowBackground">@color/card_view_background</item> + + <!-- Need to set this also to style create folder dialog --> + <item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item> + + <item name="nnf_list_item_divider">@drawable/gamelist_divider</item> + <item name="nnf_toolbarTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item> + </style> + + <style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.DayNight.Dialog.Alert"> + <item name="colorPrimary">@color/citra_orange</item> + <item name="colorPrimaryDark">@color/citra_orange_dark</item> + <item name="colorAccent">@color/citra_accent</item> + </style> + +</resources> diff --git a/src/android/app/src/main/res/values/styles_filepicker.xml b/src/android/app/src/main/res/values/styles_filepicker.xml new file mode 100644 index 000000000..0b0c3fe1a --- /dev/null +++ b/src/android/app/src/main/res/values/styles_filepicker.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <style name="FilePickerBaseTheme" parent="NNF_BaseTheme.Light" /> +</resources> |