diff options
author | 2010-09-22 02:18:43 -0700 | |
---|---|---|
committer | 2010-09-22 02:18:43 -0700 | |
commit | 8957296f066b1f624dc4fae71d3eeb5a0fec1b4f (patch) | |
tree | 0ecb1367404b70e011d1ce1cef480925fdf2984d /java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java | |
parent | b2570e76efdb0362805798437dddcfc01b5fd00d (diff) | |
parent | 9d1cb89939a102872b964612c9735d5ef5d6ab53 (diff) | |
download | latinime-8957296f066b1f624dc4fae71d3eeb5a0fec1b4f.tar.gz latinime-8957296f066b1f624dc4fae71d3eeb5a0fec1b4f.tar.xz latinime-8957296f066b1f624dc4fae71d3eeb5a0fec1b4f.zip |
am 9d1cb899: Merge "Choose smaller or shorter language name for space bar" into gingerbread
Merge commit '9d1cb89939a102872b964612c9735d5ef5d6ab53' into gingerbread-plus-aosp
* commit '9d1cb89939a102872b964612c9735d5ef5d6ab53':
Choose smaller or shorter language name for space bar
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java index fd25d7521..dafbb669e 100644 --- a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java +++ b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java @@ -932,7 +932,7 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx lp.height = popupHeight; } - int popupPreviewX = key.x - mPreviewText.getPaddingLeft() + getPaddingLeft(); + int popupPreviewX = key.x - (popupWidth - key.width) / 2; int popupPreviewY = key.y - popupHeight + mPreviewOffset; mHandler.cancelDismissPreview(); |