abouttreesummaryrefslogcommitdiff
path: root/res/values/arrays.xml
diff options
context:
space:
mode:
authorJules Aguillon2022-11-26 22:30:45 +0100
committerJules Aguillon2022-11-26 22:30:45 +0100
commite745c812691462380695da2275757e3f29bbbdb2 (patch)
tree1a6c9e62fffa6085455b9e2323533927a01a292d /res/values/arrays.xml
parent09d984a1ab597cceab8a416b3f3cbf60bc1a5525 (diff)
downloadunexpected-keyboard-e745c812691462380695da2275757e3f29bbbdb2.tar.gz
unexpected-keyboard-e745c812691462380695da2275757e3f29bbbdb2.zip
Allow using a custom layout
Add an option for specifying an XML layout description as a string. The option is a bit rough at the moment: - No documentation, users have to be aware of the keyboard's code to use this option. - No error are shown, the layout will fallback to qwerty on error.
Diffstat (limited to 'res/values/arrays.xml')
-rw-r--r--res/values/arrays.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 17c4bd9..524da3d 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -26,6 +26,7 @@
<item>jcuken_ua</item>
<item>bangla</item>
<item>hindi</item>
+ <item>custom</item>
</string-array>
<string-array name="pref_layout_entries">
<item>None</item>
@@ -53,6 +54,7 @@
<item>ЙЦУКЕН (Українська)</item>
<item>বাংলা</item>
<item>हिन्दी</item>
+ <item>@string/pref_layout_e_custom</item>
</string-array>
<string-array name="pref_accents_entries">
<item>@string/pref_accents_e_all_installed</item>