| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| /* |
| ** |
| ** Copyright 2012, The Android Open Source Project |
| ** |
| ** Licensed under the Apache License, Version 2.0 (the "License"); |
| ** you may not use this file except in compliance with the License. |
| ** You may obtain a copy of the License at |
| ** |
| ** http://www.apache.org/licenses/LICENSE-2.0 |
| ** |
| ** Unless required by applicable law or agreed to in writing, software |
| ** distributed under the License is distributed on an "AS IS" BASIS, |
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ** See the License for the specific language governing permissions and |
| ** limitations under the License. |
| */ |
| --> |
| |
| <merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"> |
| <switch> |
| <case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"> |
| <!-- U+0911: "ऑ" DEVANAGARI LETTER CANDRA O --> |
| <Key latin:keySpec="ऑ" /> |
| <!-- Because the font rendering system prior to API version 16 can't automatically |
| render dotted circle for incomplete combining letter of some scripts, different |
| set of Key definitions are needed based on the API version. --> |
| <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_candrabindu" /> |
| <Key latin:keyStyle="baseKeyDevanagariSignCandrabindu" /> |
| <!-- U+0923: "ण" DEVANAGARI LETTER NNA --> |
| <Key latin:keySpec="ण" /> |
| <!-- U+0929: "ऩ" DEVANAGARI LETTER NNNA --> |
| <Key latin:keySpec="ऩ" /> |
| <!-- U+0933: "ळ" DEVANAGARI LETTER LLA |
| U+0934: "ऴ" DEVANAGARI LETTER LLLA --> |
| <Key |
| latin:keySpec="ळ" |
| latin:moreKeys="ऴ" /> |
| <!-- U+0936: "श" DEVANAGARI LETTER SHA --> |
| <Key latin:keySpec="श" /> |
| <!-- U+0937: "ष" DEVANAGARI LETTER SSA --> |
| <Key latin:keySpec="ष" /> |
| <!-- Because the font rendering system prior to API version 16 can't automatically |
| render dotted circle for incomplete combining letter of some scripts, different |
| set of Key definitions are needed based on the API version. --> |
| <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_vocalic_r" /> |
| <Key latin:keyStyle="baseKeyDevanagariVowelSignVocalicR" /> |
| <!-- U+091E: "ञ" DEVANAGARI LETTER NYA --> |
| <Key latin:keySpec="ञ" /> |
| </case> |
| <default> |
| <!-- Because the font rendering system prior to API version 16 can't automatically |
| render dotted circle for incomplete combining letter of some scripts, different |
| set of Key definitions are needed based on the API version. --> |
| <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_candra_o" /> |
| <Key latin:keyStyle="baseKeyDevanagariVowelSignCandraO" /> |
| <!-- Because the font rendering system prior to API version 16 can't automatically |
| render dotted circle for incomplete combining letter of some scripts, different |
| set of Key definitions are needed based on the API version. --> |
| <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_anusvara" /> |
| <Key latin:keyStyle="baseKeyDevanagariSignAnusvara" /> |
| <!-- U+092E: "म" DEVANAGARI LETTER MA |
| U+0950: "ॐ" DEVANAGARI OM --> |
| <Key |
| latin:keySpec="म" |
| latin:moreKeys="ॐ" /> |
| <!-- U+0928: "न" DEVANAGARI LETTER NA |
| U+091E: "ञ" DEVANAGARI LETTER NYA |
| U+0919: "ङ" DEVANAGARI LETTER NGA |
| U+0928/U+093C: "ऩ" DEVANAGARI LETTER NA/DEVANAGARI SIGN NUKTA --> |
| <Key |
| latin:keySpec="न" |
| latin:moreKeys="ञ,ङ,ऩ" /> |
| <!-- U+0935: "व" DEVANAGARI LETTER VA --> |
| <Key latin:keySpec="व" /> |
| <!-- U+0932: "ल" DEVANAGARI LETTER LA |
| U+090C: "ऌ" DEVANAGARI LETTER VOCALIC L |
| U+0961: "ॡ" DEVANAGARI LETTER VOCALIC LL --> |
| <Key |
| latin:keySpec="ल" |
| latin:moreKeys="ऌ,ॡ" /> |
| <!-- U+0938: "स" DEVANAGARI LETTER SA --> |
| <Key latin:keySpec="स" /> |
| <!-- U+092F: "य" DEVANAGARI LETTER YA |
| U+095F: "य़" DEVANAGARI LETTER YYA --> |
| <Key |
| latin:keySpec="य" |
| latin:moreKeys="य़" /> |
| <!-- Because the font rendering system prior to API version 16 can't automatically |
| render dotted circle for incomplete combining letter of some scripts, different |
| set of Key definitions are needed based on the API version. --> |
| <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_nukta" /> |
| <Key latin:keyStyle="baseKeyDevanagariSignNukta" /> |
| </default> |
| </switch> |
| </merge> |