From e745c812691462380695da2275757e3f29bbbdb2 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sat, 26 Nov 2022 22:30:45 +0100 Subject: 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. --- res/values/arrays.xml | 2 ++ res/values/strings.xml | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'res/values') 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 @@ jcuken_ua bangla hindi + custom None @@ -53,6 +54,7 @@ ЙЦУКЕН (Українська) বাংলা हिन्दी + @string/pref_layout_e_custom @string/pref_accents_e_all_installed diff --git a/res/values/strings.xml b/res/values/strings.xml index 63c55ab..a565b09 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -7,6 +7,7 @@ Adjust label brightness Change keyboard layout System settings + Custom layout Accents Show accents for all installed languages Only show accents for the selected language @@ -51,6 +52,9 @@ Very far Horizontal spacing between the keys Vertical spacing between the keys + Advanced + Custom layout + See the source code. This option is not meant to be used. Next Done Go -- cgit v1.2.3