From e00d44d0c8a1420482121f2f3347def9ef430778 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 29 Jul 2011 18:41:12 -0700 Subject: [PATCH] Show settings and tab key accordingly Instead of showing a tab key at the position of "period" key, this change places a tab key on the left side of the space key or on the mini popup keyboard of the mic/comma key accordingly. Bug: 4340933 Change-Id: If3cbc6d0b36f74fbc9320d6f433c65c66051dc09 --- .../res/values-ar/donottranslate-altchars.xml | 9 ++- .../res/values-es/donottranslate-altchars.xml | 1 - java/res/values/donottranslate-altchars.xml | 9 ++- java/res/xml/kbd_key_styles.xml | 49 +++++------- java/res/xml/kbd_qwerty_f1.xml | 76 +++++++------------ java/res/xml/kbd_qwerty_row4.xml | 36 ++++----- java/res/xml/kbd_settings_or_tab.xml | 45 +++++++++++ java/res/xml/kbd_symbols_f1.xml | 39 +++++----- java/res/xml/kbd_symbols_row4.xml | 38 +++++----- java/res/xml/kbd_symbols_shift_row4.xml | 44 +++++------ 10 files changed, 178 insertions(+), 168 deletions(-) create mode 100644 java/res/xml/kbd_settings_or_tab.xml diff --git a/java/res/values-ar/donottranslate-altchars.xml b/java/res/values-ar/donottranslate-altchars.xml index 6f9244e9e..970666538 100644 --- a/java/res/values-ar/donottranslate-altchars.xml +++ b/java/res/values-ar/donottranslate-altchars.xml @@ -31,9 +31,7 @@ \u064b: ARABIC FATHATAN \u064d: ARABIC KASRATAN --> "\u060c,\u061b,\u061f,!,:,-,/,\',\",\u0651,\u0652,\u064c,\u0640,\u064f,\u064e,\u0650,\u064b,\u064d" - ".,\u060c,\u061b,\u061f,!,:,-,/,\',\",\u0651,\u0652,\u064c,\u0640,\u064f,\u064e,\u0650,\u064b,\u064d" 9 - 10 \u064b "١" "٢" @@ -62,8 +60,11 @@ \u066a , - - "\\,,\@icon/5|\@integer/key_settings" + , + + \\,,\@icon/5|\@integer/key_settings + + \\,,\@icon/10|\@integer/key_tab \?,¿ ; %,‰ diff --git a/java/res/values-es/donottranslate-altchars.xml b/java/res/values-es/donottranslate-altchars.xml index 16111ec42..e1f849f62 100644 --- a/java/res/values-es/donottranslate-altchars.xml +++ b/java/res/values-es/donottranslate-altchars.xml @@ -26,5 +26,4 @@ ñ,ń ç,ć,č "\\,,\?,!,¿,¡,:,-,\',\",),(,/,;,+,&,\@" - ".,\\,,\?,!,¿,¡,:,-,\',\",),(,/,;,+,&,\@" diff --git a/java/res/values/donottranslate-altchars.xml b/java/res/values/donottranslate-altchars.xml index 9f10ea2e1..05026508b 100644 --- a/java/res/values/donottranslate-altchars.xml +++ b/java/res/values/donottranslate-altchars.xml @@ -50,9 +50,7 @@ ¢,$,€,£,¥,₱ ":-)|:-) ,:-(|:-( ,;-)|;-) ,:-P|:-P ,=-O|=-O ,:-*|:-* ,:O|:O ,B-)|B-) ,:-$|:-$ ,:-!|:-! ,:-[|:-[ ,O:-)|O:-) ,:-\\\\\\\\|:-\\\\\\\\ ,:\'(|:\'( ,:-D|:-D " "\\,,\?,!,:,-,\',\",(,),/,;,+,&,\@" - ".,\\,,\?,!,:,-,\',\",(,),/,;,+,&,\@" 7 - 8 ".com" @@ -83,8 +81,11 @@ ; % - - \@icon/5|\@integer/key_settings + + + \@icon/5|\@integer/key_settings + + \@icon/10|\@integer/key_tab ¿ diff --git a/java/res/xml/kbd_key_styles.xml b/java/res/xml/kbd_key_styles.xml index 4d53cd12d..221c1e380 100644 --- a/java/res/xml/kbd_key_styles.xml +++ b/java/res/xml/kbd_key_styles.xml @@ -25,38 +25,41 @@ - + - + - - - + + + + + @@ -225,29 +228,11 @@ - - - - - - - - diff --git a/java/res/xml/kbd_qwerty_f1.xml b/java/res/xml/kbd_qwerty_f1.xml index 337f981fd..83b6ecc8d 100644 --- a/java/res/xml/kbd_qwerty_f1.xml +++ b/java/res/xml/kbd_qwerty_f1.xml @@ -23,7 +23,8 @@ > + + + + - - - - - - - - - - - - + - + + + + + - - - - - - - - - - - - + diff --git a/java/res/xml/kbd_qwerty_row4.xml b/java/res/xml/kbd_qwerty_row4.xml index 771333ca9..739cbc012 100644 --- a/java/res/xml/kbd_qwerty_row4.xml +++ b/java/res/xml/kbd_qwerty_row4.xml @@ -26,25 +26,9 @@ > - - - - - - - - @@ -55,6 +39,22 @@ latin:keyWidth="50%p" /> + + + + + + + + diff --git a/java/res/xml/kbd_settings_or_tab.xml b/java/res/xml/kbd_settings_or_tab.xml new file mode 100644 index 000000000..4a8bcc7a6 --- /dev/null +++ b/java/res/xml/kbd_settings_or_tab.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml/kbd_symbols_f1.xml b/java/res/xml/kbd_symbols_f1.xml index 712a2fd0c..0dd3d9109 100644 --- a/java/res/xml/kbd_symbols_f1.xml +++ b/java/res/xml/kbd_symbols_f1.xml @@ -23,8 +23,26 @@ > + + + + + + + + + + + + - - - - - - - - - - - - + latin:keyStyle="f1PopupStyle" /> diff --git a/java/res/xml/kbd_symbols_row4.xml b/java/res/xml/kbd_symbols_row4.xml index 3fda8883e..534d18307 100644 --- a/java/res/xml/kbd_symbols_row4.xml +++ b/java/res/xml/kbd_symbols_row4.xml @@ -26,25 +26,9 @@ > - - - - - - - - @@ -54,7 +38,23 @@ latin:keyStyle="spaceKeyStyle" latin:keyWidth="50%p" /> + latin:keyStyle="punctuationKeyStyle" /> + + + + + + + + diff --git a/java/res/xml/kbd_symbols_shift_row4.xml b/java/res/xml/kbd_symbols_shift_row4.xml index 35d444a75..11c2b00a7 100644 --- a/java/res/xml/kbd_symbols_shift_row4.xml +++ b/java/res/xml/kbd_symbols_shift_row4.xml @@ -26,29 +26,9 @@ > - - - - - - - - @@ -62,6 +42,26 @@ + + + + + + + +