diff options
| author | Jules Aguillon | 2026-01-18 17:28:10 +0100 |
|---|---|---|
| committer | GitHub | 2026-01-18 17:28:10 +0100 |
| commit | 3b4aa33ff3744c5de77dc90c0962e7540f1e2afc (patch) | |
| tree | fb1564b94d226a1f09a12b482007ce4c91f6597a /res/values-v31 | |
| parent | a848897586223b050e87367b48ed2eebd0870d1d (diff) | |
| download | unexpected-keyboard-3b4aa33ff3744c5de77dc90c0962e7540f1e2afc.tar.gz unexpected-keyboard-3b4aa33ff3744c5de77dc90c0962e7540f1e2afc.zip | |
Fix crash when using the Monet themes on Android 9 (#1155)
The color resources starting with `@android:color/system_` are not
available on API < 31.
No effort is made to implement the Monet feature on Android 9. Instead,
the monet themes look like the Dark and Light themes.
Diffstat (limited to 'res/values-v31')
| -rw-r--r-- | res/values-v31/values.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/res/values-v31/values.xml b/res/values-v31/values.xml new file mode 100644 index 0000000..cc31327 --- /dev/null +++ b/res/values-v31/values.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- Colors for the Monet themes. --> + <color name="system_accent1_400">@android:color/system_accent1_400</color> + <color name="system_accent1_600">@android:color/system_accent1_600</color> + <color name="system_neutral1_0">@android:color/system_neutral1_0</color> + <color name="system_neutral1_100">@android:color/system_neutral1_100</color> + <color name="system_neutral1_400">@android:color/system_neutral1_400</color> + <color name="system_neutral1_50">@android:color/system_neutral1_50</color> + <color name="system_neutral1_500">@android:color/system_neutral1_500</color> + <color name="system_neutral1_800">@android:color/system_neutral1_800</color> + <color name="system_neutral1_900">@android:color/system_neutral1_900</color> +</resources> |
