Update Hindi keyboard

* Remove "U+090E: DEVANAGARI LETTER SHORT E" from 3rd row
* Remove "U+0946: DEVANAGARI VOWEL SIGN SHORT E" from 3rd row
* Remove digit and Devanagari digit more keys from shifted layout
* Replace digit keys on symbol layout with Devanagari digit keys
* Enlarge 3rd row of phone layout slightly

Bug: 5964777
Change-Id: I2a4f85bf11fbec3820a79a026d95c8f73a9cf604
main
Tadashi G. Takaoka 2012-04-02 14:47:44 +09:00
parent 96fdc4dd84
commit d5fcc79e4c
6 changed files with 83 additions and 64 deletions

View File

@ -0,0 +1,51 @@
<?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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- U+0967: "१" DEVANAGARI DIGIT ONE -->
<string name="keylabel_for_symbols_1">&#x0967;</string>
<!-- U+0968: "२" DEVANAGARI DIGIT TWO -->
<string name="keylabel_for_symbols_2">&#x0968;</string>
<!-- U+0969: "३" DEVANAGARI DIGIT THREE -->
<string name="keylabel_for_symbols_3">&#x0969;</string>
<!-- U+096A: "४" DEVANAGARI DIGIT FOUR -->
<string name="keylabel_for_symbols_4">&#x096A;</string>
<!-- U+096B: "५" DEVANAGARI DIGIT FIVE -->
<string name="keylabel_for_symbols_5">&#x096B;</string>
<!-- U+096C: "६" DEVANAGARI DIGIT SIX -->
<string name="keylabel_for_symbols_6">&#x096C;</string>
<!-- U+096D: "७" DEVANAGARI DIGIT SEVEN -->
<string name="keylabel_for_symbols_7">&#x096D;</string>
<!-- U+096E: "८" DEVANAGARI DIGIT EIGHT -->
<string name="keylabel_for_symbols_8">&#x096E;</string>
<!-- U+096F: "९" DEVANAGARI DIGIT NINE -->
<string name="keylabel_for_symbols_9">&#x096F;</string>
<!-- U+0966: "" DEVANAGARI DIGIT ZERO -->
<string name="keylabel_for_symbols_0">&#x0966;</string>
<string name="additional_more_keys_for_symbols_1">1</string>
<string name="additional_more_keys_for_symbols_2">2</string>
<string name="additional_more_keys_for_symbols_3">3</string>
<string name="additional_more_keys_for_symbols_4">4</string>
<string name="additional_more_keys_for_symbols_5">5</string>
<string name="additional_more_keys_for_symbols_6">6</string>
<string name="additional_more_keys_for_symbols_7">7</string>
<string name="additional_more_keys_for_symbols_8">8</string>
<string name="additional_more_keys_for_symbols_9">9</string>
<string name="additional_more_keys_for_symbols_0">0</string>
</resources>

View File

@ -44,7 +44,7 @@
latin:keyWidth="fillBoth" />
</Row>
<Row
latin:keyWidth="6.923%p"
latin:keyWidth="7.5%p"
>
<Key
latin:keyStyle="shiftKeyStyle"

View File

@ -28,7 +28,8 @@
>
<Key
latin:keyStyle="tabKeyStyle"
latin:keyLabelFlags="alignLeft" />
latin:keyLabelFlags="alignLeft"
latin:keyWidth="7.969%p" />
<include
latin:keyboardLayout="@xml/rowkeys_hindi1"
latin:keyLabelFlags="disableAdditionalMoreKeys|disableKeyHintLabel" />
@ -37,12 +38,12 @@
latin:keyWidth="fillBoth" />
</Row>
<Row
latin:keyWidth="7.194%p"
latin:keyWidth="7.186%p"
>
<Key
latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelFlags="alignLeft"
latin:keyWidth="9.375%p" />
latin:keyWidth="11.172%p" />
<include
latin:keyboardLayout="@xml/rowkeys_hindi2" />
<Key
@ -50,15 +51,18 @@
latin:keyWidth="fillBoth" />
</Row>
<Row
latin:keyWidth="7.135%p"
latin:keyWidth="7.040%p"
>
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="14.375%p" />
latin:keyWidth="13.829%p" />
<include
latin:keyboardLayout="@xml/rowkeys_hindi3" />
<include
latin:keyboardLayout="@xml/keys_comma_period" />
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="fillBoth" />
</Row>
<include
latin:keyboardLayout="@xml/row_qwerty4" />

