forked from extern/Unexpected-Keyboard
093a00c572
Add a "Theme" option to choose between a dark and light theme. The light theme uses the colors of the dark theme with the luminance inversed. The reloading after a configuration change is changed slightly: - Special handling is needed when the Theme is changed (recreate the views) - The default implementation of 'onConfigurationChanged' is used Which triggers more refresh (but don't recreate the views) - 'onCreateInputView' is no longer needed
31 lines
942 B
XML
31 lines
942 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<string-array name="pref_layout_values">
|
|
<item>system</item>
|
|
<item>azerty</item>
|
|
<item>qwerty</item>
|
|
</string-array>
|
|
<string name="pref_accents_default">1</string>
|
|
<string-array name="pref_accents_entries">
|
|
<item>@string/pref_accents_e_all_installed</item>
|
|
<item>@string/pref_accents_e_selected</item>
|
|
<item>@string/pref_accents_e_all</item>
|
|
<item>@string/pref_accents_e_none</item>
|
|
</string-array>
|
|
<string-array name="pref_accents_values">
|
|
<item>1</item>
|
|
<item>2</item>
|
|
<item>3</item>
|
|
<item>4</item>
|
|
</string-array>
|
|
<string-array name="pref_theme_entries">
|
|
<item>@string/pref_theme_e_dark</item>
|
|
<item>@string/pref_theme_e_light</item>
|
|
</string-array>
|
|
<string name="pref_theme_default">dark</string>
|
|
<string-array name="pref_theme_values">
|
|
<item>dark</item>
|
|
<item>light</item>
|
|
</string-array>
|
|
</resources>
|