abouttreesummaryrefslogcommitdiff
path: root/res/values/layouts.xml
diff options
context:
space:
mode:
authorJules Aguillon2023-07-29 18:37:06 +0200
committerJules Aguillon2023-07-30 21:44:14 +0200
commitdad5f57a036e3f0ad7278ccee5bd248192cbbad2 (patch)
tree022b170f190edcf204dc453a49e83193821aeb80 /res/values/layouts.xml
parent818aa4c7d597116ed595e960d4415b57ed56d2ec (diff)
downloadunexpected-keyboard-dad5f57a036e3f0ad7278ccee5bd248192cbbad2.tar.gz
unexpected-keyboard-dad5f57a036e3f0ad7278ccee5bd248192cbbad2.zip
Allow more than 2 layouts
The two layout selection options are replaced by a ListGroupPreference that allow to enter an arbitrary amount of layouts. The "switch_second" and "switch_second_back" keys are replaced by "switch_forward" and "switch_backward", which allow to cycle through the selected layouts in two directions. Layouts are changed to place these two key on the space bar. The backward key is not shown if there's only two layouts.
Diffstat (limited to 'res/values/layouts.xml')
-rw-r--r--res/values/layouts.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/values/layouts.xml b/res/values/layouts.xml
index 3a972be..4c9779f 100644
--- a/res/values/layouts.xml
+++ b/res/values/layouts.xml
@@ -2,7 +2,7 @@
<resources>
<!--DO NOT EDIT. This file is generated, see gen_layouts.py.-->
<string-array name="pref_layout_values">
- <item>none</item>
+ <item>system</item>
<item>latn_qwerty_us</item>
<item>latn_colemak</item>
<item>latn_dvorak</item>
@@ -43,7 +43,7 @@
<item>custom</item>
</string-array>
<string-array name="pref_layout_entries">
- <item>None</item>
+ <item>@string/pref_layout_e_system</item>
<item>QWERTY (US)</item>
<item>Colemak</item>
<item>Dvorak</item>