mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
a5ab5d830c
Bug: 10028772 Change-Id: I7bca05bbbfdb2e5f61d5db611dff62ace3b71e31
68 lines
2.6 KiB
XML
68 lines
2.6 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+25CC: "◌" DOTTED CIRCLE
|
|
U+0940/U+0902: "ीं" DEVANAGARI VOWEL SIGN II/DEVANAGARI SIGN ANUSVARA -->
|
|
<key-style
|
|
latin:styleName="moreKeysDevanagariVowelSignIi"
|
|
latin:moreKeys="◌ीं|ीं,%" />
|
|
</case>
|
|
<case
|
|
latin:keyboardLayoutSet="hindi_compact"
|
|
>
|
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
|
U+0940: "ी" DEVANAGARI VOWEL SIGN II -->
|
|
<key-style
|
|
latin:styleName="moreKeysDevanagariVowelSignIi"
|
|
latin:moreKeys="◌ी|ी,%" />
|
|
</case>
|
|
<case
|
|
latin:keyboardLayoutSet="marathi"
|
|
>
|
|
<!-- U+0908: "ई" DEVANAGARI LETTER II -->
|
|
<key-style
|
|
latin:styleName="moreKeysDevanagariVowelSignIi"
|
|
latin:moreKeys="ई,%" />
|
|
</case>
|
|
<default>
|
|
<key-style
|
|
latin:styleName="moreKeysDevanagariVowelSignIi" />
|
|
</default>
|
|
</switch>
|
|
<!-- U+25CC: "◌" DOTTED CIRCLE
|
|
U+0940: "ी" DEVANAGARI VOWEL SIGN II -->
|
|
<key-style
|
|
latin:styleName="baseKeyDevanagariVowelSignIi"
|
|
latin:parentStyle="moreKeysDevanagariVowelSignIi"
|
|
latin:keySpec="◌ी|ी"
|
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
|
</merge>
|