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
138 lines
6.5 KiB
XML
138 lines
6.5 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+0913: "ओ" DEVANAGARI LETTER O
|
|
U+0913/U+0902: "ओं" DEVANAGARI LETTER O/DEVANAGARI SIGN ANUSVARA
|
|
U+0911: "ऑ" DEVANAGARI LETTER CANDRA O
|
|
U+0912: "ऒ" DEVANAGARI LETTER SHORT O -->
|
|
<Key
|
|
latin:keyLabel="ओ"
|
|
latin:moreKeys="ओं,ऑ,ऒ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+090F: "ए" DEVANAGARI LETTER E
|
|
U+090F/U+0902: "एं" DEVANAGARI LETTER E/DEVANAGARI SIGN ANUSVARA
|
|
U+090F/U+0901: "एँ" DEVANAGARI LETTER E/DEVANAGARI SIGN CANDRABINDU
|
|
U+090D: "ऍ" DEVANAGARI LETTER CANDRA E
|
|
U+090E: "ऎ" DEVANAGARI LETTER SHORT E -->
|
|
<Key
|
|
latin:keyLabel="ए"
|
|
latin:moreKeys="एं,एँ,ऍ,ऎ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0905: "अ" DEVANAGARI LETTER A
|
|
U+0905/U+0902: "अं" DEVANAGARI LETTER A/DEVANAGARI SIGN ANUSVARA
|
|
U+0905/U+0901: "अँ" DEVANAGARI LETTER A/DEVANAGARI SIGN CANDRABINDU -->
|
|
<Key
|
|
latin:keyLabel="अ"
|
|
latin:moreKeys="अं,अँ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0907: "इ" DEVANAGARI LETTER I
|
|
U+0907/U+0902: "इं" DEVANAGARI LETTER I/DEVANAGARI SIGN ANUSVARA
|
|
U+0907/U+0901: "इं" DEVANAGARI LETTER I/DEVANAGARI SIGN CANDRABINDU -->
|
|
<Key
|
|
latin:keyLabel="इ"
|
|
latin:moreKeys="इं,इँ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0909: "उ" DEVANAGARI LETTER U
|
|
U+0909/U+0902: "उं" DEVANAGARI LETTER U/DEVANAGARI SIGN ANUSVARA
|
|
U+0909/U+0901: "उँ" DEVANAGARI LETTER U/DEVANAGARI SIGN CANDRABINDU -->
|
|
<Key
|
|
latin:keyLabel="उ"
|
|
latin:moreKeys="उं,उँ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+092B: "फ" DEVANAGARI LETTER PHA
|
|
U+092B/U+093C: "फ़" DEVANAGARI LETTER PHA/DEVANAGARI SIGN NUKTA -->
|
|
<Key
|
|
latin:keyLabel="फ"
|
|
latin:moreKeys="फ़"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0931: "ऱ" DEVANAGARI LETTER RRA
|
|
U+094D/U+0930: "्र" DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA
|
|
U+0930/U+094D: "र्" DEVANAGARI LETTER RA/DEVANAGARI SIGN VIRAMA -->
|
|
<Key
|
|
latin:keyLabel="ऱ"
|
|
latin:moreKeys="्र,र्"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0916: "ख" DEVANAGARI LETTER KHA
|
|
U+0916/U+093C: "ख़" DEVANAGARI LETTER KHA/DEVANAGARI SIGN NUKTA -->
|
|
<Key
|
|
latin:keyLabel="ख"
|
|
latin:moreKeys="ख़"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0925: "थ" DEVANAGARI LETTER THA -->
|
|
<Key
|
|
latin:keyLabel="थ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+091B: "छ" DEVANAGARI LETTER CHA -->
|
|
<Key
|
|
latin:keyLabel="छ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0920: "ठ" DEVANAGARI LETTER TTHA -->
|
|
<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_hindi2_left5" />
|
|
<!-- U+092A: "प" DEVANAGARI LETTER PA -->
|
|
<Key
|
|
latin:keyLabel="प"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0930: "र" DEVANAGARI LETTER RA
|
|
U+090B: "ऋ" DEVANAGARI LETTER VOCALIC R
|
|
U+0930/U+093C: "ऱ" DEVANAGARI LETTER RA/DEVANAGARI SIGN NUKTA
|
|
U+0960: "ॠ" DEVANAGARI LETTER VOCALIC RR -->
|
|
<Key
|
|
latin:keyLabel="र"
|
|
latin:moreKeys="ऋ,ऱ,ॠ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0915: "क" DEVANAGARI LETTER KA
|
|
U+0915/U+093C: "क़" DEVANAGARI LETTER KA/DEVANAGARI SIGN NUKTA -->
|
|
<Key
|
|
latin:keyLabel="क"
|
|
latin:moreKeys="क़"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0924: "त" DEVANAGARI LETTER TA
|
|
U+0924/U+094D/U+0930: "त्र" DEVANAGARI LETTER TA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA -->
|
|
<Key
|
|
latin:keyLabel="त"
|
|
latin:moreKeys="त्र"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+091A: "च" DEVANAGARI LETTER CA -->
|
|
<Key
|
|
latin:keyLabel="च"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+091F: "ट" DEVANAGARI LETTER TTA -->
|
|
<Key
|
|
latin:keyLabel="ट"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
</default>
|
|
</switch>
|
|
</merge>
|