1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** 5 ** Copyright 2012, The Android Open Source Project 6 ** 7 ** Licensed under the Apache License, Version 2.0 (the "License"); 8 ** you may not use this file except in compliance with the License. 9 ** You may obtain a copy of the License at 10 ** 11 ** http://www.apache.org/licenses/LICENSE-2.0 12 ** 13 ** Unless required by applicable law or agreed to in writing, software 14 ** distributed under the License is distributed on an "AS IS" BASIS, 15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 ** See the License for the specific language governing permissions and 17 ** limitations under the License. 18 */ 19 --> 20 21 <merge 22 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" 23 > 24 <switch> 25 <case 26 latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted" 27 > 28 <Key 29 latin:keyLabel="+" /> 30 <!-- U+0E51: "" THAI DIGIT ONE --> 31 <Key 32 latin:keyLabel="๑" 33 latin:keyLabelFlags="fontNormal" /> 34 <!-- U+0E52: "" THAI DIGIT TWO --> 35 <Key 36 latin:keyLabel="๒" 37 latin:keyLabelFlags="fontNormal" /> 38 <!-- U+0E53: "" THAI DIGIT THREE --> 39 <Key 40 latin:keyLabel="๓" 41 latin:keyLabelFlags="fontNormal" /> 42 <!-- U+0E54: "" THAI DIGIT FOUR --> 43 <Key 44 latin:keyLabel="๔" 45 latin:keyLabelFlags="fontNormal" /> 46 <!-- U+0020: " " SPACE 47 U+0E39: " " THAI CHARACTER SARA UU --> 48 <!-- Note: The space character is needed as a preceding letter to draw some Thai 49 composing characters correctly. --> 50 <Key 51 latin:keyLabel=" ู" 52 latin:code="0x0E39" 53 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 54 <!-- U+0E3F: "" THAI CURRENCY SYMBOL BAHT --> 55 <Key 56 latin:keyLabel="฿" 57 latin:keyLabelFlags="fontNormal" /> 58 <!-- U+0E55: "" THAI DIGIT FIVE --> 59 <Key 60 latin:keyLabel="๕" 61 latin:keyLabelFlags="fontNormal" /> 62 <!-- U+0E56: "" THAI DIGIT SIX --> 63 <Key 64 latin:keyLabel="๖" 65 latin:keyLabelFlags="fontNormal" /> 66 <!-- U+0E57: "" THAI DIGIT SEVEN --> 67 <Key 68 latin:keyLabel="๗" 69 latin:keyLabelFlags="fontNormal" /> 70 <!-- U+0E58: "" THAI DIGIT EIGHT --> 71 <Key 72 latin:keyLabel="๘" 73 latin:keyLabelFlags="fontNormal" /> 74 <!-- U+0E59: "" THAI DIGIT NINE --> 75 <Key 76 latin:keyLabel="๙" 77 latin:keyLabelFlags="fontNormal" /> 78 </case> 79 <default> 80 <!-- U+0E45: "" THAI CHARACTER LAKKHANGYAO --> 81 <Key 82 latin:keyLabel="ๅ" 83 latin:keyLabelFlags="fontNormal" /> 84 <!-- U+0E51: "" THAI DIGIT ONE --> 85 <Key 86 latin:keyHintLabel="1" 87 latin:additionalMoreKeys="1" 88 latin:moreKeys="๑" 89 latin:keyLabel="/" /> 90 <!-- U+0E52: "" THAI DIGIT TWO --> 91 <Key 92 latin:keyHintLabel="2" 93 latin:additionalMoreKeys="2" 94 latin:moreKeys="๒" 95 latin:keyLabel="_" /> 96 <!-- U+0E20: "" THAI CHARACTER PHO SAMPHAO 97 U+0E53: "" THAI DIGIT THREE --> 98 <Key 99 latin:keyLabel="ภ" 100 latin:keyHintLabel="3" 101 latin:additionalMoreKeys="3" 102 latin:moreKeys="๓" 103 latin:keyLabelFlags="fontNormal" /> 104 <!-- U+0E16: "" THAI CHARACTER THO THUNG 105 U+0E54: "" THAI DIGIT FOUR --> 106 <Key 107 latin:keyLabel="ถ" 108 latin:keyHintLabel="4" 109 latin:additionalMoreKeys="4" 110 latin:moreKeys="๔" 111 latin:keyLabelFlags="fontNormal" /> 112 <!-- U+0020: " " SPACE 113 U+0E38: " " THAI CHARACTER SARA U --> 114 <!-- Note: The space character is needed as a preceding letter to draw some Thai 115 composing characters correctly. --> 116 <Key 117 latin:keyLabel=" ุ" 118 latin:code="0x0E38" 119 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 120 <!-- U+0020: " " SPACE 121 U+0E36: " " THAI CHARACTER SARA UE --> 122 <!-- Note: The space character is needed as a preceding letter to draw some Thai 123 composing characters correctly. --> 124 <Key 125 latin:keyLabel=" ึ" 126 latin:code="0x0E36" 127 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 128 <!-- U+0E04: "" THAI CHARACTER KHO KHWAI 129 U+0E55: "" THAI DIGIT FIVE --> 130 <Key 131 latin:keyLabel="ค" 132 latin:keyHintLabel="5" 133 latin:additionalMoreKeys="5" 134 latin:moreKeys="๕" 135 latin:keyLabelFlags="fontNormal" /> 136 <!-- U+0E15: "" THAI CHARACTER TO TAO 137 U+0E56: "" THAI DIGIT SIX --> 138 <Key 139 latin:keyLabel="ต" 140 latin:keyHintLabel="6" 141 latin:additionalMoreKeys="6" 142 latin:moreKeys="๖" 143 latin:keyLabelFlags="fontNormal" /> 144 <!-- U+0E08: "" THAI CHARACTER CHO CHAN 145 U+0E57: "" THAI DIGIT SEVEN --> 146 <Key 147 latin:keyLabel="จ" 148 latin:keyHintLabel="7" 149 latin:additionalMoreKeys="7" 150 latin:moreKeys="๗" 151 latin:keyLabelFlags="fontNormal" /> 152 <!-- U+0E02: "" THAI CHARACTER KHO KHAI 153 U+0E58: "" THAI DIGIT EIGHT --> 154 <Key 155 latin:keyLabel="ข" 156 latin:keyHintLabel="8" 157 latin:additionalMoreKeys="8" 158 latin:moreKeys="๘" 159 latin:keyLabelFlags="fontNormal" /> 160 <!-- U+0E0A: "" THAI CHARACTER CHO CHANG 161 U+0E59: "" THAI DIGIT NINE --> 162 <Key 163 latin:keyLabel="ช" 164 latin:keyHintLabel="9" 165 latin:additionalMoreKeys="9" 166 latin:moreKeys="๙" 167 latin:keyLabelFlags="fontNormal" /> 168 </default> 169 </switch> 170 </merge> 171