From 749cc1875164e38ca24d31d0d718603232abccb8 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Thu, 30 Aug 2012 16:05:40 +0900 Subject: [PATCH] Move some key top visual attributes from KeyboardView to Key Change-Id: I1e2d59bf8c438ca653e2e415ccf66fd4f15d5394 --- java/res/values/attrs.xml | 106 ++++++------- java/res/values/styles.xml | 12 +- .../inputmethod/keyboard/KeyboardView.java | 146 ++++++++++-------- .../keyboard/internal/KeyboardBuilder.java | 25 ++- 4 files changed, 149 insertions(+), 140 deletions(-) diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 27bf32935..a44f84b9c 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -41,45 +41,6 @@ checkable+checked+pressed. --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -88,14 +49,10 @@ - - - - @@ -105,18 +62,8 @@ - - - - - - - - - - @@ -335,6 +282,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index a52ee06d4..634b32a78 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -64,8 +64,8 @@ @integer/config_key_preview_linger_timeout @layout/more_keys_keyboard @dimen/keyboard_vertical_correction - #BB000000 - 2.75 + #BB000000 + 2.75 128 @dimen/gesture_floating_preview_text_size @@ -203,7 +203,7 @@ #E0000000 #66000000 #CC000000 - #FFFFFFFF + #FFFFFFFF