View File

@ -26,80 +26,50 @@
latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
>
<!-- U+0914: "औ" DEVANAGARI LETTER AU
U+0912/U+0902: "ऒं" DEVANAGARI LETTER SHORT O//DEVANAGARI SIGN ANUSVARA
U+0967: "१" DEVANAGARI DIGIT ONE -->
U+0912/U+0902: "ऒं" DEVANAGARI LETTER SHORT O//DEVANAGARI SIGN ANUSVARA -->
<Key
latin:keyLabel="&#x0914;"
latin:moreKeys="&#x0912;&#x0902;,%"
latin:keyHintLabel="1"
latin:additionalMoreKeys="&#x0967;,1" />
latin:moreKeys="&#x0912;&#x0902;" />
<!-- U+0910: "ऐ" DEVANAGARI LETTER AI
U+0910/U+0902: "ऐं" DEVANAGARI LETTER AI/DEVANAGARI SIGN ANUSVARA
U+0968: "२" DEVANAGARI DIGIT TWO -->
U+0910/U+0902: "ऐं" DEVANAGARI LETTER AI/DEVANAGARI SIGN ANUSVARA -->
<Key
latin:keyLabel="&#x0910;"
latin:moreKeys="&#x0910;&#x0902;,%"
latin:keyHintLabel="2"
latin:additionalMoreKeys="&#x0968;,2" />
latin:moreKeys="&#x0910;&#x0902;" />
<!-- U+0906: "आ" DEVANAGARI LETTER AA
U+0906/U+0902: "आं" DEVANAGARI LETTER AA/DEVANAGARI SIGN ANUSVARA
U+0906/U+0901: "आँ" DEVANAGARI LETTER AA/DEVANAGARI SIGN CANDRABINDU
U+0969: "३" DEVANAGARI DIGIT THREE -->
U+0906/U+0901: "आँ" DEVANAGARI LETTER AA/DEVANAGARI SIGN CANDRABINDU -->
<Key
latin:keyLabel="&#x0906;"
latin:moreKeys="&#x0906;&#x0902;,&#x0906;&#x0901;,%"
latin:keyHintLabel="3"
latin:additionalMoreKeys="&#x0969;,3" />
latin:moreKeys="&#x0906;&#x0902;,&#x0906;&#x0901;" />
<!-- U+0908: "ई" DEVANAGARI LETTER II
U+0908/U+0902: "ईं" DEVANAGARI LETTER II/DEVANAGARI SIGN ANUSVARA
U+096A: "४" DEVANAGARI DIGIT FOUR -->
U+0908/U+0902: "ईं" DEVANAGARI LETTER II/DEVANAGARI SIGN ANUSVARA -->
<Key
latin:keyLabel="&#x0908;"
latin:moreKeys="&#x0908;&#x0902;,%"
latin:keyHintLabel="4"
latin:additionalMoreKeys="&#x096A;,4" />
latin:moreKeys="&#x0908;&#x0902;" />
<!-- U+090A: "ऊ" DEVANAGARI LETTER UU
U+090A/U+0902: "ऊं" DEVANAGARI LETTER UU/DEVANAGARI SIGN ANUSVARA
U+090A/U+0901: "ऊँ" DEVANAGARI LETTER UU/DEVANAGARI SIGN CANDRABINDU
U+096B: "५" DEVANAGARI DIGIT FIVE -->
U+090A/U+0901: "ऊँ" DEVANAGARI LETTER UU/DEVANAGARI SIGN CANDRABINDU -->
<Key
latin:keyLabel="&#x090A;"
latin:moreKeys="&#x090A;&#x0902;,&#x090A;&#x0901;,%"
latin:keyHintLabel="5"
latin:additionalMoreKeys="&#x096B;,5" />
<!-- U+092D: "भ" DEVANAGARI LETTER BHA
U+096C: "६" DEVANAGARI DIGIT SIX -->
latin:moreKeys="&#x090A;&#x0902;,&#x090A;&#x0901;" />
<!-- U+092D: "भ" DEVANAGARI LETTER BHA -->
<Key
latin:keyLabel="&#x092D;"
latin:keyHintLabel="6"
latin:additionalMoreKeys="&#x096C;,6" />
<!-- U+0903: "" DEVANAGARI SIGN VISARGA
U+096D: "७" DEVANAGARI DIGIT SEVEN -->
latin:keyLabel="&#x092D;" />
<!-- U+0903: "" DEVANAGARI SIGN VISARGA -->
<Key
latin:keyLabel="&#x0903;"
latin:keyHintLabel="7"
latin:additionalMoreKeys="&#x096D;,7" />
<!-- U+0918: "घ" DEVANAGARI LETTER GHA
U+096E: "८" DEVANAGARI DIGIT EIGHT -->
latin:keyLabel="&#x0903;" />
<!-- U+0918: "घ" DEVANAGARI LETTER GHA -->
<Key
latin:keyLabel="&#x0918;"
latin:keyHintLabel="8"
latin:additionalMoreKeys="&#x096E;,8" />
latin:keyLabel="&#x0918;" />
<!-- U+0927: "ध" DEVANAGARI LETTER DHA
U+0915/U+094D/U+0937: "क्ष" DEVANAGARI LETTER KA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER SSA
U+0936/U+094D/U+0930: "श्र" DEVANAGARI LETTER SHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA
U+096F: "९" DEVANAGARI DIGIT NINE -->
U+0936/U+094D/U+0930: "श्र" DEVANAGARI LETTER SHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA -->
<Key
latin:keyLabel="&#x0927;"
latin:moreKeys="&#x0915;&#x094D;&#x0937;,&#x0936;&#x094D;&#x0930;,%"
latin:keyHintLabel="9"
latin:additionalMoreKeys="9" />
<!-- U+091D: "झ" DEVANAGARI LETTER JHA
U+0966: "" DEVANAGARI DIGIT ZERO -->
latin:moreKeys="&#x0915;&#x094D;&#x0937;,&#x0936;&#x094D;&#x0930;" />
<!-- U+091D: "झ" DEVANAGARI LETTER JHA -->
<Key
latin:keyLabel="&#x091D;"
latin:keyHintLabel="0"
latin:additionalMoreKeys="&#x0966;,0" />
latin:keyLabel="&#x091D;" />
<!-- U+0922: "ढ" DEVANAGARI LETTER DDHA -->
<Key
latin:keyLabel="&#x0922;" />

