1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** 5 ** Copyright 2013, 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 <!-- U+0920: "" DEVANAGARI LETTER TTHA --> 29 <Key 30 latin:keyLabel="ठ" 31 latin:keyLabelFlags="fontNormal" /> 32 <!-- U+0914: "" DEVANAGARI LETTER AU --> 33 <Key 34 latin:keyLabel="औ" 35 latin:keyLabelFlags="fontNormal" /> 36 <!-- Because the font rendering system prior to API version 16 can't automatically 37 render dotted circle for incomplete combining letter of some scripts, different 38 set of Key definitions are needed based on the API version. --> 39 <include 40 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ai" /> 41 <Key 42 latin:keyStyle="baseKeyDevanagariVowelSignAi" /> 43 <!-- Because the font rendering system prior to API version 16 can't automatically 44 render dotted circle for incomplete combining letter of some scripts, different 45 set of Key definitions are needed based on the API version. --> 46 <include 47 latin:keyboardLayout="@xml/key_devanagari_vowel_sign_vocalic_r" /> 48 <!-- U+0925: "" DEVANAGARI LETTER THA --> 49 <Key 50 latin:keyLabel="थ" 51 latin:keyLabelFlags="fontNormal" /> 52 <!-- U+091E: "" DEVANAGARI LETTER NYA --> 53 <Key 54 latin:keyLabel="ञ" 55 latin:keyLabelFlags="fontNormal" /> 56 <!-- Because the font rendering system prior to API version 16 can't automatically 57 render dotted circle for incomplete combining letter of some scripts, different 58 set of Key definitions are needed based on the API version. --> 59 <include 60 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_uu" /> 61 <Key 62 latin:keyStyle="baseKeyDevanagariVowelSignUu" /> 63 <!-- Because the font rendering system prior to API version 16 can't automatically 64 render dotted circle for incomplete combining letter of some scripts, different 65 set of Key definitions are needed based on the API version. --> 66 <include 67 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ii" /> 68 <Key 69 latin:keyStyle="baseKeyDevanagariVowelSignIi" /> 70 <!-- U+0913: "" DEVANAGARI LETTER O --> 71 <Key 72 latin:keyLabel="ओ" 73 latin:keyLabelFlags="fontNormal" /> 74 <!-- U+092B: "" DEVANAGARI LETTER PHA --> 75 <Key 76 latin:keyLabel="फ" 77 latin:keyLabelFlags="fontNormal" /> 78 <!-- U+0908: "" DEVANAGARI LETTER II --> 79 <Key 80 latin:keyLabel="ई" 81 latin:keyLabelFlags="fontNormal" /> 82 </case> 83 <default> 84 <!-- U+091F: "" DEVANAGARI LETTER TTA 85 U+0967: "" DEVANAGARI DIGIT ONE 86 U+093C: "" DEVANAGARI SIGN NUKTA --> 87 <Key 88 latin:keyLabel="ट" 89 latin:keyHintLabel="1" 90 latin:additionalMoreKeys="१,1" 91 latin:moreKeys="़" 92 latin:keyLabelFlags="fontNormal" /> 93 <!-- Because the font rendering system prior to API version 16 can't automatically 94 render dotted circle for incomplete combining letter of some scripts, different 95 set of Key definitions are needed based on the API version. --> 96 <!-- U+0968: "" DEVANAGARI DIGIT TWO --> 97 <include 98 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_au" /> 99 <Key 100 latin:keyStyle="baseKeyDevanagariVowelSignAu" 101 latin:keyHintLabel="2" 102 latin:additionalMoreKeys="२,2" /> 103 <!-- Because the font rendering system prior to API version 16 can't automatically 104 render dotted circle for incomplete combining letter of some scripts, different 105 set of Key definitions are needed based on the API version. --> 106 <!-- U+0969: "" DEVANAGARI DIGIT THREE --> 107 <include 108 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_e" /> 109 <Key 110 latin:keyStyle="baseKeyDevanagariVowelSignE" 111 latin:keyHintLabel="3" 112 latin:additionalMoreKeys="३,3" /> 113 <!-- U+0930: "" DEVANAGARI LETTER RA 114 U+096A: "" DEVANAGARI DIGIT FOUR --> 115 <Key 116 latin:keyLabel="र" 117 latin:keyHintLabel="4" 118 latin:additionalMoreKeys="४,4" 119 latin:keyLabelFlags="fontNormal" /> 120 <!-- U+0924: "" DEVANAGARI LETTER TA 121 U+096B: "" DEVANAGARI DIGIT FIVE --> 122 <Key 123 latin:keyLabel="त" 124 latin:keyHintLabel="5" 125 latin:additionalMoreKeys="५,5" 126 latin:keyLabelFlags="fontNormal" /> 127 <!-- U+092F: "" DEVANAGARI LETTER YA 128 U+096C: "" DEVANAGARI DIGIT SIX --> 129 <Key 130 latin:keyLabel="य" 131 latin:keyHintLabel="6" 132 latin:additionalMoreKeys="६,6" 133 latin:keyLabelFlags="fontNormal" /> 134 <!-- Because the font rendering system prior to API version 16 can't automatically 135 render dotted circle for incomplete combining letter of some scripts, different 136 set of Key definitions are needed based on the API version. --> 137 <!-- U+096D: "" DEVANAGARI DIGIT SEVEN --> 138 <include 139 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_u" /> 140 <Key 141 latin:keyStyle="baseKeyDevanagariVowelSignU" 142 latin:keyHintLabel="7" 143 latin:additionalMoreKeys="७,7" /> 144 <!-- Because the font rendering system prior to API version 16 can't automatically 145 render dotted circle for incomplete combining letter of some scripts, different 146 set of Key definitions are needed based on the API version. --> 147 <!-- U+096E: "" DEVANAGARI DIGIT EIGHT --> 148 <include 149 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_i" /> 150 <Key 151 latin:keyStyle="baseKeyDevanagariVowelSignI" 152 latin:keyHintLabel="8" 153 latin:additionalMoreKeys="८,8" /> 154 <!-- Because the font rendering system prior to API version 16 can't automatically 155 render dotted circle for incomplete combining letter of some scripts, different 156 set of Key definitions are needed based on the API version. --> 157 <!-- U+096F: "" DEVANAGARI DIGIT NINE --> 158 <include 159 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_o" /> 160 <Key 161 latin:keyStyle="baseKeyDevanagariVowelSignO" 162 latin:keyHintLabel="9" 163 latin:additionalMoreKeys="९,9" /> 164 <!-- U+092A: "" DEVANAGARI LETTER PA 165 U+0966: "" DEVANAGARI DIGIT ZERO --> 166 <Key 167 latin:keyLabel="प" 168 latin:keyHintLabel="0" 169 latin:additionalMoreKeys="०,0" 170 latin:keyLabelFlags="fontNormal" /> 171 <!-- U+0907: "" DEVANAGARI LETTER I --> 172 <Key 173 latin:keyLabel="इ" 174 latin:keyLabelFlags="fontNormal" /> 175 </default> 176 </switch> 177 </merge> 178