From eaee15612889c4b238dc81a05143df44e8359e84 Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Tue, 3 Sep 2013 15:19:34 +0900 Subject: [PATCH] Optimize tablet layout Bug: 9059539 Change-Id: I049941d2c83764c7f07c5215799b9657a7f27764 --- java/res/xml-sw600dp/key_apostrophe.xml | 49 ----------------- java/res/xml-sw600dp/key_dash.xml | 49 ----------------- java/res/xml-sw600dp/key_f1.xml | 5 +- java/res/xml-sw600dp/key_f2.xml | 9 ---- java/res/xml-sw600dp/keys_comma_period.xml | 53 +++++++++++++++---- ...rew4.xml => keys_exclamation_question.xml} | 26 ++------- java/res/xml-sw600dp/row_dvorak4.xml | 7 ++- java/res/xml-sw600dp/row_qwerty4.xml | 4 +- .../xml-sw600dp/rows_armenian_phonetic.xml | 2 +- java/res/xml-sw600dp/rows_azerty.xml | 2 +- java/res/xml-sw600dp/rows_bulgarian.xml | 2 +- java/res/xml-sw600dp/rows_bulgarian_bds.xml | 2 +- java/res/xml-sw600dp/rows_colemak.xml | 2 +- java/res/xml-sw600dp/rows_east_slavic.xml | 2 +- java/res/xml-sw600dp/rows_georgian.xml | 2 +- java/res/xml-sw600dp/rows_greek.xml | 2 +- java/res/xml-sw600dp/rows_hebrew.xml | 2 +- java/res/xml-sw600dp/rows_hindi.xml | 2 +- java/res/xml-sw600dp/rows_mongolian.xml | 2 +- .../res/xml-sw600dp/rows_nepali_romanized.xml | 2 +- java/res/xml-sw600dp/rows_nordic.xml | 2 +- java/res/xml-sw600dp/rows_qwerty.xml | 2 +- java/res/xml-sw600dp/rows_qwertz.xml | 2 +- java/res/xml-sw600dp/rows_south_slavic.xml | 2 +- java/res/xml-sw600dp/rows_spanish.xml | 2 +- java/res/xml-sw600dp/rows_thai.xml | 2 +- .../keyboard/internal/KeyboardTextsSet.java | 16 ++++-- .../values-iw/donottranslate-more-keys.xml | 4 ++ .../res/values/donottranslate-more-keys.xml | 8 +-- 29 files changed, 94 insertions(+), 172 deletions(-) delete mode 100644 java/res/xml-sw600dp/key_apostrophe.xml delete mode 100644 java/res/xml-sw600dp/key_dash.xml rename java/res/xml-sw600dp/{row_hebrew4.xml => keys_exclamation_question.xml} (51%) diff --git a/java/res/xml-sw600dp/key_apostrophe.xml b/java/res/xml-sw600dp/key_apostrophe.xml deleted file mode 100644 index 2aec34729..000000000 --- a/java/res/xml-sw600dp/key_apostrophe.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/java/res/xml-sw600dp/key_dash.xml b/java/res/xml-sw600dp/key_dash.xml deleted file mode 100644 index b139c29c8..000000000 --- a/java/res/xml-sw600dp/key_dash.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/java/res/xml-sw600dp/key_f1.xml b/java/res/xml-sw600dp/key_f1.xml index 77afe4e64..ac0053236 100644 --- a/java/res/xml-sw600dp/key_f1.xml +++ b/java/res/xml-sw600dp/key_f1.xml @@ -53,10 +53,7 @@ + latin:keyLabel="/" /> diff --git a/java/res/xml-sw600dp/key_f2.xml b/java/res/xml-sw600dp/key_f2.xml index 56f233da9..674153ae3 100644 --- a/java/res/xml-sw600dp/key_f2.xml +++ b/java/res/xml-sw600dp/key_f2.xml @@ -28,15 +28,6 @@ - - - diff --git a/java/res/xml-sw600dp/keys_comma_period.xml b/java/res/xml-sw600dp/keys_comma_period.xml index 752f75b5f..a6008390e 100644 --- a/java/res/xml-sw600dp/keys_comma_period.xml +++ b/java/res/xml-sw600dp/keys_comma_period.xml @@ -23,24 +23,59 @@ > + latin:keyLabel="." + latin:keyHintLabel="_" + latin:moreKeys="_" + latin:keyStyle="hasShiftedLetterHintStyle" /> + latin:keyLabel="," + latin:keyHintLabel="-" + latin:moreKeys="-" + latin:keyStyle="hasShiftedLetterHintStyle" /> - + + + + + + + + + diff --git a/java/res/xml-sw600dp/row_hebrew4.xml b/java/res/xml-sw600dp/keys_exclamation_question.xml similarity index 51% rename from java/res/xml-sw600dp/row_hebrew4.xml rename to java/res/xml-sw600dp/keys_exclamation_question.xml index f429f97fb..983ef3897 100644 --- a/java/res/xml-sw600dp/row_hebrew4.xml +++ b/java/res/xml-sw600dp/keys_exclamation_question.xml @@ -2,7 +2,7 @@ + ! + ! + \? + \? diff --git a/tools/make-keyboard-text/res/values/donottranslate-more-keys.xml b/tools/make-keyboard-text/res/values/donottranslate-more-keys.xml index bad555f19..d3bcfd34a 100644 --- a/tools/make-keyboard-text/res/values/donottranslate-more-keys.xml +++ b/tools/make-keyboard-text/res/values/donottranslate-more-keys.xml @@ -166,10 +166,10 @@ , - ! - ! - \? - \? + + + + \' \" \"