From 4112dc05002d7a880e558418639cf25c4bd02a5a Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Sun, 18 Dec 2011 08:13:36 +0900 Subject: [PATCH] Move spacebar drawing code from LatinKeyboard to LatinKeyboardView Also this change moves LatinKeyboard attributes, autoCorrectionSpacebarLedEnabled, autoCorrectionSpacebarLedIcon, spacebarTextRatio, spacebarTextColor, and spacebarTextShadowColor to LatinKeyboardView. Change-Id: I7cc27ce1fc550e9f620a9ed0fbe4b8172902d5a1 --- java/res/values/attrs.xml | 16 +- java/res/values/styles.xml | 51 ++-- java/res/values/themes-basic-highcontrast.xml | 1 - java/res/values/themes-basic.xml | 1 - java/res/values/themes-gingerbread.xml | 1 - java/res/values/themes-ics.xml | 1 - java/res/values/themes-stone-bold.xml | 1 - java/res/values/themes-stone.xml | 1 - .../keyboard/KeyboardSwitcher.java | 26 +-- .../inputmethod/keyboard/LatinKeyboard.java | 213 +---------------- .../keyboard/LatinKeyboardView.java | 220 +++++++++++++++++- .../android/inputmethod/latin/LatinIME.java | 8 +- 12 files changed, 261 insertions(+), 279 deletions(-) diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index cddf513a1..c37c58274 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -124,6 +124,12 @@ + + + + + + @@ -327,16 +333,6 @@ - - - - - - - - - - diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index f77586559..d4460c93d 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -31,13 +31,6 @@ @fraction/key_bottom_gap @integer/config_max_more_keys_column - - -