abouttreesummaryrefslogcommitdiff
path: root/res/xml/method.xml
diff options
context:
space:
mode:
authorJules Aguillon2021-04-15 23:56:34 +0200
committerJules Aguillon2021-04-15 23:56:34 +0200
commitca07bff1330024bd78e28d1bc83940daab678fbb (patch)
tree784c839b541f9fc78bdeb2fce018ea0ca15b40a4 /res/xml/method.xml
parentc22ca7302c16773dbe1971323034dd6e23d9611b (diff)
downloadunexpected-keyboard-ca07bff1330024bd78e28d1bc83940daab678fbb.tar.gz
unexpected-keyboard-ca07bff1330024bd78e28d1bc83940daab678fbb.zip
Use subtypes to choose layout
This removes the "layout" setting. Every layouts that the user could use will appear in the global settings.
Diffstat (limited to 'res/xml/method.xml')
-rw-r--r--res/xml/method.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 63887e3..f13eecc 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -2,4 +2,16 @@
<input-method xmlns:android="http://schemas.android.com/apk/res/android"
android:settingsActivity="juloo.keyboard2.SettingsActivity"
android:supportsSwitchingToNextInputMethod="true">
+ <subtype android:label="@string/subtype_label_azerty"
+ android:languageTag="fr"
+ android:imeSubtypeLocale="fr_FR"
+ android:imeSubtypeMode="keyboard"
+ android:isAsciiCapable="true"
+ />
+ <subtype android:label="@string/subtype_label_qwerty"
+ android:languageTag="en"
+ android:imeSubtypeLocale="en_US"
+ android:imeSubtypeMode="keyboard"
+ android:isAsciiCapable="true"
+ />
</input-method>