diff options
author | 2011-08-31 21:20:52 +0900 | |
---|---|---|
committer | 2011-09-01 14:05:01 +0900 | |
commit | d81479a340d76afaef14ce683322e1488167919c (patch) | |
tree | 80f359a756ffe3f64b08aefbfb9c69cd567c24bd /java/res/xml | |
parent | b91b3a3e5ca1b5389e86a8851a88bfdfa5bd8ddd (diff) | |
download | latinime-d81479a340d76afaef14ce683322e1488167919c.tar.gz latinime-d81479a340d76afaef14ce683322e1488167919c.tar.xz latinime-d81479a340d76afaef14ce683322e1488167919c.zip |
Implement KeyboardLocale InputMethodSubtype extra key
The locale is specified by KeyboardLocale extra key in method.xml,
LatinIME will use the specified locale for keyboard layout.
Bug: 5238658
Change-Id: I8e6cb66c73a7ac1bf611d9910b42fa9cff38eba0
Diffstat (limited to 'java/res/xml')
-rw-r--r-- | java/res/xml/method.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/res/xml/method.xml b/java/res/xml/method.xml index 452294e04..f2f3178de 100644 --- a/java/res/xml/method.xml +++ b/java/res/xml/method.xml @@ -20,7 +20,7 @@ <!-- The attributes in this XML file provide configuration information --> <!-- for the Input Method Manager. --> -<!-- Keyboard: en_US, en_GB, ar, cs, da, de, de_ZZ, es, es_US, fi, fr, fr_CA, fr_CH, hr, hu, it, iw, nb, nl, pl, pt, ru, sr, sv, tr --> +<!-- Keyboard: en_US, en_GB, ar, cs, da, de, de(QWERTY), es, es_US, fi, fr, fr_CA, fr_CH, hr, hu, it, iw, nb, nl, pl, pt, ru, sr, sv, tr --> <!-- TODO: use <lang>_keyboard icon instead of a common keyboard icon. --> <!-- If IME doesn't have an applicable subtype, the first subtype will be used as a default subtype.--> @@ -64,9 +64,9 @@ /> <subtype android:icon="@drawable/ic_subtype_keyboard" android:label="@string/subtype_de_qwerty" - android:imeSubtypeLocale="de_ZZ" + android:imeSubtypeLocale="de" android:imeSubtypeMode="keyboard" - android:imeSubtypeExtraValue="AsciiCapable" + android:imeSubtypeExtraValue="AsciiCapable,KeyboardLocale=de_ZZ" /> <subtype android:icon="@drawable/ic_subtype_keyboard" android:label="@string/subtype_generic" |