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 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"> 22 <switch> 23 <case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"> 24 <!-- Because the font rendering system prior to API version 16 can't automatically 25 render dotted circle for incomplete combining letter of some scripts, different 26 set of Key definitions are needed based on the API version. --> 27 <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_anusvara" /> 28 <Key latin:keyStyle="baseKeyDevanagariSignAnusvara" /> 29 <!-- U+0919: "" DEVANAGARI LETTER NGA --> 30 <Key latin:keySpec="ङ" /> 31 <!-- Because the font rendering system prior to API version 16 can't automatically 32 render dotted circle for incomplete combining letter of some scripts, different 33 set of Key definitions are needed based on the API version. --> 34 <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ai" /> 35 <Key latin:keyStyle="baseKeyDevanagariVowelSignAi" /> 36 <!-- U+0930/U+0941: "" DEVANAGARI LETTER RA/DEVANAGARI VOWEL SIGN U --> 37 <Key 38 latin:keySpec="रु" 39 latin:moreKeys="!" 40 latin:keyLabelFlags="followKeyLetterRatio" /> 41 <Key 42 latin:keySpec="\?" 43 latin:keyLabelFlags="fontDefault" /> 44 </case> 45 <default> 46 <!-- Because the font rendering system prior to API version 16 can't automatically 47 render dotted circle for incomplete combining letter of some scripts, different 48 set of Key definitions are needed based on the API version. --> 49 <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_visarga" /> 50 <!-- U+093D: "" DEVANAGARI SIGN AVAGRAHA --> 51 <Key 52 latin:keyStyle="baseKeyDevanagariSignVisarga" 53 latin:moreKeys="ऽ" /> 54 <!-- Because the font rendering system prior to API version 16 can't automatically 55 render dotted circle for incomplete combining letter of some scripts, different 56 set of Key definitions are needed based on the API version. --> 57 <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_e" /> 58 <!-- Override more keys with empty definition --> 59 <key-style latin:styleName="moreKeysDevanagariVowelSignE" /> 60 <Key latin:keyStyle="baseKeyDevanagariVowelSignE" /> 61 <!-- U+0964: "" DEVANAGARI DANDA --> 62 <Key latin:keySpec="।" /> 63 <!-- U+0930: "" DEVANAGARI LETTER RA --> 64 <Key 65 latin:keySpec="र" 66 latin:moreKeys="!" /> 67 <!-- Because the font rendering system prior to API version 16 can't automatically 68 render dotted circle for incomplete combining letter of some scripts, different 69 set of Key definitions are needed based on the API version. --> 70 <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_virama" /> 71 <Key 72 latin:keyStyle="baseKeyDevanagariSignVirama" 73 latin:moreKeys="\?" /> 74 </default> 75 </switch> 76 </merge> 77