From c1e6100bdea95872cb66a64b7ee14ab0ae46476f Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 14 May 2014 15:30:37 +0900 Subject: [PATCH] Separate functional key background from normal one This CL also moves spacebarBackground attribute from MainKeyboardView to KeyboardView. This CL must be checked in together with I48c383ca97. Bug: 14419121 Change-Id: Id356d0086a8fb21375fb5c66076873258fb3d63e --- java/res/drawable/btn_keyboard_key_ics.xml | 6 -- java/res/drawable/btn_keyboard_key_klp.xml | 6 -- java/res/drawable/btn_keyboard_key_lmp.xml | 6 -- java/res/values/attrs.xml | 15 ++--- java/res/values/themes-common.xml | 7 +-- java/res/values/themes-ics.xml | 6 +- java/res/values/themes-klp.xml | 6 +- java/res/values/themes-lmp.xml | 6 +- .../keyboard/EmojiPalettesView.java | 20 +++--- .../com/android/inputmethod/keyboard/Key.java | 63 ++++++++++--------- .../inputmethod/keyboard/KeyboardView.java | 18 +++++- .../keyboard/MainKeyboardView.java | 24 +------ 12 files changed, 81 insertions(+), 102 deletions(-) diff --git a/java/res/drawable/btn_keyboard_key_ics.xml b/java/res/drawable/btn_keyboard_key_ics.xml index 9db0eeef4..af14cd51c 100644 --- a/java/res/drawable/btn_keyboard_key_ics.xml +++ b/java/res/drawable/btn_keyboard_key_ics.xml @@ -15,12 +15,6 @@ --> - - - - diff --git a/java/res/drawable/btn_keyboard_key_klp.xml b/java/res/drawable/btn_keyboard_key_klp.xml index 500e3ea75..56c295f14 100644 --- a/java/res/drawable/btn_keyboard_key_klp.xml +++ b/java/res/drawable/btn_keyboard_key_klp.xml @@ -15,12 +15,6 @@ --> - - - - diff --git a/java/res/drawable/btn_keyboard_key_lmp.xml b/java/res/drawable/btn_keyboard_key_lmp.xml index 4aaafb52f..636b6374d 100644 --- a/java/res/drawable/btn_keyboard_key_lmp.xml +++ b/java/res/drawable/btn_keyboard_key_lmp.xml @@ -15,12 +15,6 @@ --> - - - - diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 769a1d986..79cc139a2 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -41,13 +41,16 @@ - - - - + + + + @@ -76,8 +79,6 @@ - - diff --git a/java/res/values/themes-common.xml b/java/res/values/themes-common.xml index 76abb10fb..df26fb3b4 100644 --- a/java/res/values/themes-common.xml +++ b/java/res/values/themes-common.xml @@ -109,12 +109,7 @@ +