fix forced dark mode issue in android 10 or later (#1671)

This commit is contained in:
fakerat 2025-06-07 23:03:21 +02:00 committed by GitHub
parent 7cec6b148c
commit e98c3210dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,8 @@
modified modified
SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
--> -->
<resources xmlns:android="http://schemas.android.com/apk/res/android"> <resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<style name="KeyboardIcons" /> <style name="KeyboardIcons" />
<style name="InputView" /> <style name="InputView" />
<!-- Default theme values --> <!-- Default theme values -->
@ -21,6 +22,7 @@
<item name="keyboardRightPadding">@fraction/config_keyboard_right_padding</item> <item name="keyboardRightPadding">@fraction/config_keyboard_right_padding</item>
<item name="popupKeysTemplate">@xml/kbd_popup_keys_keyboard_template</item> <item name="popupKeysTemplate">@xml/kbd_popup_keys_keyboard_template</item>
<item name="maxPopupKeysColumn">@integer/config_max_popup_keys_column</item> <item name="maxPopupKeysColumn">@integer/config_max_popup_keys_column</item>
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
</style> </style>
<style name="KeyboardView"> <style name="KeyboardView">
<!-- This keyBackground is needed to run unit tests based on {@link InputTestBase}. -> todo: so it can be removed? --> <!-- This keyBackground is needed to run unit tests based on {@link InputTestBase}. -> todo: so it can be removed? -->