abouttreesummaryrefslogcommitdiff
path: root/res/values/arrays.xml
diff options
context:
space:
mode:
authorJules Aguillon2022-04-03 17:15:12 +0200
committerJules Aguillon2022-04-03 17:15:12 +0200
commitaa78229b2aef963d5f840b72d8aa3cad3a78dfc4 (patch)
tree4ea7950b7a62829890ba0e9dc1b8108b39dcc902 /res/values/arrays.xml
parentd62e7647e0feb9c3c7d363c50f31f1aaf101ecd0 (diff)
downloadunexpected-keyboard-aa78229b2aef963d5f840b72d8aa3cad3a78dfc4.tar.gz
unexpected-keyboard-aa78229b2aef963d5f840b72d8aa3cad3a78dfc4.zip
Add the Programming Layout option
Allow specifying a layout for programming and add a key for switching to it easily. The switching key is placed on the top edge of the space bar. The option has no effect by default because the ergonomic isn't ideal, it needs to be enabled explicitly. Users of Latin-script languages certainly prefer to use one layout (for programming or not). This feature might be removed in favor of a better language-switching mechanisms in the future.
Diffstat (limited to 'res/values/arrays.xml')
-rw-r--r--res/values/arrays.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 0c968e4..7412d55 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -28,6 +28,16 @@
<item>Bulgarian (Phonetic Traditional)</item>
<item>Dvorak</item>
</string-array>
+ <string-array name="pref_programming_layout_values">
+ <item>none</item>
+ <item>qwerty</item>
+ <item>dvorak</item>
+ </string-array>
+ <string-array name="pref_programming_layout_entries">
+ <item>@string/pref_programming_layout_none</item>
+ <item>QWERTY</item>
+ <item>Dvorak</item>
+ </string-array>
<string-array name="pref_accents_entries">
<item>@string/pref_accents_e_all_installed</item>
<item>@string/pref_accents_e_selected</item>