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 </case> 37 <default> 38 <!-- Because the font rendering system prior to API version 16 can't automatically 39 render dotted circle for incomplete combining letter of some scripts, different 40 set of Key definitions are needed based on the API version. --> 41 <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_e" /> 42 <Key latin:keyStyle="baseKeyDevanagariVowelSignE" /> 43 <!-- U+0964: "" DEVANAGARI DANDA --> 44 <Key latin:keySpec="।" /> 45 <!-- U+0930: "" DEVANAGARI LETTER RA 46 U+0930/U+0941: "" DEVANAGARI LETTER RA/DEVANAGARI VOWEL SIGN U --> 47 <Key 48 latin:keySpec="र" 49 latin:moreKeys="रु" /> 50 </default> 51 </switch> 52 </merge> 53