mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
0b928509c7
This dotted circle (U+25CC) hack is needed to the device that runs API version 14 and 15. The device that runs API version 16 and 17 has an issue to draw incomplete successive combining code points of Hindi. The device that runs API version greater than 17 has no issue to draw incomplete Hindi combining letters. Bug: 6233945 Bug: 8344448 Change-Id: I22361da908ccca3ebad0beb32e7f69219e9160d6
117 lines
5.1 KiB
XML
117 lines
5.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
**
|
|
** Copyright 2012, 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"
|
|
>
|
|
<!-- U+0911: "ऑ" DEVANAGARI LETTER CANDRA O -->
|
|
<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 Hindi, different set of
|
|
Key definitions are needed based on the API version. -->
|
|
<include
|
|
latin:keyboardLayout="@xml/key_hindi3_shift_left" />
|
|
<!-- U+0923: "ण" DEVANAGARI LETTER NNA -->
|
|
<Key
|
|
latin:keyLabel="ण"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0929: "ऩ" DEVANAGARI LETTER NNNA -->
|
|
<Key
|
|
latin:keyLabel="ऩ" />
|
|
<!-- U+0933: "ळ" DEVANAGARI LETTER LLA
|
|
U+0934: "ऴ" DEVANAGARI LETTER LLLA -->
|
|
<Key
|
|
latin:keyLabel="ळ"
|
|
latin:moreKeys="ऴ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0936: "श" DEVANAGARI LETTER SHA -->
|
|
<Key
|
|
latin:keyLabel="श"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0937: "ष" DEVANAGARI LETTER SSA -->
|
|
<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 Hindi, different set of
|
|
Key definitions are needed based on the API version. -->
|
|
<include
|
|
latin:keyboardLayout="@xml/key_hindi3_shift_right" />
|
|
<!-- U+091E: "ञ" DEVANAGARI LETTER NYA -->
|
|
<Key
|
|
latin:keyLabel="ञ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
</case>
|
|
<default>
|
|
<!-- Because the font rendering system prior to API version 16 can't automatically
|
|
render dotted circle for incomplete combining letter of Hindi, different set of
|
|
Key definitions are needed based on the API version. -->
|
|
<include
|
|
latin:keyboardLayout="@xml/keys_hindi3_left2" />
|
|
<!-- U+092E: "म" DEVANAGARI LETTER MA
|
|
U+0950: "ॐ" DEVANAGARI OM -->
|
|
<Key
|
|
latin:keyLabel="म"
|
|
latin:moreKeys="ॐ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0928: "न" DEVANAGARI LETTER NA
|
|
U+091E: "ञ" DEVANAGARI LETTER NYA
|
|
U+0919: "ङ" DEVANAGARI LETTER NGA
|
|
U+0928/U+093C: "ऩ" DEVANAGARI LETTER NA/DEVANAGARI SIGN NUKTA -->
|
|
<Key
|
|
latin:keyLabel="न"
|
|
latin:moreKeys="ञ,ङ,ऩ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0935: "व" DEVANAGARI LETTER VA -->
|
|
<Key
|
|
latin:keyLabel="व"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0932: "ल" DEVANAGARI LETTER LA
|
|
U+090C: "ऌ" DEVANAGARI LETTER VOCALIC L
|
|
U+0961: "ॡ" DEVANAGARI LETTER VOCALIC LL -->
|
|
<Key
|
|
latin:keyLabel="ल"
|
|
latin:moreKeys="ऌ,ॡ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0938: "स" DEVANAGARI LETTER SA -->
|
|
<Key
|
|
latin:keyLabel="स"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+092F: "य" DEVANAGARI LETTER YA
|
|
U+095F: "य़" DEVANAGARI LETTER YYA -->
|
|
<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 Hindi, different set of
|
|
Key definitions are needed based on the API version. -->
|
|
<include
|
|
latin:keyboardLayout="@xml/key_hindi3_right" />
|
|
</default>
|
|
</switch>
|
|
</merge>
|