aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-11-19 11:25:30 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-11-19 15:39:44 +0900
commit76d4ffeebfd084913a8c1b7433dff48f5b2063df (patch)
tree1e14d121b810a1447792e93eb5a5b3e58fb92c93 /java/res/xml
parent9904c9ebbddb04cb770fb9b4f891514851b07f93 (diff)
downloadlatinime-76d4ffeebfd084913a8c1b7433dff48f5b2063df.tar.gz
latinime-76d4ffeebfd084913a8c1b7433dff48f5b2063df.tar.xz
latinime-76d4ffeebfd084913a8c1b7433dff48f5b2063df.zip
Add Spanish United States keyboard
The subtype locale name on the spacebar will be suppressed when only one subtype is enabled and - Subtype locale is equal to the system locale. or - Subtype language is equal to the system language but the subtype is implicitly enabled. Thus the "es_ES" system locale chooses "es" subtype keyboard implicitly but the keyboard doesn't have the subtype name on its spacebar. This change also removes Spanish Latin America keyboard. Bug: 7531804 Change-Id: Ib929e8235d643c0ba039eb010e18ab721a734e15
Diffstat (limited to 'java/res/xml')
-rw-r--r--java/res/xml/method.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/java/res/xml/method.xml b/java/res/xml/method.xml
index 4ba52d9fa..aa59c577c 100644
--- a/java/res/xml/method.xml
+++ b/java/res/xml/method.xml
@@ -36,7 +36,8 @@
en_GB: English Great Britain/qwerty
eo: Esperanto/spanish
es: Spanish/spanish
- es_419: Spanish Latin America/qwerty
+ es_US: Spanish United States/spanish
+ (es_419: Spanish Latin America/qwerty)
et: Estonian/nordic
fa: Persian/arabic
fi: Finnish/nordic
@@ -186,11 +187,20 @@
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:label="@string/subtype_generic"
+ android:subtypeId="0x84d2efc6"
+ android:imeSubtypeLocale="es_US"
+ android:imeSubtypeMode="keyboard"
+ android:imeSubtypeExtraValue="KeyboardLayoutSet=spanish,AsciiCapable"
+ />
+ <!--
+ <subtype android:icon="@drawable/ic_subtype_keyboard"
+ android:label="@string/subtype_generic"
android:subtypeId="0x623f9286"
android:imeSubtypeLocale="es_419"
android:imeSubtypeMode="keyboard"
- android:imeSubtypeExtraValue="KeyboardLayoutSet=qwerty,AsciiCapable"
+ android:imeSubtypeExtraValue="KeyboardLayoutSet=spanish,AsciiCapable"
/>
+ -->
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:label="@string/subtype_generic"
android:subtypeId="0xec2d3955"