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+0906: "" DEVANAGARI LETTER AA --> 29 <Key 30 latin:keyLabel="आ" 31 latin:keyLabelFlags="fontNormal" /> 32 <!-- U+0919/U+094D: "" DEVANAGARI LETTER NGA/DEVANAGARI SIGN VIRAMA --> 33 <Key 34 latin:keyLabel="ङ्" 35 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 36 <!-- U+0921/U+094D/U+0921: "" DEVANAGARI LETTER DDA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DDA --> 37 <Key 38 latin:keyLabel="ड्ड" 39 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 40 <!-- Because the font rendering system prior to API version 16 can't automatically 41 render dotted circle for incomplete combining letter of some scripts, different 42 set of Key definitions are needed based on the API version. --> 43 <include 44 latin:keyboardLayout="@xml/key_devanagari_sign_candrabindu" /> 45 <!-- U+0926/U+094D/U+0926: "" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DA --> 46 <Key 47 latin:keyLabel="द्द" 48 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 49 <!-- U+091D: "" DEVANAGARI LETTER JHA --> 50 <Key 51 latin:keyLabel="झ" 52 latin:keyLabelFlags="fontNormal" /> 53 <!-- Because the font rendering system prior to API version 16 can't automatically 54 render dotted circle for incomplete combining letter of some scripts, different 55 set of Key definitions are needed based on the API version. --> 56 <include 57 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_o" /> 58 <Key 59 latin:keyStyle="baseKeyDevanagariVowelSignO" /> 60 <!-- U+092B: "" DEVANAGARI LETTER PHA --> 61 <Key 62 latin:keyLabel="फ" 63 latin:keyLabelFlags="fontNormal" /> 64 <!-- Because the font rendering system prior to API version 16 can't automatically 65 render dotted circle for incomplete combining letter of some scripts, different 66 set of Key definitions are needed based on the API version. --> 67 <include 68 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ii" /> 69 <Key 70 latin:keyStyle="baseKeyDevanagariVowelSignIi" /> 71 <!-- U+091F/U+094D/U+0920: "" DEVANAGARI LETTER TTA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTHA --> 72 <Key 73 latin:keyLabel="ट्ठ" 74 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" /> 75 <!-- Because the font rendering system prior to API version 16 can't automatically 76 render dotted circle for incomplete combining letter of some scripts, different 77 set of Key definitions are needed based on the API version. --> 78 <include 79 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_uu" /> 80 <Key 81 latin:keyStyle="baseKeyDevanagariVowelSignUu" /> 82 </case> 83 <default> 84 <!-- U+092C: "" DEVANAGARI LETTER BA --> 85 <Key 86 latin:keyLabel="ब" 87 latin:keyLabelFlags="fontNormal" /> 88 <!-- U+0915: "" DEVANAGARI LETTER KA --> 89 <Key 90 latin:keyLabel="क" 91 latin:keyLabelFlags="fontNormal" /> 92 <!-- U+092E: "" DEVANAGARI LETTER MA --> 93 <Key 94 latin:keyLabel="म" 95 latin:keyLabelFlags="fontNormal" /> 96 <!-- Because the font rendering system prior to API version 16 can't automatically 97 render dotted circle for incomplete combining letter of some scripts, different 98 set of Key definitions are needed based on the API version. --> 99 <include 100 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_aa" /> 101 <Key 102 latin:keyStyle="baseKeyDevanagariVowelSignAa" /> 103 <!-- U+0928: "" DEVANAGARI LETTER NA --> 104 <Key 105 latin:keyLabel="न" 106 latin:keyLabelFlags="fontNormal" /> 107 <!-- U+091C: "" DEVANAGARI LETTER JA --> 108 <Key 109 latin:keyLabel="ज" 110 latin:keyLabelFlags="fontNormal" /> 111 <!-- U+0935: "" DEVANAGARI LETTER VA --> 112 <Key 113 latin:keyLabel="व" 114 latin:keyLabelFlags="fontNormal" /> 115 <!-- U+092A: "" DEVANAGARI LETTER PA --> 116 <Key 117 latin:keyLabel="प" 118 latin:keyLabelFlags="fontNormal" /> 119 <!-- Because the font rendering system prior to API version 16 can't automatically 120 render dotted circle for incomplete combining letter of some scripts, different 121 set of Key definitions are needed based on the API version. --> 122 <include 123 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_i" /> 124 <Key 125 latin:keyStyle="baseKeyDevanagariVowelSignI" /> 126 <!-- U+0938: "" DEVANAGARI LETTER SA --> 127 <Key 128 latin:keyLabel="स" 129 latin:keyLabelFlags="fontNormal" /> 130 <!-- Because the font rendering system prior to API version 16 can't automatically 131 render dotted circle for incomplete combining letter of some scripts, different 132 set of Key definitions are needed based on the API version. --> 133 <include 134 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_u" /> 135 <Key 136 latin:keyStyle="baseKeyDevanagariVowelSignU" /> 137 </default> 138 </switch> 139 </merge> 140