diff options
Diffstat (limited to 'src/android/app/src/main/res')
-rw-r--r-- | src/android/app/src/main/res/layout/activity_settings.xml | 3 | ||||
-rw-r--r-- | src/android/app/src/main/res/values-night/themes.xml | 9 | ||||
-rw-r--r-- | src/android/app/src/main/res/values/strings.xml | 4 |
3 files changed, 15 insertions, 1 deletions
diff --git a/src/android/app/src/main/res/layout/activity_settings.xml b/src/android/app/src/main/res/layout/activity_settings.xml index dc23200ea..2745599f4 100644 --- a/src/android/app/src/main/res/layout/activity_settings.xml +++ b/src/android/app/src/main/res/layout/activity_settings.xml @@ -4,7 +4,8 @@ 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"> + android:layout_height="match_parent" + android:background="?attr/colorSurface"> <com.google.android.material.appbar.AppBarLayout android:id="@+id/appbar_settings" diff --git a/src/android/app/src/main/res/values-night/themes.xml b/src/android/app/src/main/res/values-night/themes.xml new file mode 100644 index 000000000..d7d24c24d --- /dev/null +++ b/src/android/app/src/main/res/values-night/themes.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <style name="ThemeOverlay.Yuzu.Dark" parent=""> + <item name="colorSurface">@android:color/black</item> + <item name="android:colorBackground">@android:color/black</item> + </style> + +</resources> diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml index 28c9af7bd..d37ffba0d 100644 --- a/src/android/app/src/main/res/values/strings.xml +++ b/src/android/app/src/main/res/values/strings.xml @@ -241,4 +241,8 @@ <string name="theme_mode_light">Light</string> <string name="theme_mode_dark">Dark</string> + <!-- Black backgrounds theme --> + <string name="use_black_backgrounds">Use Black Backgrounds</string> + <string name="use_black_backgrounds_description">When using the dark theme, apply black backgrounds.</string> + </resources> |