aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-09-23 15:53:05 +0900
committerTadashi G. Takaoka <takaoka@google.com>2010-09-23 15:53:05 +0900
commit77542988b809fba6a59aa86982eb4d9e4269477e (patch)
tree773ddfdaf83c30a3286d9dddd0f15fce60824d1b /java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
parent23f7fb035da7c00c51002fde94053aa304a437bb (diff)
downloadlatinime-77542988b809fba6a59aa86982eb4d9e4269477e.tar.gz
latinime-77542988b809fba6a59aa86982eb4d9e4269477e.tar.xz
latinime-77542988b809fba6a59aa86982eb4d9e4269477e.zip
Tune left and right padding of popup mini keyboard
This change also fix popup window display position calculation. Bug: 3029284 Change-Id: I28bf3e4deb46a428dc8422a3a165183e00608604
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java2
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 eeccb965c..92266c5f1 100644
--- a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
+++ b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
@@ -1129,7 +1129,7 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx
if (isNumberAtLeftmost) {
popupX -= container.getPaddingLeft();
} else {
- popupX += popupKey.width + getPaddingLeft();
+ popupX += popupKey.width + container.getPaddingLeft();
popupX -= container.getMeasuredWidth();
popupX += container.getPaddingRight();
}