Xml文件  |  86行  |  3.84 KB

<?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 Hindi. The files named res/xml/{key,keys}_hindi*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/{key,keys}_hindi*.xml don't have this hack. -->
<merge
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
    <!-- U+25CC: "◌" DOTTED CIRCLE
         U+094C: "ौ" DEVANAGARI VOWEL SIGN AU
         U+094C/U+0902: "ौं" DEVANAGARI VOWEL SIGN AU/DEVANAGARI SIGN ANUSVARA
         U+0967: "१" DEVANAGARI DIGIT ONE -->
    <Key
        latin:keyLabel="&#x25CC;&#x094C;"
        latin:code="0x094C"
        latin:moreKeys="&#x25CC;&#x094C;&#x0902;|&#x094C;&#x0902;,%"
        latin:keyHintLabel="1"
        latin:additionalMoreKeys="&#x0967;,1"
        latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
    <!-- U+25CC: "◌" DOTTED CIRCLE
         U+0948: "ै" DEVANAGARI VOWEL SIGN AI
         U+0948/U+0902: "ैं" DEVANAGARI VOWEL SIGN AI/DEVANAGARI SIGN ANUSVARA
         U+0968: "२" DEVANAGARI DIGIT TWO -->
    <Key
        latin:keyLabel="&#x25CC;&#x0948;"
        latin:code="0x0948"
        latin:moreKeys="&#x25CC;&#x0948;&#x0902;|&#x0948;&#x0902;,%"
        latin:keyHintLabel="2"
        latin:additionalMoreKeys="&#x0968;,2"
        latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
    <!-- U+25CC: "◌" DOTTED CIRCLE
         U+093E: "ा" DEVANAGARI VOWEL SIGN AA
         U+093E/U+0902: "ां" DEVANAGARI VOWEL SIGN AA/DEVANAGARI SIGN ANUSVARA
         U+093E/U+0901: "ाँ" DEVANAGARI VOWEL SIGN AA/DEVANAGARI SIGN CANDRABINDU
         U+0969: "३" DEVANAGARI DIGIT THREE -->
    <Key
        latin:keyLabel="&#x25CC;&#x093E;"
        latin:code="0x093E"
        latin:moreKeys="&#x25CC;&#x093E;&#x0902;|&#x093E;&#x0902;,&#x25CC;&#x093E;&#x0901;|&#x093E;&#x0901;,%"
        latin:keyHintLabel="3"
        latin:additionalMoreKeys="&#x0969;,3"
        latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
    <!-- U+25CC: "◌" DOTTED CIRCLE
         U+0940: "ी" DEVANAGARI VOWEL SIGN II
         U+0940/U+0902: "ीं" DEVANAGARI VOWEL SIGN II/DEVANAGARI SIGN ANUSVARA
         U+096A: "४" DEVANAGARI DIGIT FOUR -->
    <Key
        latin:keyLabel="&#x25CC;&#x0940;"
        latin:code="0x0940"
        latin:moreKeys="&#x25CC;&#x0940;&#x0902;|&#x0940;&#x0902;,%"
        latin:keyHintLabel="4"
        latin:additionalMoreKeys="&#x096A;,4"
        latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
    <!-- U+25CC: "◌" DOTTED CIRCLE
         U+0942: "ू" DEVANAGARI VOWEL SIGN UU
         U+0942/U+0902: "ूं" DEVANAGARI VOWEL SIGN UU/DEVANAGARI SIGN ANUSVARA
         U+0942/U+0901: "ूँ" DEVANAGARI VOWEL SIGN UU/DEVANAGARI SIGN CANDRABINDU
         U+096B: "५" DEVANAGARI DIGIT FIVE -->
    <Key
        latin:keyLabel="&#x25CC;&#x0942;"
        latin:code="0x0942"
        latin:moreKeys="&#x25CC;&#x0942;&#x0902;|&#x0942;&#x0902;,&#x25CC;&#x0942;&#x0901;|&#x0942;&#x0901;,%"
        latin:keyHintLabel="5"
        latin:additionalMoreKeys="&#x096B;,5"
        latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
</merge>