keystyle_devanagari_sign_virama.xml revision 254c5c1e4baaf9b4dc8917f14e63dfa3f713f9fa
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<!-- The code point U+25CC for key label is needed because the font rendering system prior to
22     API version 16 can't automatically render dotted circle for incomplete combining letter
23     of some scripts. The files named res/xml/key_*.xml have this U+25CC hack, although the
24     counterpart files named res/xml-v16/key_*.xml don't have this hack. -->
25<merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
26    <switch>
27        <case latin:keyboardLayoutSet="hindi_compact">
28            <!-- U+094D: "्" DEVANAGARI SIGN VIRAMA -->
29            <key-style
30                latin:styleName="moreKeySpecDevanagariSignVirama"
31                latin:moreKeys="&#x094D;" />
32            <!-- U+0945: "ॅ" DEVANAGARI VOWEL SIGN CANDRA E
33                 U+090D: "ऍ" DEVANAGARI LETTER CANDRA E -->
34            <key-style
35                latin:styleName="moreKeysDevanagariSignVirama"
36                latin:moreKeys="&#x0945;,&#x090D;" />
37        </case>
38        <case latin:keyboardLayoutSet="marathi">
39            <!-- U+0905: "अ" DEVANAGARI LETTER A -->
40            <key-style
41                latin:styleName="moreKeysDevanagariSignVirama"
42                latin:moreKeys="&#x0905;" />
43        </case>
44        <default>
45            <key-style latin:styleName="moreKeysDevanagariSignVirama" />
46        </default>
47    </switch>
48    <!-- U+094D: "्" DEVANAGARI SIGN VIRAMA -->
49    <key-style
50        latin:styleName="baseKeyDevanagariSignVirama"
51        latin:parentStyle="moreKeysDevanagariSignVirama"
52        latin:keySpec="&#x094D;" />
53</merge>
54