View File

@ -28,9 +28,6 @@
<!-- U+0911: "ऑ" DEVANAGARI LETTER CANDRA O -->
<Key
latin:keyLabel="&#x0911;" />
<!-- U+090E: "ऎ" DEVANAGARI LETTER SHORT E -->
<Key
latin:keyLabel="&#x090E;" />
<!-- U+0901: "ँ" DEVANAGARI SIGN CANDRABINDU
U+0945: "ॅ" DEVANAGARI VOWEL SIGN CANDRA E-->
<Key
@ -66,9 +63,6 @@
<!-- U+0949: "ॉ" DEVANAGARI VOWEL SIGN CANDRA O -->
<Key
latin:keyLabel="&#x0949;" />
<!-- U+0946: "ॆ" DEVANAGARI VOWEL SIGN SHORT E -->
<Key
latin:keyLabel="&#x0946;" />
<!-- U+0902: "ं" DEVANAGARI SIGN ANUSVARA -->
<Key
latin:keyLabel="&#x0902;" />

View File

@ -36,11 +36,11 @@
latin:keyboardLayout="@xml/rowkeys_hindi2" />
</Row>
<Row
latin:keyWidth="7.65%p"
latin:keyWidth="8.711%p"
>
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="11.75%p" />
latin:keyWidth="10.8%p" />
<include
latin:keyboardLayout="@xml/rowkeys_hindi3" />
<Key