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+0924/U+094D/U+0924: "" DEVANAGARI LETTER TA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TA 29 U+091E: "" DEVANAGARI LETTER NYA 30 U+091C/U+094D/U+091E: "" DEVANAGARI LETTER JA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER NYA 31 U+0965: "" DEVANAGARI DOUBLE DANDA --> 32 <Key 33 latin:keyLabel="त्त" 34 latin:moreKeys="ञ,ज्ञ,॥" 35 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 36 <!-- U+0921/U+094D/U+0922: "" DEVANAGARI LETTER DDA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DDHA 37 U+0908: "" DEVANAGARI LETTER II --> 38 <Key 39 latin:keyLabel="ड्ढ" 40 latin:moreKeys="ई" 41 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 42 <!-- U+0910: "" DEVANAGARI LETTER AI 43 U+0918: "" DEVANAGARI LETTER GHA --> 44 <Key 45 latin:keyLabel="ऐ" 46 latin:moreKeys="घ" 47 latin:keyLabelFlags="fontNormal" /> 48 <!-- U+0926/U+094D/U+0935: "" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER VA 49 U+0926/U+094D/U+0927: "" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DHA --> 50 <Key 51 latin:keyLabel="द्व" 52 latin:moreKeys="द्ध" 53 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 54 <!-- U+091F/U+094D/U+091F: "" DEVANAGARI LETTER TTA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTA 55 U+091B: "" DEVANAGARI LETTER CHA --> 56 <Key 57 latin:keyLabel="ट्ट" 58 latin:moreKeys="छ" 59 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 60 <!-- U+0920/U+094D/U+0920: "" DEVANAGARI LETTER TTHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTHA 61 U+091F: "" DEVANAGARI LETTER TTA --> 62 <Key 63 latin:keyLabel="ठ्ठ" 64 latin:moreKeys="ट" 65 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 66 <!-- U+090A: "" DEVANAGARI LETTER UU 67 U+0920: "" DEVANAGARI LETTER TTHA --> 68 <Key 69 latin:keyLabel="ऊ" 70 latin:moreKeys="ठ" 71 latin:keyLabelFlags="fontNormal" /> 72 <!-- U+0915/U+094D/U+0937: "" DEVANAGARI LETTER KA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER SSA 73 U+0921: "" DEVANAGARI LETTER DDA --> 74 <Key 75 latin:keyLabel="क्ष" 76 latin:moreKeys="ड" 77 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 78 <!-- U+0907: "" DEVANAGARI LETTER I 79 U+0922: "" DEVANAGARI LETTER DDHA --> 80 <Key 81 latin:keyLabel="इ" 82 latin:moreKeys="ढ" 83 latin:keyLabelFlags="fontNormal" /> 84 <!-- U+090F: "" DEVANAGARI LETTER E 85 U+0923: "" DEVANAGARI LETTER NNA --> 86 <Key 87 latin:keyLabel="ए" 88 latin:moreKeys="ण" 89 latin:keyLabelFlags="fontNormal" /> 90 <!-- Because the font rendering system prior to API version 16 can't automatically 91 render dotted circle for incomplete combining letter of some scripts, different 92 set of Key definitions are needed based on the API version. --> 93 <include 94 latin:keyboardLayout="@xml/key_devanagari_vowel_sign_vocalic_r" /> 95 </case> 96 <default> 97 <!-- U+091F: "" DEVANAGARI LETTER TTA 98 U+0967: "" DEVANAGARI DIGIT ONE --> 99 <Key 100 latin:keyLabel="ट" 101 latin:keyHintLabel="1" 102 latin:additionalMoreKeys="१,1" 103 latin:keyLabelFlags="fontNormal" /> 104 <!-- U+0927: "" DEVANAGARI LETTER DHA 105 U+0968: "" DEVANAGARI DIGIT TWO --> 106 <Key 107 latin:keyLabel="ध" 108 latin:keyHintLabel="2" 109 latin:additionalMoreKeys="२,2" 110 latin:keyLabelFlags="fontNormal" /> 111 <!-- U+092D: "" DEVANAGARI LETTER BHA 112 U+0969: "" DEVANAGARI DIGIT THREE --> 113 <Key 114 latin:keyLabel="भ" 115 latin:keyHintLabel="3" 116 latin:additionalMoreKeys="३,3" 117 latin:keyLabelFlags="fontNormal" /> 118 <!-- U+091A: "" DEVANAGARI LETTER CA 119 U+096A: "" DEVANAGARI DIGIT FOUR --> 120 <Key 121 latin:keyLabel="च" 122 latin:keyHintLabel="4" 123 latin:additionalMoreKeys="४,4" 124 latin:keyLabelFlags="fontNormal" /> 125 <!-- U+0924: "" DEVANAGARI LETTER TA 126 U+096B: "" DEVANAGARI DIGIT FIVE --> 127 <Key 128 latin:keyLabel="त" 129 latin:keyHintLabel="5" 130 latin:additionalMoreKeys="५,5" 131 latin:keyLabelFlags="fontNormal" /> 132 <!-- U+0925: "" DEVANAGARI LETTER THA 133 U+096C: "" DEVANAGARI DIGIT SIX --> 134 <Key 135 latin:keyLabel="थ" 136 latin:keyHintLabel="6" 137 latin:additionalMoreKeys="६,6" 138 latin:keyLabelFlags="fontNormal" /> 139 <!-- U+0917: "" DEVANAGARI LETTER G 140 U+096D: "" DEVANAGARI DIGIT SEVEN --> 141 <Key 142 latin:keyLabel="ग" 143 latin:keyHintLabel="7" 144 latin:additionalMoreKeys="७,7" 145 latin:keyLabelFlags="fontNormal" /> 146 <!-- U+0937: "" DEVANAGARI LETTER SSA 147 U+096E: "" DEVANAGARI DIGIT EIGHT --> 148 <Key 149 latin:keyLabel="ष" 150 latin:keyHintLabel="8" 151 latin:additionalMoreKeys="८,8" 152 latin:keyLabelFlags="fontNormal" /> 153 <!-- U+092F: "" DEVANAGARI LETTER YA 154 U+096F: "" DEVANAGARI DIGIT NINE --> 155 <Key 156 latin:keyLabel="य" 157 latin:keyHintLabel="9" 158 latin:additionalMoreKeys="९,9" 159 latin:keyLabelFlags="fontNormal" /> 160 <!-- U+0909: "" DEVANAGARI LETTER U 161 U+0966: "" DEVANAGARI DIGIT ZERO --> 162 <Key 163 latin:keyLabel="उ" 164 latin:keyHintLabel="0" 165 latin:additionalMoreKeys="०,0" 166 latin:keyLabelFlags="fontNormal" /> 167 <!-- U+0907: "" DEVANAGARI LETTER I 168 U+0914: "" DEVANAGARI LETTER AU --> 169 <Key 170 latin:keyLabel="इ" 171 latin:moreKeys="औ" 172 latin:keyLabelFlags="fontNormal" /> 173 </default> 174 </switch> 175 </merge> 176