mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
92 lines
4.2 KiB
XML
92 lines
4.2 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.
|
||
|
*/
|
||
|
-->
|
||
|
|
||
|
<merge
|
||
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||
|
>
|
||
|
<switch>
|
||
|
<case
|
||
|
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
|
||
|
>
|
||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||
|
render dotted circle for incomplete combining letter of some scripts, different
|
||
|
set of Key definitions are needed based on the API version. -->
|
||
|
<include
|
||
|
latin:keyboardLayout="@xml/key_devanagari_sign_anusvara" />
|
||
|
<!-- U+0919: "ङ" DEVANAGARI LETTER NGA -->
|
||
|
<Key
|
||
|
latin:keyLabel="ङ"
|
||
|
latin:keyLabelFlags="fontNormal" />
|
||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||
|
render dotted circle for incomplete combining letter of some scripts, different
|
||
|
set of Key definitions are needed based on the API version. -->
|
||
|
<include
|
||
|
latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ai" />
|
||
|
<Key
|
||
|
latin:keyStyle="baseKeyDevanagariVowelSignAi" />
|
||
|
<!-- U+0930/U+0941: "रु" DEVANAGARI LETTER RA/DEVANAGARI VOWEL SIGN U -->
|
||
|
<Key
|
||
|
latin:keyLabel="रु"
|
||
|
latin:moreKeys="!"
|
||
|
latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
|
||
|
<Key
|
||
|
latin:keyLabel="\?" />
|
||
|
</case>
|
||
|
<default>
|
||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||
|
render dotted circle for incomplete combining letter of some scripts, different
|
||
|
set of Key definitions are needed based on the API version. -->
|
||
|
<!-- U+093D: "ऽ" DEVANAGARI SIGN AVAGRAHA -->
|
||
|
<include
|
||
|
latin:keyboardLayout="@xml/keystyle_devanagari_sign_visarga" />
|
||
|
<Key
|
||
|
latin:keyStyle="baseKeyDevanagariSignVisarga"
|
||
|
latin:moreKeys="ऽ" />
|
||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||
|
render dotted circle for incomplete combining letter of some scripts, different
|
||
|
set of Key definitions are needed based on the API version. -->
|
||
|
<include
|
||
|
latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_e" />
|
||
|
<!-- Override more keys with empty definition -->
|
||
|
<key-style
|
||
|
latin:styleName="moreKeysDevanagariVowelSignE" />
|
||
|
<Key
|
||
|
latin:keyStyle="baseKeyDevanagariVowelSignE" />
|
||
|
<!-- U+0964: "।" DEVANAGARI DANDA -->
|
||
|
<Key
|
||
|
latin:keyLabel="।"
|
||
|
latin:keyLabelFlags="fontNormal" />
|
||
|
<!-- U+0930: "र" DEVANAGARI LETTER RA -->
|
||
|
<Key
|
||
|
latin:keyLabel="र"
|
||
|
latin:moreKeys="!"
|
||
|
latin:keyLabelFlags="fontNormal" />
|
||
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
||
|
render dotted circle for incomplete combining letter of some scripts, different
|
||
|
set of Key definitions are needed based on the API version. -->
|
||
|
<include
|
||
|
latin:keyboardLayout="@xml/keystyle_devanagari_sign_virama" />
|
||
|
<Key
|
||
|
latin:keyStyle="baseKeyDevanagariSignVirama"
|
||
|
latin:moreKeys="\?" />
|
||
|
</default>
|
||
|
</switch>
|
||
|
</merge>
|