futokb/java/res/xml-v16/keystyle_devanagari_vowel_sign_ai.xml
Tadashi G. Takaoka a3804e5e10 Add hindi_compact keyboard
Bug: 13779052
Change-Id: Ic7c17d96560501422a63340d7ce6bd8720e6c3c9
2014-04-03 19:47:31 +09:00

65 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2013, 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.
*/
-->
<!-- The code point U+25CC for key label is needed because the font rendering system prior to
API version 16 can't automatically render dotted circle for incomplete combining letter
of some scripts. The files named res/xml/key_*.xml have this U+25CC hack, although the
counterpart files named res/xml-v16/key_*.xml don't have this hack. -->
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<case
latin:keyboardLayoutSet="hindi"
>
<!-- U+0948/U+0902: "ैं" DEVANAGARI VOWEL SIGN AI/DEVANAGARI SIGN ANUSVARA -->
<key-style
latin:styleName="moreKeysDevanagariVowelSignAi"
latin:moreKeys="&#x0948;&#x0902;,%" />
</case>
<case
latin:keyboardLayoutSet="hindi_compact"
>
<!-- U+0948: "ै" DEVANAGARI VOWEL SIGN AI -->
<key-style
latin:styleName="moreKeysDevanagariVowelSignAi"
latin:moreKeys="&#x0948;,%" />
</case>
<case
latin:keyboardLayoutSet="nepali_traditional"
>
<!-- U+0936/U+094D/U+0930: "श्र" DEVANAGARI LETTER SHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA -->
<key-style
latin:styleName="moreKeysDevanagariVowelSignAi"
latin:moreKeys="&#x0936;&#x094D;&#x0930;" />
</case>
<default>
<key-style
latin:styleName="moreKeysDevanagariVowelSignAi" />
</default>
</switch>
<!-- U+0948: "ै" DEVANAGARI VOWEL SIGN AI -->
<key-style
latin:styleName="baseKeyDevanagariVowelSignAi"
latin:parentStyle="moreKeysDevanagariVowelSignAi"
latin:keySpec="&#x0948;"
latin:keyLabelFlags="fontNormal" />
</merge>