From 2b4cc0db61e7b5cf11552b6f0e444f254a8a7628 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 28 Sep 2010 14:35:21 +0900 Subject: [PATCH] Fix xlarge min-keyboard layout Change-Id: Ia4d6cffa0c6cf710da577b75f6337836352959a0 --- java/res/values-xlarge/dimens.xml | 3 +++ java/res/values/dimens.xml | 4 ++++ java/res/values/styles.xml | 8 +++---- java/res/xml-xlarge/kbd_popup_template.xml | 27 ++++++++++++++++++++++ java/res/xml-xlarge/kbd_qwerty.xml | 1 - java/res/xml-xlarge/kbd_symbols_shift.xml | 1 - 6 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 java/res/xml-xlarge/kbd_popup_template.xml diff --git a/java/res/values-xlarge/dimens.xml b/java/res/values-xlarge/dimens.xml index 37e6b9ef0..7c26729b1 100644 --- a/java/res/values-xlarge/dimens.xml +++ b/java/res/values-xlarge/dimens.xml @@ -23,5 +23,8 @@ 46dip 0dip 28sp + 16sp + 0dip + 40dip 0dip diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml index 75efddf6c..cad4e2ada 100644 --- a/java/res/values/dimens.xml +++ b/java/res/values/dimens.xml @@ -28,8 +28,12 @@ will not go into extract (fullscreen) mode. --> 2.5in 22sp + 14sp + 0dip + 80dip 91.8dip + 0.05in -10dip diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index f30c9f196..0372b07cf 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -22,11 +22,11 @@ @dimen/key_text_size #FFFFFFFF @layout/key_preview - 0dip - 80dip - 14sp + @dimen/key_preview_offset + @dimen/key_preview_height + @dimen/key_label_text_size @layout/keyboard_popup - 0.05in + @dimen/key_hysteresis_distance @dimen/keyboard_vertical_correction #BB000000 2.75 diff --git a/java/res/xml-xlarge/kbd_popup_template.xml b/java/res/xml-xlarge/kbd_popup_template.xml new file mode 100644 index 000000000..0e67a18d4 --- /dev/null +++ b/java/res/xml-xlarge/kbd_popup_template.xml @@ -0,0 +1,27 @@ + + + + + diff --git a/java/res/xml-xlarge/kbd_qwerty.xml b/java/res/xml-xlarge/kbd_qwerty.xml index 9554925b6..80fb8884e 100644 --- a/java/res/xml-xlarge/kbd_qwerty.xml +++ b/java/res/xml-xlarge/kbd_qwerty.xml @@ -30,7 +30,6 @@