From f5fe245df0548ea0a8ec607f2392de0fe02c141d Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 21 Sep 2011 10:41:31 +0900 Subject: [PATCH] Fix key preview backing view height Bug: 5344344 Change-Id: Ied0cda2c4b822b391ece54a6880fae8e349cc0bc --- java/res/values/dimens.xml | 2 +- java/src/com/android/inputmethod/latin/LatinIME.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml index 16cccc62a..cbd557e52 100644 --- a/java/res/values/dimens.xml +++ b/java/res/values/dimens.xml @@ -87,7 +87,7 @@ 90% 18% - 160dip + 240dip 0dip 44dip 6dip diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 91a784124..1fa536e59 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -618,6 +618,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar mSuggestionsView = (SuggestionsView) view.findViewById(R.id.suggestions_view); if (mSuggestionsView != null) mSuggestionsView.setListener(this, view); + if (LatinImeLogger.sVISUALDEBUG) { + mKeyPreviewBackingView.setBackgroundColor(0x10FF0000); + } } @Override