diff --git a/java/res/values-sw600dp-land/dimens.xml b/java/res/values-sw600dp-land/dimens.xml
index 4fef9cd2e..a478df89a 100644
--- a/java/res/values-sw600dp-land/dimens.xml
+++ b/java/res/values-sw600dp-land/dimens.xml
@@ -44,13 +44,14 @@
18dp
- 45%
+ 50%
48%
32%
23%
34%
29%
- 33.33%
+ 30.0%
+ 4dp
252.0dp
5
diff --git a/java/res/values-sw600dp/dimens.xml b/java/res/values-sw600dp/dimens.xml
index 2129db4c7..8ecdffb47 100644
--- a/java/res/values-sw600dp/dimens.xml
+++ b/java/res/values-sw600dp/dimens.xml
@@ -59,9 +59,9 @@
25%
23%
28%
- 26%
+ 22%
50%
- 32.14%
+ 28.0%
94.5dp
16.0dp
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml
index e14633a2e..dbe3cd74f 100644
--- a/java/res/values/attrs.xml
+++ b/java/res/values/attrs.xml
@@ -68,7 +68,7 @@
-
+
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
index 4a9135310..0d2e9f0ad 100644
--- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java
+++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
@@ -659,7 +659,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
hintX = keyWidth - params.mKeyShiftedLetterHintPadding
- getCharWidth(KEY_LABEL_REFERENCE_CHAR, paint) / 2;
paint.getFontMetrics(mFontMetrics);
- hintY = -mFontMetrics.top + params.mKeyShiftedLetterHintPadding;
+ hintY = -mFontMetrics.top;
paint.setTextAlign(Align.CENTER);
} else { // key.hasHintLetter()
// The hint letter is placed at top-right corner of the key. Used mainly on phone.