From 79b965e04f81ac5c49c84a386566a1aa68752af6 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" <takaoka@google.com> Date: Thu, 27 Jan 2011 11:54:03 +0900 Subject: [PATCH] Add tablet keyboards supported in Gingerbread This change also re-orders the laternate characters on mini keyboard. Bug: 2214959 Change-Id: Id44c5b0c05f9f32ff939ad91d229d83731f2a135 --- .../res/values-ca/donottranslate-altchars.xml | 29 ++++ .../res/values-cs/donottranslate-altchars.xml | 19 +-- .../res/values-da/donottranslate-altchars.xml | 25 ++-- .../res/values-de/donottranslate-altchars.xml | 10 +- .../res/values-en/donottranslate-altchars.xml | 10 +- .../res/values-es/donottranslate-altchars.xml | 10 +- .../res/values-fi/donottranslate-altchars.xml | 30 ++++ .../res/values-fr/donottranslate-altchars.xml | 8 +- .../donottranslate-altchars.xml} | 26 ++-- .../res/values-it/donottranslate-altchars.xml | 9 +- .../res/values-lt/donottranslate-altchars.xml | 28 ++++ .../res/values-lv/donottranslate-altchars.xml | 33 +++++ .../res/values-nb/donottranslate-altchars.xml | 18 +-- .../res/values-nl/donottranslate-altchars.xml | 27 ++++ .../res/values-pl/donottranslate-altchars.xml | 14 +- .../res/values-pt/donottranslate-altchars.xml | 27 ++++ .../res/values-ro/donottranslate-altchars.xml | 25 ++++ .../res/values-sk/donottranslate-altchars.xml | 35 +++++ .../res/values-sv/donottranslate-altchars.xml | 21 +-- .../res/values-tr/donottranslate-altchars.xml | 9 +- java/res/values/donottranslate-altchars.xml | 19 +-- .../{xml-de-xlarge => xml-cs}/kbd_qwerty.xml | 2 +- java/res/xml-da-xlarge/kbd_qwerty.xml | 39 ----- java/res/xml-da/kbd_qwerty.xml | 7 - .../{xml-fr-xlarge => xml-fi}/kbd_qwerty.xml | 5 +- .../kbd_qwerty.xml | 2 +- java/res/xml-nb-xlarge/kbd_qwerty.xml | 39 ----- java/res/xml-nb/kbd_qwerty.xml | 7 - java/res/xml-ru/kbd_qwerty.xml | 114 +------------- java/res/xml-sr/kbd_qwerty.xml | 110 +------------- java/res/xml-sv-xlarge/kbd_qwerty.xml | 41 ----- java/res/xml-sv/kbd_qwerty.xml | 9 -- java/res/xml-xlarge/kbd_azerty_rows.xml | 3 +- java/res/xml-xlarge/kbd_qwerty_row2.xml | 3 +- .../kbd_qwerty_rows_scandinavia.xml | 3 +- .../kbd_ru_rows.xml} | 14 +- .../kbd_sr_rows.xml} | 15 +- java/res/xml/kbd_azerty_rows.xml | 3 +- java/res/xml/kbd_qwerty_row2.xml | 3 +- java/res/xml/kbd_qwerty_rows_scandinavia.xml | 3 +- java/res/xml/kbd_ru_rows.xml | 140 ++++++++++++++++++ java/res/xml/kbd_sr_rows.xml | 133 +++++++++++++++++ 42 files changed, 625 insertions(+), 502 deletions(-) create mode 100644 java/res/values-ca/donottranslate-altchars.xml create mode 100644 java/res/values-fi/donottranslate-altchars.xml rename java/res/{xml-fr-rCA-xlarge/kbd_qwerty.xml => values-hu/donottranslate-altchars.xml} (50%) create mode 100644 java/res/values-lt/donottranslate-altchars.xml create mode 100644 java/res/values-lv/donottranslate-altchars.xml create mode 100644 java/res/values-nl/donottranslate-altchars.xml create mode 100644 java/res/values-pt/donottranslate-altchars.xml create mode 100644 java/res/values-ro/donottranslate-altchars.xml create mode 100644 java/res/values-sk/donottranslate-altchars.xml rename java/res/{xml-de-xlarge => xml-cs}/kbd_qwerty.xml (95%) delete mode 100644 java/res/xml-da-xlarge/kbd_qwerty.xml rename java/res/{xml-fr-xlarge => xml-fi}/kbd_qwerty.xml (89%) rename java/res/{xml-fr-rCH-xlarge => xml-hu}/kbd_qwerty.xml (95%) delete mode 100644 java/res/xml-nb-xlarge/kbd_qwerty.xml delete mode 100644 java/res/xml-sv-xlarge/kbd_qwerty.xml rename java/res/{xml-ru-xlarge/kbd_qwerty.xml => xml-xlarge/kbd_ru_rows.xml} (89%) rename java/res/{xml-sr-xlarge/kbd_qwerty.xml => xml-xlarge/kbd_sr_rows.xml} (89%) create mode 100644 java/res/xml/kbd_ru_rows.xml create mode 100644 java/res/xml/kbd_sr_rows.xml diff --git a/java/res/values-ca/donottranslate-altchars.xml b/java/res/values-ca/donottranslate-altchars.xml new file mode 100644 index 0000000000..336057be03 --- /dev/null +++ b/java/res/values-ca/donottranslate-altchars.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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"> + <string name="alternates_for_a">à ,á,ä,â,ã,Ã¥,Ä…,æ,Ä,ª</string> + <string name="alternates_for_e">3,è,é,ë,ê,Ä™,Ä—,Ä“</string> + <string name="alternates_for_i">8,Ã,ï,ì,î,į,Ä«</string> + <string name="alternates_for_o">9,ò,ó,ö,ô,õ,ø,Å“,Å,º</string> + <string name="alternates_for_u">7,ú,ü,ù,û,Å«</string> + <string name="alternates_for_n">ñ,Å„</string> + <string name="alternates_for_c">ç,ć,Ä</string> + <string name="alternates_for_l">Å€,Å‚</string> +</resources> diff --git a/java/res/values-cs/donottranslate-altchars.xml b/java/res/values-cs/donottranslate-altchars.xml index 8440d69326..541cd21547 100644 --- a/java/res/values-cs/donottranslate-altchars.xml +++ b/java/res/values-cs/donottranslate-altchars.xml @@ -18,16 +18,17 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">á,à ,â,ã,ä,Ã¥,æ</string> - <string name="alternates_for_e">3,é,Ä›,è,ê,ë</string> - <string name="alternates_for_i">8,Ã,ì,î,ï</string> - <string name="alternates_for_o">9,ó,ò,ô,õ,ö,Å“,ø</string> - <string name="alternates_for_u">7,ů,ú,ù,û,ü</string> - <string name="alternates_for_s">Å¡,§,ß</string> - <string name="alternates_for_n">ň,ñ</string> - <string name="alternates_for_c">Ä,ç</string> + <string name="alternates_for_a">á,à ,â,ä,æ,ã,Ã¥,Ä</string> + <string name="alternates_for_e">3,é,Ä›,è,ê,ë,Ä™,Ä—,Ä“</string> + <string name="alternates_for_i">8,Ã,î,ï,ì,į,Ä«</string> + <string name="alternates_for_o">9,ó,ö,ô,ò,õ,Å“,ø,Å</string> + <string name="alternates_for_u">7,ú,ů,û,ü,ù,Å«</string> + <string name="alternates_for_s">Å¡,ß,Å›</string> + <string name="alternates_for_n">ň,ñ,Å„</string> + <string name="alternates_for_c">Ä,ç,ć</string> + <string name="alternates_for_y">ý,ÿ</string> <string name="alternates_for_d">Ä</string> <string name="alternates_for_r">4,Å™</string> <string name="alternates_for_t">5,Å¥</string> - <string name="alternates_for_z">ž</string> + <string name="alternates_for_z">6,ž,ź,ż</string> </resources> diff --git a/java/res/values-da/donottranslate-altchars.xml b/java/res/values-da/donottranslate-altchars.xml index 09c264e875..46f1644add 100644 --- a/java/res/values-da/donottranslate-altchars.xml +++ b/java/res/values-da/donottranslate-altchars.xml @@ -18,23 +18,18 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">á,à ,â,Ä…,ã</string> - <string name="alternates_for_e">3,é,è,ê,ë,Ä™,€</string> - <string name="alternates_for_i">8,Ã,ì,î,ï</string> - <string name="alternates_for_o">9,ó,ò,ô,õ</string> - <string name="alternates_for_u">7,ú,ù,û,Å«</string> - <string name="alternates_for_s">Å›,Å¡,ÅŸ,ß</string> - <string name="alternates_for_n">Å„,ñ,ň</string> - <string name="alternates_for_c">ç,ć,Ä</string> - <string name="alternates_for_y">6,ý,ÿ,ü</string> - <string name="alternates_for_d">ð,Ä</string> - <string name="alternates_for_r">4,Å™</string> - <string name="alternates_for_t">5,Å¥,þ</string> - <string name="alternates_for_z">ź,ž,ż</string> + <string name="alternates_for_a">á,ä,à ,â,ã,Ä</string> + <string name="alternates_for_e">3,é,ë</string> + <string name="alternates_for_i">8,Ã,ï</string> + <string name="alternates_for_o">9,ó,ô,ò,õ,Å“,Å</string> + <string name="alternates_for_u">7,ú,ü,û,ù,Å«</string> + <string name="alternates_for_s">ß,Å›,Å¡</string> + <string name="alternates_for_n">ñ,Å„</string> + <string name="alternates_for_y">6,ý,ÿ</string> + <string name="alternates_for_d">ð</string> <string name="alternates_for_l">Å‚</string> - <string name="alternates_for_v">w</string> <string name="keylabel_for_scandinavia_row2_10">æ</string> <string name="keylabel_for_scandinavia_row2_11">ø</string> <string name="alternates_for_scandinavia_row2_10">ä</string> - <string name="alternates_for_scandinavia_row2_11">ö,Å“</string> + <string name="alternates_for_scandinavia_row2_11">ö</string> </resources> diff --git a/java/res/values-de/donottranslate-altchars.xml b/java/res/values-de/donottranslate-altchars.xml index 141ad84333..8b8b6aed77 100644 --- a/java/res/values-de/donottranslate-altchars.xml +++ b/java/res/values-de/donottranslate-altchars.xml @@ -18,8 +18,12 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">ä</string> - <string name="alternates_for_o">9,ö</string> - <string name="alternates_for_y">ý,ÿ</string> + <string name="alternates_for_a">ä,â,à ,á,æ,ã,Ã¥,Ä</string> + <string name="alternates_for_e">3,Ä—</string> + <string name="alternates_for_o">9,ö,ô,ò,ó,õ,Å“,ø,Å</string> + <string name="alternates_for_u">7,ü,û,ù,ú,Å«</string> + <string name="alternates_for_s">ß,Å›,Å¡</string> + <string name="alternates_for_n">ñ,Å„</string> + <string name="alternates_for_y"></string> <string name="alternates_for_z">6</string> </resources> diff --git a/java/res/values-en/donottranslate-altchars.xml b/java/res/values-en/donottranslate-altchars.xml index a564a8c0c5..3950d7dff3 100644 --- a/java/res/values-en/donottranslate-altchars.xml +++ b/java/res/values-en/donottranslate-altchars.xml @@ -18,9 +18,11 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">à ,á,â,ã,ä,Ã¥,Ä,æ</string> + <string name="alternates_for_a">à ,á,â,ä,æ,ã,Ã¥,Ä</string> <string name="alternates_for_e">3,è,é,ê,ë,Ä“</string> - <string name="alternates_for_i">8,ì,Ã,î,ï,Ä«</string> - <string name="alternates_for_o">9,ò,ó,ô,õ,ö,Å,Å“,ø</string> - <string name="alternates_for_u">7,ù,ú,û,ü,Å«</string> + <string name="alternates_for_i">8,î,ï,Ã,Ä«,ì</string> + <string name="alternates_for_o">9,ô,ö,ò,ó,Å“,ø,Å,õ</string> + <string name="alternates_for_u">7,û,ü,ù,ú,Å«</string> + <string name="alternates_for_n">ñ</string> + <string name="alternates_for_c">ç</string> </resources> diff --git a/java/res/values-es/donottranslate-altchars.xml b/java/res/values-es/donottranslate-altchars.xml index 65d5c1153a..99f1663a13 100644 --- a/java/res/values-es/donottranslate-altchars.xml +++ b/java/res/values-es/donottranslate-altchars.xml @@ -18,7 +18,11 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">á</string> - <string name="alternates_for_e">3,é</string> - <string name="alternates_for_o">9,ó</string> + <string name="alternates_for_a">á,à ,ä,â,ã,Ã¥,Ä…,æ,Ä,ª</string> + <string name="alternates_for_e">3,é,è,ë,ê,Ä™,Ä—,Ä“</string> + <string name="alternates_for_i">8,Ã,ï,ì,î,į,Ä«</string> + <string name="alternates_for_o">9,ó,ò,ö,ô,õ,ø,Å“,Å,º</string> + <string name="alternates_for_u">7,ú,ü,ù,û,Å«</string> + <string name="alternates_for_n">ñ,Å„</string> + <string name="alternates_for_c">ç,ć,Ä</string> </resources> diff --git a/java/res/values-fi/donottranslate-altchars.xml b/java/res/values-fi/donottranslate-altchars.xml new file mode 100644 index 0000000000..ff87a3258a --- /dev/null +++ b/java/res/values-fi/donottranslate-altchars.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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"> + <string name="alternates_for_a">æ,à ,á,â,ã,Ä</string> + <string name="alternates_for_o">9,ø,ô,ò,ó,õ,Å“,Å</string> + <string name="alternates_for_u">7,ü</string> + <string name="alternates_for_s">Å¡,ß,Å›</string> + <string name="alternates_for_z">ž,ź,ż</string> + <string name="keylabel_for_scandinavia_row2_10">ö</string> + <string name="keylabel_for_scandinavia_row2_11">ä</string> + <string name="alternates_for_scandinavia_row2_10">ø</string> + <string name="alternates_for_scandinavia_row2_11">æ</string> +</resources> diff --git a/java/res/values-fr/donottranslate-altchars.xml b/java/res/values-fr/donottranslate-altchars.xml index 830119d52a..e01f63f145 100644 --- a/java/res/values-fr/donottranslate-altchars.xml +++ b/java/res/values-fr/donottranslate-altchars.xml @@ -18,7 +18,13 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">1,à ,á,â,ã,ä,Ã¥,æ</string> + <string name="alternates_for_a">1,à ,â,æ,á,ä,ã,Ã¥,Ä,ª</string> + <string name="alternates_for_e">3,é,è,ê,ë,Ä™,Ä—,Ä“</string> + <string name="alternates_for_i">8,î,ï,ì,Ã,į,Ä«</string> + <string name="alternates_for_o">9,ô,Å“,ö,ò,ó,õ,ø,Å,º</string> + <string name="alternates_for_u">7,û,ù,ü,ú,Å«</string> + <string name="alternates_for_c">ç,ć,Ä</string> + <string name="alternates_for_y">6,ÿ</string> <string name="alternates_for_q"></string> <string name="alternates_for_w"></string> <string name="alternates_for_z">2</string> diff --git a/java/res/xml-fr-rCA-xlarge/kbd_qwerty.xml b/java/res/values-hu/donottranslate-altchars.xml similarity index 50% rename from java/res/xml-fr-rCA-xlarge/kbd_qwerty.xml rename to java/res/values-hu/donottranslate-altchars.xml index 92d92f0e6d..ae28cc5b85 100644 --- a/java/res/xml-fr-rCA-xlarge/kbd_qwerty.xml +++ b/java/res/values-hu/donottranslate-altchars.xml @@ -2,7 +2,7 @@ <!-- /* ** -** Copyright 2008, The Android Open Source Project +** Copyright 2011, 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. @@ -17,18 +17,12 @@ ** limitations under the License. */ --> - -<Keyboard - xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHeight="@dimen/keyboardHeight" - latin:maxKeyboardHeight="50%p" - latin:rowHeight="25%p" - latin:keyWidth="10%p" - latin:horizontalGap="@dimen/key_horizontal_gap" - latin:verticalGap="@dimen/key_bottom_gap" - latin:popupKeyboardTemplate="@xml/kbd_popup_template" - latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" -> - <include - latin:keyboardLayout="@xml/kbd_qwerty_rows" /> -</Keyboard> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <string name="alternates_for_a">á,à ,â,ä,æ,ã,Ã¥,Ä</string> + <string name="alternates_for_e">3,é,è,ê,ë,Ä™,Ä—,Ä“</string> + <string name="alternates_for_i">8,Ã,î,ï,ì,į,Ä«</string> + <string name="alternates_for_o">9,ó,ö,Å‘,ô,ò,õ,Å“,ø,Å</string> + <string name="alternates_for_u">7,ú,ü,ű,û,ù,Å«</string> + <string name="alternates_for_y"></string> + <string name="alternates_for_z">6</string> +</resources> diff --git a/java/res/values-it/donottranslate-altchars.xml b/java/res/values-it/donottranslate-altchars.xml index 1c3dc7e32f..1131d48523 100644 --- a/java/res/values-it/donottranslate-altchars.xml +++ b/java/res/values-it/donottranslate-altchars.xml @@ -18,8 +18,9 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">à ,á</string> - <string name="alternates_for_e">3,è,é</string> - <string name="alternates_for_o">9,ò,ó</string> - <string name="alternates_for_s">§</string> + <string name="alternates_for_a">à ,á,â,ä,æ,ã,Ã¥,Ä,ª</string> + <string name="alternates_for_e">3,è,é,ê,ë,Ä™,Ä—,Ä“</string> + <string name="alternates_for_i">8,ì,Ã,î,ï,į,Ä«</string> + <string name="alternates_for_o">9,ò,ó,ô,ö,õ,Å“,ø,Å,º</string> + <string name="alternates_for_u">7,ù,ú,û,ü,Å«</string> </resources> diff --git a/java/res/values-lt/donottranslate-altchars.xml b/java/res/values-lt/donottranslate-altchars.xml new file mode 100644 index 0000000000..4aba93a3a9 --- /dev/null +++ b/java/res/values-lt/donottranslate-altchars.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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"> + <string name="alternates_for_a">Ä…,à ,á,â,ä,æ,ã,Ã¥,Ä</string> + <string name="alternates_for_e">3,Ä—,Ä™,è,é,ê,ë,Ä“</string> + <string name="alternates_for_i">8,į,î,ï,ì,Ã,Ä«</string> + <string name="alternates_for_u">7,ų,Å«,û,ü,ù,ú</string> + <string name="alternates_for_s">Å¡,ß,Å›</string> + <string name="alternates_for_c">Ä,ç,ć</string> + <string name="alternates_for_z">ž,ź,ż</string> +</resources> diff --git a/java/res/values-lv/donottranslate-altchars.xml b/java/res/values-lv/donottranslate-altchars.xml new file mode 100644 index 0000000000..05d9bc8947 --- /dev/null +++ b/java/res/values-lv/donottranslate-altchars.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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"> + <string name="alternates_for_a">Ä,à ,á,â,ä,æ,ã,Ã¥</string> + <string name="alternates_for_e">3,Ä“,è,é,ê,ë,Ä™,Ä—</string> + <string name="alternates_for_i">8,Ä«,î,ï,ì,Ã,į</string> + <string name="alternates_for_u">7,Å«,û,ü,ù,ú</string> + <string name="alternates_for_s">Å¡,ß,Å›</string> + <string name="alternates_for_n">ņ,ñ,Å„</string> + <string name="alternates_for_c">Ä,ç,ć</string> + <string name="alternates_for_r">4,Å—</string> + <string name="alternates_for_z">ž,ź,ż</string> + <string name="alternates_for_k">Ä·</string> + <string name="alternates_for_l">ļ,Å‚</string> + <string name="alternates_for_g">Ä£</string> +</resources> diff --git a/java/res/values-nb/donottranslate-altchars.xml b/java/res/values-nb/donottranslate-altchars.xml index 91f8b21dc8..798e51c9a0 100644 --- a/java/res/values-nb/donottranslate-altchars.xml +++ b/java/res/values-nb/donottranslate-altchars.xml @@ -18,20 +18,10 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">ä,á,à ,â,Ä…,ã</string> - <string name="alternates_for_e">3,é,è,ê,ë,Ä™,€</string> - <string name="alternates_for_i">8,Ã,ì,î,ï</string> - <string name="alternates_for_o">9,ö,ó,ò,ô,õ</string> - <string name="alternates_for_u">7,ü,ú,ù,û,Å«</string> - <string name="alternates_for_s">Å›,Å¡,ÅŸ,ß</string> - <string name="alternates_for_n">Å„,ñ,ň</string> - <string name="alternates_for_c">ç,ć,Ä</string> - <string name="alternates_for_d">ð,Ä</string> - <string name="alternates_for_r">4,Å™</string> - <string name="alternates_for_t">5,Å¥,þ</string> - <string name="alternates_for_z">ź,ž,ż</string> - <string name="alternates_for_l">Å‚</string> - <string name="alternates_for_v">w</string> + <string name="alternates_for_a">à ,ä,á,â,ã,Ä</string> + <string name="alternates_for_e">3,é,è,ê,ë,Ä™,Ä—,Ä“</string> + <string name="alternates_for_o">9,ô,ò,ó,ö,õ,Å“,Å</string> + <string name="alternates_for_u">7,ü,û,ù,ú,Å«</string> <string name="keylabel_for_scandinavia_row2_10">ø</string> <string name="keylabel_for_scandinavia_row2_11">æ</string> <string name="alternates_for_scandinavia_row2_10">ö</string> diff --git a/java/res/values-nl/donottranslate-altchars.xml b/java/res/values-nl/donottranslate-altchars.xml new file mode 100644 index 0000000000..e26a74967e --- /dev/null +++ b/java/res/values-nl/donottranslate-altchars.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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"> + <string name="alternates_for_a">á,ä,â,à ,æ,ã,Ã¥,Ä</string> + <string name="alternates_for_e">3,é,ë,ê,è,Ä™,Ä—,Ä“</string> + <string name="alternates_for_i">8,Ã,ï,ì,î,į,Ä«</string> + <string name="alternates_for_o">9,ó,ö,ô,ò,õ,Å“,ø,Å</string> + <string name="alternates_for_u">7,ú,ü,û,ù,Å«</string> + <string name="alternates_for_n">ñ,Å„</string> +</resources> diff --git a/java/res/values-pl/donottranslate-altchars.xml b/java/res/values-pl/donottranslate-altchars.xml index ac099028d1..971d73bc5d 100644 --- a/java/res/values-pl/donottranslate-altchars.xml +++ b/java/res/values-pl/donottranslate-altchars.xml @@ -18,12 +18,12 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">Ä…</string> - <string name="alternates_for_e">3,Ä™</string> - <string name="alternates_for_o">9,ó</string> - <string name="alternates_for_s">Å›</string> - <string name="alternates_for_n">Å„</string> - <string name="alternates_for_c">ć</string> - <string name="alternates_for_z">ź,ż</string> + <string name="alternates_for_a">Ä…,á,à ,â,ä,æ,ã,Ã¥,Ä</string> + <string name="alternates_for_e">3,Ä™,è,é,ê,ë,Ä—,Ä“</string> + <string name="alternates_for_o">9,ó,ö,ô,ò,õ,Å“,ø,Å</string> + <string name="alternates_for_s">Å›,ß,Å¡</string> + <string name="alternates_for_n">Å„,ñ</string> + <string name="alternates_for_c">ć,ç,Ä</string> + <string name="alternates_for_z">ż,ź,ž</string> <string name="alternates_for_l">Å‚</string> </resources> diff --git a/java/res/values-pt/donottranslate-altchars.xml b/java/res/values-pt/donottranslate-altchars.xml new file mode 100644 index 0000000000..a39976151e --- /dev/null +++ b/java/res/values-pt/donottranslate-altchars.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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"> + <string name="alternates_for_a">á,ã,à ,â,ä,Ã¥,æ,ª</string> + <string name="alternates_for_e">3,é,ê,è,Ä™,Ä—,Ä“,ë</string> + <string name="alternates_for_i">8,Ã,î,ì,ï,į,Ä«</string> + <string name="alternates_for_o">9,ó,õ,ô,ò,ö,Å“,ø,Å,º</string> + <string name="alternates_for_u">7,ú,ü,ù,û,Å«</string> + <string name="alternates_for_c">ç,Ä,ć</string> +</resources> diff --git a/java/res/values-ro/donottranslate-altchars.xml b/java/res/values-ro/donottranslate-altchars.xml new file mode 100644 index 0000000000..728ead4723 --- /dev/null +++ b/java/res/values-ro/donottranslate-altchars.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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"> + <string name="alternates_for_a">ă,â,à ,á,ä,æ,ã,Ã¥,Ä</string> + <string name="alternates_for_i">8,î,ï,ì,Ã,į,Ä«</string> + <string name="alternates_for_s">È™,ß,Å›,Å¡</string> + <string name="alternates_for_t">5,È›</string> +</resources> diff --git a/java/res/values-sk/donottranslate-altchars.xml b/java/res/values-sk/donottranslate-altchars.xml new file mode 100644 index 0000000000..6d9836e9c3 --- /dev/null +++ b/java/res/values-sk/donottranslate-altchars.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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"> + <string name="alternates_for_a">ä,á,à ,â,æ,ã,Ã¥,Ä</string> + <string name="alternates_for_e">3,é,Ä›,è,ê,ë,Ä™,Ä—,Ä“</string> + <string name="alternates_for_i">8,Ã,î,ï,ì,į,Ä«</string> + <string name="alternates_for_o">9,ô,ó,ö,ò,õ,Å“,ø,Å</string> + <string name="alternates_for_u">7,ú,ú,û,ü,ù,Å«</string> + <string name="alternates_for_s">Å¡,ß,Å›</string> + <string name="alternates_for_n">ň,ñ,Å„</string> + <string name="alternates_for_c">Ä,ç,ć</string> + <string name="alternates_for_y">6,ý,ÿ</string> + <string name="alternates_for_d">Ä</string> + <string name="alternates_for_r">4,Å•,Å™</string> + <string name="alternates_for_t">5,Å¥</string> + <string name="alternates_for_z">ž,ź,ż</string> + <string name="alternates_for_l">ľ,ĺ,Å‚</string> +</resources> diff --git a/java/res/values-sv/donottranslate-altchars.xml b/java/res/values-sv/donottranslate-altchars.xml index 46b3803db4..d03ae1a6cd 100644 --- a/java/res/values-sv/donottranslate-altchars.xml +++ b/java/res/values-sv/donottranslate-altchars.xml @@ -18,23 +18,12 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">á,à ,â,Ä…,ã</string> - <string name="alternates_for_e">3,é,è,ê,ë,Ä™,€</string> - <string name="alternates_for_i">8,Ã,ì,î,ï</string> - <string name="alternates_for_o">9,ó,ò,ô,õ</string> - <string name="alternates_for_u">7,ú,ù,û,Å«</string> - <string name="alternates_for_s">Å›,Å¡,ÅŸ,ß</string> - <string name="alternates_for_n">Å„,ñ,ň</string> - <string name="alternates_for_c">ç,ć,Ä</string> - <string name="alternates_for_y">6,ý,ÿ,ü</string> - <string name="alternates_for_d">ð,Ä</string> - <string name="alternates_for_r">4,Å™</string> - <string name="alternates_for_t">5,Å¥,þ</string> - <string name="alternates_for_z">ź,ž,ż</string> - <string name="alternates_for_l">Å‚</string> - <string name="alternates_for_v">w</string> + <string name="alternates_for_e">3,é,è,ê,ë,Ä™</string> + <string name="alternates_for_o">9,Å“,ô,ò,ó,õ,Å</string> + <string name="alternates_for_u">7,ü,û,ù,ú,Å«</string> + <string name="alternates_for_s">ß,Å›,Å¡</string> <string name="keylabel_for_scandinavia_row2_10">ö</string> <string name="keylabel_for_scandinavia_row2_11">ä</string> - <string name="alternates_for_scandinavia_row2_10">ø,Å“</string> + <string name="alternates_for_scandinavia_row2_10">ø</string> <string name="alternates_for_scandinavia_row2_11">æ</string> </resources> diff --git a/java/res/values-tr/donottranslate-altchars.xml b/java/res/values-tr/donottranslate-altchars.xml index 1378fa90b1..1b83b65c82 100644 --- a/java/res/values-tr/donottranslate-altchars.xml +++ b/java/res/values-tr/donottranslate-altchars.xml @@ -18,8 +18,11 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_o">9,ö,ò,ó,ô,õ,Å“,ø</string> - <string name="alternates_for_u">7,ü,ù,ú,û</string> - <string name="alternates_for_s">ÅŸ,§,ß</string> + <string name="alternates_for_a">â</string> + <string name="alternates_for_i">8,ı,î,ï,ì,Ã,į,Ä«</string> + <string name="alternates_for_o">9,ö,ô,Å“,ò,ó,õ,ø,Å</string> + <string name="alternates_for_u">7,ü,û,ù,ú,Å«</string> + <string name="alternates_for_s">ÅŸ,ß,Å›,Å¡</string> <string name="alternates_for_g">ÄŸ</string> + <string name="alternates_for_c">ç,ć,Ä</string> </resources> diff --git a/java/res/values/donottranslate-altchars.xml b/java/res/values/donottranslate-altchars.xml index c5a369f9cc..4b1a6ae6db 100644 --- a/java/res/values/donottranslate-altchars.xml +++ b/java/res/values/donottranslate-altchars.xml @@ -18,21 +18,22 @@ */ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <string name="alternates_for_a">à ,á,â,ã,ä,Ã¥,æ</string> - <string name="alternates_for_e">3,è,é,ê,ë</string> - <string name="alternates_for_i">8,ì,Ã,î,ï</string> - <string name="alternates_for_o">9,ò,ó,ô,õ,ö,Å“,ø</string> - <string name="alternates_for_u">7,ù,ú,û,ü</string> - <string name="alternates_for_s">§,ß</string> - <string name="alternates_for_n">ñ</string> - <string name="alternates_for_c">ç</string> - <string name="alternates_for_y">6,ý,ÿ</string> + <string name="alternates_for_a"></string> + <string name="alternates_for_e">3</string> + <string name="alternates_for_i">8</string> + <string name="alternates_for_o">9</string> + <string name="alternates_for_u">7</string> + <string name="alternates_for_s"></string> + <string name="alternates_for_n"></string> + <string name="alternates_for_c"></string> + <string name="alternates_for_y">6</string> <string name="alternates_for_q">1</string> <string name="alternates_for_w">2</string> <string name="alternates_for_d"></string> <string name="alternates_for_r">4</string> <string name="alternates_for_t">5</string> <string name="alternates_for_z"></string> + <string name="alternates_for_k"></string> <string name="alternates_for_l"></string> <string name="alternates_for_g"></string> <string name="alternates_for_p">0</string> diff --git a/java/res/xml-de-xlarge/kbd_qwerty.xml b/java/res/xml-cs/kbd_qwerty.xml similarity index 95% rename from java/res/xml-de-xlarge/kbd_qwerty.xml rename to java/res/xml-cs/kbd_qwerty.xml index a23e4fbf0a..010bdb3f71 100644 --- a/java/res/xml-de-xlarge/kbd_qwerty.xml +++ b/java/res/xml-cs/kbd_qwerty.xml @@ -2,7 +2,7 @@ <!-- /* ** -** Copyright 2008, The Android Open Source Project +** Copyright 2011, 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. diff --git a/java/res/xml-da-xlarge/kbd_qwerty.xml b/java/res/xml-da-xlarge/kbd_qwerty.xml deleted file mode 100644 index aa868e4539..0000000000 --- a/java/res/xml-da-xlarge/kbd_qwerty.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* -** -** Copyright 2010, 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. -*/ ---> - -<!-- - Danish Keyboard Layout - - Just a copy of the Norwegian layout, with æ/ø switched. ---> - -<Keyboard - xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHeight="@dimen/keyboardHeight" - latin:maxKeyboardHeight="50%p" - latin:rowHeight="25%p" - latin:horizontalGap="@dimen/key_horizontal_gap" - latin:verticalGap="@dimen/key_bottom_gap" - latin:popupKeyboardTemplate="@xml/kbd_popup_template" - latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" -> - <include - latin:keyboardLayout="@xml/kbd_qwerty_rows_scandinavia" /> -</Keyboard> diff --git a/java/res/xml-da/kbd_qwerty.xml b/java/res/xml-da/kbd_qwerty.xml index dfca1cdd2d..441b7cb17e 100644 --- a/java/res/xml-da/kbd_qwerty.xml +++ b/java/res/xml-da/kbd_qwerty.xml @@ -18,18 +18,11 @@ */ --> -<!-- - Danish Keyboard Layout - - Just a copy of the Norwegian layout, with æ/ø switched. ---> - <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" latin:keyboardHeight="@dimen/keyboardHeight" latin:maxKeyboardHeight="50%p" latin:rowHeight="25%p" - latin:keyWidth="9.09%p" latin:horizontalGap="@dimen/key_horizontal_gap" latin:verticalGap="@dimen/key_bottom_gap" latin:popupKeyboardTemplate="@xml/kbd_popup_template" diff --git a/java/res/xml-fr-xlarge/kbd_qwerty.xml b/java/res/xml-fi/kbd_qwerty.xml similarity index 89% rename from java/res/xml-fr-xlarge/kbd_qwerty.xml rename to java/res/xml-fi/kbd_qwerty.xml index 2d0b42baf4..b0a7b3eb00 100644 --- a/java/res/xml-fr-xlarge/kbd_qwerty.xml +++ b/java/res/xml-fi/kbd_qwerty.xml @@ -2,7 +2,7 @@ <!-- /* ** -** Copyright 2008, The Android Open Source Project +** Copyright 2011, 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. @@ -23,12 +23,11 @@ latin:keyboardHeight="@dimen/keyboardHeight" latin:maxKeyboardHeight="50%p" latin:rowHeight="25%p" - latin:keyWidth="10%p" latin:horizontalGap="@dimen/key_horizontal_gap" latin:verticalGap="@dimen/key_bottom_gap" latin:popupKeyboardTemplate="@xml/kbd_popup_template" latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" > <include - latin:keyboardLayout="@xml/kbd_azerty_rows" /> + latin:keyboardLayout="@xml/kbd_qwerty_rows_scandinavia" /> </Keyboard> diff --git a/java/res/xml-fr-rCH-xlarge/kbd_qwerty.xml b/java/res/xml-hu/kbd_qwerty.xml similarity index 95% rename from java/res/xml-fr-rCH-xlarge/kbd_qwerty.xml rename to java/res/xml-hu/kbd_qwerty.xml index a23e4fbf0a..010bdb3f71 100644 --- a/java/res/xml-fr-rCH-xlarge/kbd_qwerty.xml +++ b/java/res/xml-hu/kbd_qwerty.xml @@ -2,7 +2,7 @@ <!-- /* ** -** Copyright 2008, The Android Open Source Project +** Copyright 2011, 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. diff --git a/java/res/xml-nb-xlarge/kbd_qwerty.xml b/java/res/xml-nb-xlarge/kbd_qwerty.xml deleted file mode 100644 index 5dfdc4f566..0000000000 --- a/java/res/xml-nb-xlarge/kbd_qwerty.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* -** -** Copyright 2010, 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. -*/ ---> - -<!-- - Norwegian Keyboard Layout - - Just a copy of the Swedish layout, with ä/æ and ö/ø switched. ---> - -<Keyboard - xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHeight="@dimen/keyboardHeight" - latin:maxKeyboardHeight="50%p" - latin:rowHeight="25%p" - latin:horizontalGap="@dimen/key_horizontal_gap" - latin:verticalGap="@dimen/key_bottom_gap" - latin:popupKeyboardTemplate="@xml/kbd_popup_template" - latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" -> - <include - latin:keyboardLayout="@xml/kbd_qwerty_rows_scandinavia" /> -</Keyboard> diff --git a/java/res/xml-nb/kbd_qwerty.xml b/java/res/xml-nb/kbd_qwerty.xml index 06f1b947ae..441b7cb17e 100644 --- a/java/res/xml-nb/kbd_qwerty.xml +++ b/java/res/xml-nb/kbd_qwerty.xml @@ -18,18 +18,11 @@ */ --> -<!-- - Norwegian Keyboard Layout - - Just a copy of the Swedish layout, with ä/æ and ö/ø switched. ---> - <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" latin:keyboardHeight="@dimen/keyboardHeight" latin:maxKeyboardHeight="50%p" latin:rowHeight="25%p" - latin:keyWidth="9.09%p" latin:horizontalGap="@dimen/key_horizontal_gap" latin:verticalGap="@dimen/key_bottom_gap" latin:popupKeyboardTemplate="@xml/kbd_popup_template" diff --git a/java/res/xml-ru/kbd_qwerty.xml b/java/res/xml-ru/kbd_qwerty.xml index 08d7a4ac59..0eb311501f 100644 --- a/java/res/xml-ru/kbd_qwerty.xml +++ b/java/res/xml-ru/kbd_qwerty.xml @@ -23,123 +23,11 @@ latin:keyboardHeight="@dimen/keyboardHeight" latin:maxKeyboardHeight="50%p" latin:rowHeight="25%p" - latin:keyWidth="9.091%p" latin:horizontalGap="@dimen/key_horizontal_gap" latin:verticalGap="@dimen/key_bottom_gap" latin:popupKeyboardTemplate="@xml/kbd_popup_template" latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" > <include - latin:keyboardLayout="@xml/kbd_key_styles" /> - <Row - latin:rowEdgeFlags="top" - > - <Key - latin:keyLabel="й" - latin:keyHintIcon="@drawable/keyboard_hint_1" - latin:popupCharacters="1" - latin:keyWidth="8.75%p" - latin:keyEdgeFlags="left" /> - <Key - latin:keyLabel="ц" - latin:keyHintIcon="@drawable/keyboard_hint_2" - latin:popupCharacters="2" /> - <Key - latin:keyLabel="у" - latin:keyHintIcon="@drawable/keyboard_hint_3" - latin:popupCharacters="3" /> - <Key - latin:keyLabel="к" - latin:keyHintIcon="@drawable/keyboard_hint_4" - latin:popupCharacters="4" /> - <Key - latin:keyLabel="е" - latin:keyHintIcon="@drawable/keyboard_hint_5" - latin:popupCharacters="@string/alternates_for_cyrillic_e" /> - <Key - latin:keyLabel="н" - latin:keyHintIcon="@drawable/keyboard_hint_6" - latin:popupCharacters="6" /> - <Key - latin:keyLabel="г" - latin:keyHintIcon="@drawable/keyboard_hint_7" - latin:popupCharacters="7" /> - <Key - latin:keyLabel="ш" - latin:keyHintIcon="@drawable/keyboard_hint_8" - latin:popupCharacters="8" /> - <Key - latin:keyLabel="щ" - latin:keyHintIcon="@drawable/keyboard_hint_9" - latin:popupCharacters="9" /> - <Key - latin:keyLabel="з" - latin:keyHintIcon="@drawable/keyboard_hint_0" - latin:popupCharacters="0" /> - <Key - latin:keyLabel="Ñ…" - latin:keyWidth="8.75%p" - latin:keyEdgeFlags="right" /> - </Row> - <Row> - <Key - latin:keyLabel="Ñ„" - latin:keyWidth="8.75%p" - latin:keyEdgeFlags="left" /> - <Key - latin:keyLabel="Ñ‹" /> - <Key - latin:keyLabel="в" /> - <Key - latin:keyLabel="а" /> - <Key - latin:keyLabel="п" /> - <Key - latin:keyLabel="Ñ€" /> - <Key - latin:keyLabel="о" /> - <Key - latin:keyLabel="л" /> - <Key - latin:keyLabel="д" /> - <Key - latin:keyLabel="ж" /> - <Key - latin:keyLabel="Ñ" - latin:keyWidth="8.75%p" - latin:keyEdgeFlags="right" /> - </Row> - <Row - latin:keyWidth="8.5%p" - > - <Key - latin:keyStyle="shiftKeyStyle" - latin:keyWidth="11.75%p" - latin:keyEdgeFlags="left" /> - <Key - latin:keyLabel="Ñ" /> - <Key - latin:keyLabel="ч" /> - <Key - latin:keyLabel="Ñ" /> - <Key - latin:keyLabel="м" /> - <Key - latin:keyLabel="и" /> - <Key - latin:keyLabel="Ñ‚" /> - <Key - latin:keyLabel="ÑŒ" - latin:popupCharacters="@string/alternates_for_cyrillic_soft_sign" /> - <Key - latin:keyLabel="б" /> - <Key - latin:keyLabel="ÑŽ" /> - <Key - latin:keyStyle="deleteKeyStyle" - latin:keyWidth="11.75%p" - latin:keyEdgeFlags="right" /> - </Row> - <include - latin:keyboardLayout="@xml/kbd_qwerty_row4" /> + latin:keyboardLayout="@xml/kbd_ru_rows" /> </Keyboard> diff --git a/java/res/xml-sr/kbd_qwerty.xml b/java/res/xml-sr/kbd_qwerty.xml index 0e5f5ff791..3995e4e27c 100644 --- a/java/res/xml-sr/kbd_qwerty.xml +++ b/java/res/xml-sr/kbd_qwerty.xml @@ -18,124 +18,16 @@ */ --> -<!-- Serbian keyboard layout, based on the X11 layout for Serbian --> <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" latin:keyboardHeight="@dimen/keyboardHeight" latin:maxKeyboardHeight="50%p" latin:rowHeight="25%p" - latin:keyWidth="9.09%p" latin:horizontalGap="@dimen/key_horizontal_gap" latin:verticalGap="@dimen/key_bottom_gap" latin:popupKeyboardTemplate="@xml/kbd_popup_template" latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" > <include - latin:keyboardLayout="@xml/kbd_key_styles" /> - <Row - latin:rowEdgeFlags="top" - > - <Key - latin:keyLabel="Ñ™" - latin:keyHintIcon="@drawable/keyboard_hint_1" - latin:popupCharacters="1" - latin:keyEdgeFlags="left" /> - <Key - latin:keyLabel="Ñš" - latin:keyHintIcon="@drawable/keyboard_hint_2" - latin:popupCharacters="2" /> - <Key - latin:keyLabel="е" - latin:keyHintIcon="@drawable/keyboard_hint_3" - latin:popupCharacters="3" /> - <Key - latin:keyLabel="Ñ€" - latin:keyHintIcon="@drawable/keyboard_hint_4" - latin:popupCharacters="4" /> - <Key - latin:keyLabel="Ñ‚" - latin:keyHintIcon="@drawable/keyboard_hint_5" - latin:popupCharacters="5" /> - <Key - latin:keyLabel="з" - latin:keyHintIcon="@drawable/keyboard_hint_6" - latin:popupCharacters="6" /> - <Key - latin:keyLabel="у" - latin:keyHintIcon="@drawable/keyboard_hint_7" - latin:popupCharacters="7" /> - <Key - latin:keyLabel="и" - latin:keyHintIcon="@drawable/keyboard_hint_8" - latin:popupCharacters="8" /> - <Key - latin:keyLabel="о" - latin:keyHintIcon="@drawable/keyboard_hint_9" - latin:popupCharacters="9" /> - <Key - latin:keyLabel="п" - latin:keyHintIcon="@drawable/keyboard_hint_0" - latin:popupCharacters="0" /> - <Key - latin:keyLabel="ш" - latin:keyEdgeFlags="right" /> - </Row> - <Row - latin:keyWidth="8.333%p" - > - <Key - latin:keyLabel="а" - latin:keyEdgeFlags="left" /> - <Key - latin:keyLabel="Ñ" /> - <Key - latin:keyLabel="д" /> - <Key - latin:keyLabel="Ñ„" /> - <Key - latin:keyLabel="г" /> - <Key - latin:keyLabel="Ñ…" /> - <Key - latin:keyLabel="ј" /> - <Key - latin:keyLabel="к" /> - <Key - latin:keyLabel="л" /> - <Key - latin:keyLabel="ч" /> - <Key - latin:keyLabel="Ñ›" /> - <Key - latin:keyLabel="Ñ’" - latin:keyEdgeFlags="right" /> - </Row> - <Row - latin:keyWidth="8.5%p" - > - <Key - latin:keyStyle="shiftKeyStyle" - latin:keyWidth="11.75%p" - latin:keyEdgeFlags="left" /> - <Key - latin:keyLabel="ж" /> - <Key - latin:keyLabel="ÑŸ" /> - <Key - latin:keyLabel="ц" /> - <Key - latin:keyLabel="в" /> - <Key - latin:keyLabel="б" /> - <Key - latin:keyLabel="н" /> - <Key - latin:keyLabel="м" /> - <Key - latin:keyStyle="deleteKeyStyle" - latin:keyWidth="11.75%p" - latin:keyEdgeFlags="right" /> - </Row> - <include - latin:keyboardLayout="@xml/kbd_qwerty_row4" /> + latin:keyboardLayout="@xml/kbd_sr_rows" /> </Keyboard> diff --git a/java/res/xml-sv-xlarge/kbd_qwerty.xml b/java/res/xml-sv-xlarge/kbd_qwerty.xml deleted file mode 100644 index bbb38585ee..0000000000 --- a/java/res/xml-sv-xlarge/kbd_qwerty.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* -** -** Copyright 2010, 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. -*/ ---> - -<!-- - Swedish Keyboard Layout - - Key positioning: Svensk standard SS 66 22 41 - Foreign letters: Svenska skrivregler (2:a uppl.) §302 - Local additions: ۧ ---> - -<Keyboard - xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHeight="@dimen/keyboardHeight" - latin:maxKeyboardHeight="50%p" - latin:rowHeight="25%p" - latin:horizontalGap="@dimen/key_horizontal_gap" - latin:verticalGap="@dimen/key_bottom_gap" - latin:popupKeyboardTemplate="@xml/kbd_popup_template" - latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" -> - <include - latin:keyboardLayout="@xml/kbd_qwerty_rows_scandinavia" /> -</Keyboard> diff --git a/java/res/xml-sv/kbd_qwerty.xml b/java/res/xml-sv/kbd_qwerty.xml index 60d3b45f94..72bdc339e6 100644 --- a/java/res/xml-sv/kbd_qwerty.xml +++ b/java/res/xml-sv/kbd_qwerty.xml @@ -18,20 +18,11 @@ */ --> -<!-- - Swedish Keyboard Layout - - Key positioning: Svensk standard SS 66 22 41 - Foreign letters: Svenska skrivregler (2:a uppl.) §302 - Local additions: ۧ ---> - <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" latin:keyboardHeight="@dimen/keyboardHeight" latin:maxKeyboardHeight="50%p" latin:rowHeight="25%p" - latin:keyWidth="9.09%p" latin:horizontalGap="@dimen/key_horizontal_gap" latin:verticalGap="@dimen/key_bottom_gap" latin:popupKeyboardTemplate="@xml/kbd_popup_template" diff --git a/java/res/xml-xlarge/kbd_azerty_rows.xml b/java/res/xml-xlarge/kbd_azerty_rows.xml index 6162950658..564f776290 100644 --- a/java/res/xml-xlarge/kbd_azerty_rows.xml +++ b/java/res/xml-xlarge/kbd_azerty_rows.xml @@ -93,7 +93,8 @@ <Key latin:keyLabel="j" /> <Key - latin:keyLabel="k" /> + latin:keyLabel="k" + latin:popupCharacters="@string/alternates_for_k" /> <Key latin:keyLabel="l" latin:popupCharacters="@string/alternates_for_l" /> diff --git a/java/res/xml-xlarge/kbd_qwerty_row2.xml b/java/res/xml-xlarge/kbd_qwerty_row2.xml index 1b4393ab2d..02bd0a6c99 100644 --- a/java/res/xml-xlarge/kbd_qwerty_row2.xml +++ b/java/res/xml-xlarge/kbd_qwerty_row2.xml @@ -48,7 +48,8 @@ <Key latin:keyLabel="j" /> <Key - latin:keyLabel="k" /> + latin:keyLabel="k" + latin:popupCharacters="@string/alternates_for_k" /> <Key latin:keyLabel="l" latin:popupCharacters="@string/alternates_for_l" /> diff --git a/java/res/xml-xlarge/kbd_qwerty_rows_scandinavia.xml b/java/res/xml-xlarge/kbd_qwerty_rows_scandinavia.xml index 8c583ba851..fb2034fb75 100644 --- a/java/res/xml-xlarge/kbd_qwerty_rows_scandinavia.xml +++ b/java/res/xml-xlarge/kbd_qwerty_rows_scandinavia.xml @@ -95,7 +95,8 @@ <Key latin:keyLabel="j" /> <Key - latin:keyLabel="k" /> + latin:keyLabel="k" + latin:popupCharacters="@string/alternates_for_k" /> <Key latin:keyLabel="l" latin:popupCharacters="@string/alternates_for_l" /> diff --git a/java/res/xml-ru-xlarge/kbd_qwerty.xml b/java/res/xml-xlarge/kbd_ru_rows.xml similarity index 89% rename from java/res/xml-ru-xlarge/kbd_qwerty.xml rename to java/res/xml-xlarge/kbd_ru_rows.xml index b86002a310..008988a84f 100644 --- a/java/res/xml-ru-xlarge/kbd_qwerty.xml +++ b/java/res/xml-xlarge/kbd_ru_rows.xml @@ -2,7 +2,7 @@ <!-- /* ** -** Copyright 2010, The Android Open Source Project +** Copyright 2011, 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. @@ -18,16 +18,8 @@ */ --> -<Keyboard +<merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHeight="@dimen/keyboardHeight" - latin:maxKeyboardHeight="50%p" - latin:rowHeight="25%p" - latin:keyWidth="9.091%p" - latin:horizontalGap="@dimen/key_horizontal_gap" - latin:verticalGap="@dimen/key_bottom_gap" - latin:popupKeyboardTemplate="@xml/kbd_popup_template" - latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" > <include latin:keyboardLayout="@xml/kbd_key_styles" /> @@ -145,4 +137,4 @@ </Row> <include latin:keyboardLayout="@xml/kbd_qwerty_row4" /> -</Keyboard> +</merge> diff --git a/java/res/xml-sr-xlarge/kbd_qwerty.xml b/java/res/xml-xlarge/kbd_sr_rows.xml similarity index 89% rename from java/res/xml-sr-xlarge/kbd_qwerty.xml rename to java/res/xml-xlarge/kbd_sr_rows.xml index 48764e7c74..ce9e208170 100644 --- a/java/res/xml-sr-xlarge/kbd_qwerty.xml +++ b/java/res/xml-xlarge/kbd_sr_rows.xml @@ -2,7 +2,7 @@ <!-- /* ** -** Copyright 2010, The Android Open Source Project +** Copyright 2011, 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. @@ -18,17 +18,8 @@ */ --> -<!-- Serbian keyboard layout, based on the X11 layout for Serbian --> -<Keyboard +<merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" - latin:keyboardHeight="@dimen/keyboardHeight" - latin:maxKeyboardHeight="50%p" - latin:rowHeight="25%p" - latin:keyWidth="9.09%p" - latin:horizontalGap="@dimen/key_horizontal_gap" - latin:verticalGap="@dimen/key_bottom_gap" - latin:popupKeyboardTemplate="@xml/kbd_popup_template" - latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" > <include latin:keyboardLayout="@xml/kbd_key_styles" /> @@ -155,4 +146,4 @@ </Row> <include latin:keyboardLayout="@xml/kbd_qwerty_row4" /> -</Keyboard> +</merge> diff --git a/java/res/xml/kbd_azerty_rows.xml b/java/res/xml/kbd_azerty_rows.xml index 71109ab677..9eeb22ecb9 100644 --- a/java/res/xml/kbd_azerty_rows.xml +++ b/java/res/xml/kbd_azerty_rows.xml @@ -93,7 +93,8 @@ <Key latin:keyLabel="j" /> <Key - latin:keyLabel="k" /> + latin:keyLabel="k" + latin:popupCharacters="@string/alternates_for_k" /> <Key latin:keyLabel="l" latin:popupCharacters="@string/alternates_for_l" /> diff --git a/java/res/xml/kbd_qwerty_row2.xml b/java/res/xml/kbd_qwerty_row2.xml index dd0035d936..9ed4553c45 100644 --- a/java/res/xml/kbd_qwerty_row2.xml +++ b/java/res/xml/kbd_qwerty_row2.xml @@ -46,7 +46,8 @@ <Key latin:keyLabel="j" /> <Key - latin:keyLabel="k" /> + latin:keyLabel="k" + latin:popupCharacters="@string/alternates_for_k" /> <Key latin:keyLabel="l" latin:popupCharacters="@string/alternates_for_l" diff --git a/java/res/xml/kbd_qwerty_rows_scandinavia.xml b/java/res/xml/kbd_qwerty_rows_scandinavia.xml index 490652663a..1aae5a0a80 100644 --- a/java/res/xml/kbd_qwerty_rows_scandinavia.xml +++ b/java/res/xml/kbd_qwerty_rows_scandinavia.xml @@ -98,7 +98,8 @@ <Key latin:keyLabel="j" /> <Key - latin:keyLabel="k" /> + latin:keyLabel="k" + latin:popupCharacters="@string/alternates_for_k" /> <Key latin:keyLabel="l" latin:popupCharacters="@string/alternates_for_l" /> diff --git a/java/res/xml/kbd_ru_rows.xml b/java/res/xml/kbd_ru_rows.xml new file mode 100644 index 0000000000..fa2af3be0e --- /dev/null +++ b/java/res/xml/kbd_ru_rows.xml @@ -0,0 +1,140 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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" +> + <include + latin:keyboardLayout="@xml/kbd_key_styles" /> + <Row + latin:keyWidth="9.091%p" + latin:rowEdgeFlags="top" + > + <Key + latin:keyLabel="й" + latin:keyHintIcon="@drawable/keyboard_hint_1" + latin:popupCharacters="1" + latin:keyWidth="8.75%p" + latin:keyEdgeFlags="left" /> + <Key + latin:keyLabel="ц" + latin:keyHintIcon="@drawable/keyboard_hint_2" + latin:popupCharacters="2" /> + <Key + latin:keyLabel="у" + latin:keyHintIcon="@drawable/keyboard_hint_3" + latin:popupCharacters="3" /> + <Key + latin:keyLabel="к" + latin:keyHintIcon="@drawable/keyboard_hint_4" + latin:popupCharacters="4" /> + <Key + latin:keyLabel="е" + latin:keyHintIcon="@drawable/keyboard_hint_5" + latin:popupCharacters="@string/alternates_for_cyrillic_e" /> + <Key + latin:keyLabel="н" + latin:keyHintIcon="@drawable/keyboard_hint_6" + latin:popupCharacters="6" /> + <Key + latin:keyLabel="г" + latin:keyHintIcon="@drawable/keyboard_hint_7" + latin:popupCharacters="7" /> + <Key + latin:keyLabel="ш" + latin:keyHintIcon="@drawable/keyboard_hint_8" + latin:popupCharacters="8" /> + <Key + latin:keyLabel="щ" + latin:keyHintIcon="@drawable/keyboard_hint_9" + latin:popupCharacters="9" /> + <Key + latin:keyLabel="з" + latin:keyHintIcon="@drawable/keyboard_hint_0" + latin:popupCharacters="0" /> + <Key + latin:keyLabel="Ñ…" + latin:keyWidth="8.75%p" + latin:keyEdgeFlags="right" /> + </Row> + <Row + latin:keyWidth="9.091%p" + > + <Key + latin:keyLabel="Ñ„" + latin:keyWidth="8.75%p" + latin:keyEdgeFlags="left" /> + <Key + latin:keyLabel="Ñ‹" /> + <Key + latin:keyLabel="в" /> + <Key + latin:keyLabel="а" /> + <Key + latin:keyLabel="п" /> + <Key + latin:keyLabel="Ñ€" /> + <Key + latin:keyLabel="о" /> + <Key + latin:keyLabel="л" /> + <Key + latin:keyLabel="д" /> + <Key + latin:keyLabel="ж" /> + <Key + latin:keyLabel="Ñ" + latin:keyWidth="8.75%p" + latin:keyEdgeFlags="right" /> + </Row> + <Row + latin:keyWidth="8.5%p" + > + <Key + latin:keyStyle="shiftKeyStyle" + latin:keyWidth="11.75%p" + latin:keyEdgeFlags="left" /> + <Key + latin:keyLabel="Ñ" /> + <Key + latin:keyLabel="ч" /> + <Key + latin:keyLabel="Ñ" /> + <Key + latin:keyLabel="м" /> + <Key + latin:keyLabel="и" /> + <Key + latin:keyLabel="Ñ‚" /> + <Key + latin:keyLabel="ÑŒ" + latin:popupCharacters="@string/alternates_for_cyrillic_soft_sign" /> + <Key + latin:keyLabel="б" /> + <Key + latin:keyLabel="ÑŽ" /> + <Key + latin:keyStyle="deleteKeyStyle" + latin:keyWidth="11.75%p" + latin:keyEdgeFlags="right" /> + </Row> + <include + latin:keyboardLayout="@xml/kbd_qwerty_row4" /> +</merge> diff --git a/java/res/xml/kbd_sr_rows.xml b/java/res/xml/kbd_sr_rows.xml new file mode 100644 index 0000000000..4a5ed11954 --- /dev/null +++ b/java/res/xml/kbd_sr_rows.xml @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2011, 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" +> + <include + latin:keyboardLayout="@xml/kbd_key_styles" /> + <Row + latin:keyWidth="9.09%p" + latin:rowEdgeFlags="top" + > + <Key + latin:keyLabel="Ñ™" + latin:keyHintIcon="@drawable/keyboard_hint_1" + latin:popupCharacters="1" + latin:keyEdgeFlags="left" /> + <Key + latin:keyLabel="Ñš" + latin:keyHintIcon="@drawable/keyboard_hint_2" + latin:popupCharacters="2" /> + <Key + latin:keyLabel="е" + latin:keyHintIcon="@drawable/keyboard_hint_3" + latin:popupCharacters="3" /> + <Key + latin:keyLabel="Ñ€" + latin:keyHintIcon="@drawable/keyboard_hint_4" + latin:popupCharacters="4" /> + <Key + latin:keyLabel="Ñ‚" + latin:keyHintIcon="@drawable/keyboard_hint_5" + latin:popupCharacters="5" /> + <Key + latin:keyLabel="з" + latin:keyHintIcon="@drawable/keyboard_hint_6" + latin:popupCharacters="6" /> + <Key + latin:keyLabel="у" + latin:keyHintIcon="@drawable/keyboard_hint_7" + latin:popupCharacters="7" /> + <Key + latin:keyLabel="и" + latin:keyHintIcon="@drawable/keyboard_hint_8" + latin:popupCharacters="8" /> + <Key + latin:keyLabel="о" + latin:keyHintIcon="@drawable/keyboard_hint_9" + latin:popupCharacters="9" /> + <Key + latin:keyLabel="п" + latin:keyHintIcon="@drawable/keyboard_hint_0" + latin:popupCharacters="0" /> + <Key + latin:keyLabel="ш" + latin:keyEdgeFlags="right" /> + </Row> + <Row + latin:keyWidth="8.333%p" + > + <Key + latin:keyLabel="а" + latin:keyEdgeFlags="left" /> + <Key + latin:keyLabel="Ñ" /> + <Key + latin:keyLabel="д" /> + <Key + latin:keyLabel="Ñ„" /> + <Key + latin:keyLabel="г" /> + <Key + latin:keyLabel="Ñ…" /> + <Key + latin:keyLabel="ј" /> + <Key + latin:keyLabel="к" /> + <Key + latin:keyLabel="л" /> + <Key + latin:keyLabel="ч" /> + <Key + latin:keyLabel="Ñ›" /> + <Key + latin:keyLabel="Ñ’" + latin:keyEdgeFlags="right" /> + </Row> + <Row + latin:keyWidth="8.5%p" + > + <Key + latin:keyStyle="shiftKeyStyle" + latin:keyWidth="11.75%p" + latin:keyEdgeFlags="left" /> + <Key + latin:keyLabel="ж" /> + <Key + latin:keyLabel="ÑŸ" /> + <Key + latin:keyLabel="ц" /> + <Key + latin:keyLabel="в" /> + <Key + latin:keyLabel="б" /> + <Key + latin:keyLabel="н" /> + <Key + latin:keyLabel="м" /> + <Key + latin:keyStyle="deleteKeyStyle" + latin:keyWidth="11.75%p" + latin:keyEdgeFlags="right" /> + </Row> + <include + latin:keyboardLayout="@xml/kbd_qwerty_row4" /> +</merge> -- GitLab