diff --git a/java/res/layout/keyboard_popup.xml b/java/res/layout/keyboard_popup.xml
index 27388e06b..c6594f6bf 100644
--- a/java/res/layout/keyboard_popup.xml
+++ b/java/res/layout/keyboard_popup.xml
@@ -36,6 +36,6 @@
latin:keyBackground="@drawable/btn_keyboard_key_gingerbread_popup"
latin:keyHysteresisDistance="0dip"
- latin:verticalCorrection="-20dip"
+ latin:verticalCorrection="@dimen/mini_keyboard_vertical_correction"
/>
diff --git a/java/res/values-land/dimens.xml b/java/res/values-land/dimens.xml
index ac0e030d4..1396bff9b 100644
--- a/java/res/values-land/dimens.xml
+++ b/java/res/values-land/dimens.xml
@@ -24,6 +24,8 @@
63dip
2dip
-
+
79.9dip
+
+ -47dip
diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml
index b399af489..502157dcf 100644
--- a/java/res/values/dimens.xml
+++ b/java/res/values/dimens.xml
@@ -29,6 +29,8 @@
2.5in
22sp
-
+
91.8dip
+
+ -54dip