From d5fcc79e4ce056daad8ab8eeb4a38c308d6f91e9 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 2 Apr 2012 14:47:44 +0900 Subject: [PATCH] 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 --- .../values-hi/donottranslate-more-keys.xml | 51 ++++++++++++++ java/res/xml-sw600dp/rows_hindi.xml | 2 +- java/res/xml-sw768dp/rows_hindi.xml | 14 ++-- java/res/xml/rowkeys_hindi1.xml | 70 ++++++------------- java/res/xml/rowkeys_hindi3.xml | 6 -- java/res/xml/rows_hindi.xml | 4 +- 6 files changed, 83 insertions(+), 64 deletions(-) create mode 100644 java/res/values-hi/donottranslate-more-keys.xml diff --git a/java/res/values-hi/donottranslate-more-keys.xml b/java/res/values-hi/donottranslate-more-keys.xml new file mode 100644 index 000000000..19bcb9dda --- /dev/null +++ b/java/res/values-hi/donottranslate-more-keys.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 0 + diff --git a/java/res/xml-sw600dp/rows_hindi.xml b/java/res/xml-sw600dp/rows_hindi.xml index 6bec7f0b5..6c98e080e 100644 --- a/java/res/xml-sw600dp/rows_hindi.xml +++ b/java/res/xml-sw600dp/rows_hindi.xml @@ -44,7 +44,7 @@ latin:keyWidth="fillBoth" /> + latin:keyLabelFlags="alignLeft" + latin:keyWidth="7.969%p" /> @@ -37,12 +38,12 @@ latin:keyWidth="fillBoth" /> + latin:keyWidth="11.172%p" /> + latin:keyWidth="13.829%p" /> + diff --git a/java/res/xml/rowkeys_hindi1.xml b/java/res/xml/rowkeys_hindi1.xml index fe54d9ea9..eb99de96d 100644 --- a/java/res/xml/rowkeys_hindi1.xml +++ b/java/res/xml/rowkeys_hindi1.xml @@ -26,80 +26,50 @@ latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted" > + U+0912/U+0902: "ऒं" DEVANAGARI LETTER SHORT O//DEVANAGARI SIGN ANUSVARA --> + latin:moreKeys="ऒं" /> + U+0910/U+0902: "ऐं" DEVANAGARI LETTER AI/DEVANAGARI SIGN ANUSVARA --> + latin:moreKeys="ऐं" /> + U+0906/U+0901: "आँ" DEVANAGARI LETTER AA/DEVANAGARI SIGN CANDRABINDU --> + latin:moreKeys="आं,आँ" /> + U+0908/U+0902: "ईं" DEVANAGARI LETTER II/DEVANAGARI SIGN ANUSVARA --> + latin:moreKeys="ईं" /> + U+090A/U+0901: "ऊँ" DEVANAGARI LETTER UU/DEVANAGARI SIGN CANDRABINDU --> - + latin:moreKeys="ऊं,ऊँ" /> + - + latin:keyLabel="भ" /> + - + latin:keyLabel="ः" /> + + latin:keyLabel="घ" /> + U+0936/U+094D/U+0930: "श्र" DEVANAGARI LETTER SHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA --> - + latin:moreKeys="क्ष,श्र" /> + + latin:keyLabel="झ" /> diff --git a/java/res/xml/rowkeys_hindi3.xml b/java/res/xml/rowkeys_hindi3.xml index 7d43d57c7..c023115ee 100644 --- a/java/res/xml/rowkeys_hindi3.xml +++ b/java/res/xml/rowkeys_hindi3.xml @@ -28,9 +28,6 @@ - - - - diff --git a/java/res/xml/rows_hindi.xml b/java/res/xml/rows_hindi.xml index 42d89b546..5c631ebff 100644 --- a/java/res/xml/rows_hindi.xml +++ b/java/res/xml/rows_hindi.xml @@ -36,11 +36,11 @@ latin:keyboardLayout="@xml/rowkeys_hindi2" /> + latin:keyWidth="10.8%p" />