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            <!-- U+0915/U+094D: "क्" DEVANAGARI LETTER KA/DEVANAGARI SIGN VIRAMA -->
25            <Key
26                latin:keySpec="&#x0915;&#x094D;"
27                latin:keyLabelFlags="followKeyLetterRatio" />
28            <!-- U+0939/U+094D/U+092E: "ह्म" DEVANAGARI LETTER HA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER MA -->
29            <Key
30                latin:keySpec="&#x0939;&#x094D;&#x092E;"
31                latin:keyLabelFlags="followKeyLetterRatio" />
32            <!-- U+090B: "ऋ" DEVANAGARI LETTER VOCALIC R -->
33            <Key latin:keySpec="&#x090B;" />
34            <!-- U+0950: "ॐ" DEVANAGARI OM -->
35            <Key latin:keySpec="&#x0950;" />
36            <!-- Because the font rendering system prior to API version 16 can't automatically
37                 render dotted circle for incomplete combining letter of some scripts, different
38                 set of Key definitions are needed based on the API version. -->
39            <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_au" />
40            <Key latin:keyStyle="baseKeyDevanagariVowelSignAu" />
41            <!-- U+0926/U+094D/U+092F: "द्य" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER YA -->
42            <Key
43                latin:keySpec="&#x0926;&#x094D;&#x092F;"
44                latin:keyLabelFlags="followKeyLetterRatio" />
45            <!-- Because the font rendering system prior to API version 16 can't automatically
46                 render dotted circle for incomplete combining letter of some scripts, different
47                 set of Key definitions are needed based on the API version. -->
48            <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_anusvara" />
49            <Key latin:keyStyle="baseKeyDevanagariSignAnusvara" />
50            <!-- U+0919: "ङ" DEVANAGARI LETTER NGA -->
51            <Key latin:keySpec="&#x0919;" />
52            <!-- Because the font rendering system prior to API version 16 can't automatically
53                 render dotted circle for incomplete combining letter of some scripts, different
54                 set of Key definitions are needed based on the API version. -->
55            <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ai" />
56            <Key latin:keyStyle="baseKeyDevanagariVowelSignAi" />
57        </case>
58        <default>
59            <!-- U+0936: "श" DEVANAGARI LETTER SHA -->
60            <Key latin:keySpec="&#x0936;" />
61            <!-- U+0939: "ह" DEVANAGARI LETTER HA -->
62            <Key latin:keySpec="&#x0939;" />
63            <!-- U+0905: "अ" DEVANAGARI LETTER A -->
64            <Key latin:keySpec="&#x0905;" />
65            <!-- U+0916: "ख" DEVANAGARI LETTER KHA -->
66            <Key latin:keySpec="&#x0916;" />
67            <!-- U+0926: "द" DEVANAGARI LETTER DA -->
68            <Key latin:keySpec="&#x0926;" />
69            <!-- U+0932: "ल" DEVANAGARI LETTER LA -->
70            <Key latin:keySpec="&#x0932;" />
71            <!-- Because the font rendering system prior to API version 16 can't automatically
72                 render dotted circle for incomplete combining letter of some scripts, different
73                 set of Key definitions are needed based on the API version. -->
74            <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_e" />
75            <Key latin:keyStyle="baseKeyDevanagariVowelSignE" />
76            <!-- Because the font rendering system prior to API version 16 can't automatically
77                 render dotted circle for incomplete combining letter of some scripts, different
78                 set of Key definitions are needed based on the API version. -->
79            <include
80                latin:keyboardLayout="@xml/keystyle_devanagari_sign_virama" />
81            <Key latin:keyStyle="baseKeyDevanagariSignVirama" />
82            <!-- U+0930: "र" DEVANAGARI LETTER RA
83                 U+0930/U+0941: "रु" DEVANAGARI LETTER RA/DEVANAGARI VOWEL SIGN U -->
84            <Key
85                latin:keySpec="&#x0930;"
86                latin:moreKeys="&#x0930;&#x0941;" />
87        </default>
88    </switch>
89</merge>
90