Add subtype to method.xml

Change-Id: I6006c729f89cc91d5674c19b95cf19ad2cab14cf
main
satok 2010-08-11 23:27:19 +09:00
parent e68bba227f
commit 22ac244d5e
6 changed files with 111 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 681 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

View File

@ -359,4 +359,6 @@
<string name="prefs_debug_mode">Debug (Temporary)</string>
<string name="subtype_mode_keyboard">keyboard</string>
<string name="subtype_mode_voice">voice</string>
</resources>

View File

@ -20,7 +20,114 @@
<!-- The attributes in this XML file provide configuration information -->
<!-- for the Input Method Manager. -->
<!-- cs, da, de, en, es, fr, it, iw, nb, nl, ru, sr, sv -->
<!-- TODO: use <lang>_keyboard icon instead of a common keyboard icon. -->
<!-- TODO: use <lang>_mic icon instead of a common mic icon. -->
<input-method xmlns:android="http://schemas.android.com/apk/res/android"
android:settingsActivity="com.android.inputmethod.latin.LatinIMESettings"
android:isDefault="@bool/im_is_default"
/>
android:isDefault="@bool/im_is_default">
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="cs"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="da"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="de"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="en"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="es"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="fr"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="it"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="iw"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="nb"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="nl"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="ru"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="sr"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_keyboard"
android:imeSubtypeLocale="sv"
android:imeSubtypeMode="@string/subtype_mode_keyboard"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="cs"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="da"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="de"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="en"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="es"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="fr"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="it"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="iw"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="nb"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="nl"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="ru"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="sr"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
<subtype android:icon="@drawable/ic_subtype_mic"
android:imeSubtypeLocale="sv"
android:imeSubtypeMode="@string/subtype_mode_voice"
/>
</input-method>