From 6b7e6c969381644c78e237564696ce9486cf001b Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 17 Jun 2011 20:20:40 +0900 Subject: [PATCH] Support Spanish keyboard Bug: 4312114 Change-Id: I3feca4e87bdca0e4b5304fc325188e7eac115328 --- .../res/values-es/donottranslate-altchars.xml | 2 + java/res/xml-es/kbd_qwerty.xml | 2 +- java/res/xml-sw600dp/kbd_rows_azerty.xml | 2 +- java/res/xml-sw600dp/kbd_rows_spanish.xml | 69 ++++++++++++++++++ java/res/xml-sw768dp/kbd_rows_spanish.xml | 72 +++++++++++++++++++ java/res/xml/kbd_rows_spanish.xml | 64 +++++++++++++++++ 6 files changed, 209 insertions(+), 2 deletions(-) create mode 100644 java/res/xml-sw600dp/kbd_rows_spanish.xml create mode 100644 java/res/xml-sw768dp/kbd_rows_spanish.xml create mode 100644 java/res/xml/kbd_rows_spanish.xml diff --git a/java/res/values-es/donottranslate-altchars.xml b/java/res/values-es/donottranslate-altchars.xml index 99f1663a1..16111ec42 100644 --- a/java/res/values-es/donottranslate-altchars.xml +++ b/java/res/values-es/donottranslate-altchars.xml @@ -25,4 +25,6 @@ 7,ú,ü,ù,û,ū ñ,ń ç,ć,č + "\\,,\?,!,¿,¡,:,-,\',\",),(,/,;,+,&,\@" + ".,\\,,\?,!,¿,¡,:,-,\',\",),(,/,;,+,&,\@" diff --git a/java/res/xml-es/kbd_qwerty.xml b/java/res/xml-es/kbd_qwerty.xml index 3973a6a5a..568f4d652 100644 --- a/java/res/xml-es/kbd_qwerty.xml +++ b/java/res/xml-es/kbd_qwerty.xml @@ -23,5 +23,5 @@ latin:keyboardLocale="es,es_US" > + latin:keyboardLayout="@xml/kbd_rows_spanish" /> diff --git a/java/res/xml-sw600dp/kbd_rows_azerty.xml b/java/res/xml-sw600dp/kbd_rows_azerty.xml index 4df45eb34..b53bbbbf9 100644 --- a/java/res/xml-sw600dp/kbd_rows_azerty.xml +++ b/java/res/xml-sw600dp/kbd_rows_azerty.xml @@ -150,7 +150,7 @@ - + diff --git a/java/res/xml-sw600dp/kbd_rows_spanish.xml b/java/res/xml-sw600dp/kbd_rows_spanish.xml new file mode 100644 index 000000000..7ef44bb53 --- /dev/null +++ b/java/res/xml-sw600dp/kbd_rows_spanish.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml-sw768dp/kbd_rows_spanish.xml b/java/res/xml-sw768dp/kbd_rows_spanish.xml new file mode 100644 index 000000000..300592e6a --- /dev/null +++ b/java/res/xml-sw768dp/kbd_rows_spanish.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml/kbd_rows_spanish.xml b/java/res/xml/kbd_rows_spanish.xml new file mode 100644 index 000000000..c5ead10da --- /dev/null +++ b/java/res/xml/kbd_rows_spanish.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + +