abouttreesummaryrefslogcommitdiff
path: root/res/values/arrays.xml
diff options
context:
space:
mode:
authorJules Aguillon2022-11-13 00:24:23 +0100
committerJules Aguillon2022-11-13 00:24:23 +0100
commit51b330c6168a8b0e0c16482254d4674fbe5476c7 (patch)
treebc3b05120d606e386269322e7fab2694e20ee845 /res/values/arrays.xml
parent815e30a505eb6766e29d85c2e1a5d8f4da9c83d3 (diff)
downloadunexpected-keyboard-51b330c6168a8b0e0c16482254d4674fbe5476c7.tar.gz
unexpected-keyboard-51b330c6168a8b0e0c16482254d4674fbe5476c7.zip
Allow switching quickly between two layouts
A new option allow to choose a secondary layout, the switching key is placed on the top edge of the space bar. The "Programming layout" option was basically doing that but it was possible to choose from a few layouts only. It is improved and renamed. The 'LayoutListPreference' allows setting the string for the first entry but otherwise share the rest of the array. Add nice icons from materialdesignicons.
Diffstat (limited to 'res/values/arrays.xml')
-rw-r--r--res/values/arrays.xml16
1 files changed, 2 insertions, 14 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 50c140e..17c4bd9 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="pref_layout_values">
- <item>system</item>
+ <item>none</item>
<item>azerty</item>
<item>qwerty</item>
<item>qwerty_pt</item>
@@ -28,7 +28,7 @@
<item>hindi</item>
</string-array>
<string-array name="pref_layout_entries">
- <item>@string/pref_layout_e_system</item>
+ <item>None</item>
<item>AZERTY</item>
<item>QWERTY</item>
<item>QWERTY (Brasileiro)</item>
@@ -54,18 +54,6 @@
<item>বাংলা</item>
<item>हिन्दी</item>
</string-array>
- <string-array name="pref_programming_layout_values">
- <item>none</item>
- <item>qwerty</item>
- <item>dvorak</item>
- <item>colemak</item>
- </string-array>
- <string-array name="pref_programming_layout_entries">
- <item>@string/pref_programming_layout_none</item>
- <item>QWERTY</item>
- <item>Dvorak</item>
- <item>Colemak</item>
- </string-array>
<string-array name="pref_accents_entries">
<item>@string/pref_accents_e_all_installed</item>
<item>@string/pref_accents_e_selected</item>