From e50add1fbd9a96a9c2957ad0a306f2362808ae08 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Wed, 23 Mar 2011 18:50:06 -0700 Subject: [PATCH] Add a first version of Hebrew and Arabic keyboard. The Arabic keyboard is more or less based on PC keyboard and other sources. It has no means to input diacritics at the moment. Some data for the Hebrew keyboard was already there, but not used. This change splits phone and tablet layout and consolidates the tablet one to something that seems sensible. It can't input diacritics either at the moment. Other shortcomings affect those keyboards. For example, normal Hebrew keyboards switch to capital QWERTY keyboard with shift on, as there are no capital Hebrew characters, but this version does not feature this. It should be mostly possible already to enter Arabic or Hebrew with these keyboards however. Change-Id: Ic4df2a9a77ffd03c4f9ee2c47e03c0f43f8e48ae --- java/res/values/strings.xml | 5 + java/res/xml-ar/kbd_qwerty.xml | 34 +++++++ java/res/xml-iw/kbd_qwerty.xml | 82 +---------------- java/res/xml-xlarge/kbd_ar_rows.xml | 136 ++++++++++++++++++++++++++++ java/res/xml-xlarge/kbd_iw_rows.xml | 130 ++++++++++++++++++++++++++ java/res/xml/kbd_iw_rows.xml | 104 +++++++++++++++++++++ java/res/xml/method.xml | 11 +++ 7 files changed, 422 insertions(+), 80 deletions(-) create mode 100644 java/res/xml-ar/kbd_qwerty.xml create mode 100644 java/res/xml-xlarge/kbd_ar_rows.xml create mode 100644 java/res/xml-xlarge/kbd_iw_rows.xml create mode 100644 java/res/xml/kbd_iw_rows.xml diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index 3c0a9c1a2..66dc7d71c 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -242,6 +242,8 @@ Czech Keyboard + + Arabic Keyboard Danish Keyboard @@ -260,6 +262,9 @@ French (Canada) Keyboard French (Switzerland) Keyboard + + + Hebrew Keyboard Italian Keyboard diff --git a/java/res/xml-ar/kbd_qwerty.xml b/java/res/xml-ar/kbd_qwerty.xml new file mode 100644 index 000000000..6bab20059 --- /dev/null +++ b/java/res/xml-ar/kbd_qwerty.xml @@ -0,0 +1,34 @@ + + + + + + diff --git a/java/res/xml-iw/kbd_qwerty.xml b/java/res/xml-iw/kbd_qwerty.xml index 98bfd7e0b..2c3906f6a 100644 --- a/java/res/xml-iw/kbd_qwerty.xml +++ b/java/res/xml-iw/kbd_qwerty.xml @@ -1,6 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml-xlarge/kbd_iw_rows.xml b/java/res/xml-xlarge/kbd_iw_rows.xml new file mode 100644 index 000000000..a3a239dbf --- /dev/null +++ b/java/res/xml-xlarge/kbd_iw_rows.xml @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml/kbd_iw_rows.xml b/java/res/xml/kbd_iw_rows.xml new file mode 100644 index 000000000..bfd236468 --- /dev/null +++ b/java/res/xml/kbd_iw_rows.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml/method.xml b/java/res/xml/method.xml index 8dec7abec..69f8d026d 100644 --- a/java/res/xml/method.xml +++ b/java/res/xml/method.xml @@ -45,6 +45,11 @@ android:imeSubtypeLocale="en_GB" android:imeSubtypeMode="keyboard" /> + + +