From ca57f5ba40b587a7a7f8a023aca65e1b2127b2a6 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 30 Jul 2012 16:06:19 +0900 Subject: [PATCH] Move gesture preview parameters to KeyboardView attributes Change-Id: Iff9d6b485e202656fc869f3ff4d94575ad2c186f --- java/res/values/attrs.xml | 12 ++ java/res/values/dimens.xml | 10 +- java/res/values/styles.xml | 14 ++- .../inputmethod/keyboard/KeyboardView.java | 7 +- .../keyboard/internal/PreviewPlacerView.java | 104 +++++++++--------- .../android/inputmethod/latin/LatinIME.java | 7 +- 6 files changed, 91 insertions(+), 63 deletions(-) diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 1d52e46bb..02e8eeb3b 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -118,6 +118,18 @@ + + + + + + + + + + + + diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml index b47897f3c..c59bad302 100644 --- a/java/res/values/dimens.xml +++ b/java/res/values/dimens.xml @@ -96,9 +96,9 @@ 2.5dp - 35dp - 75dp - 17.5dp - 7.5dp - 1.0dp + 35dp + 75dp + 17.5dp + 7.5dp + 1.0dp diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index 8797fd7aa..955a27631 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -14,7 +14,7 @@ limitations under the License. --> - +