diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml
index f83fc36a6..1378be72c 100644
--- a/java/res/values/dimens.xml
+++ b/java/res/values/dimens.xml
@@ -28,10 +28,17 @@
will not go into extract (fullscreen) mode. -->
2.5in
22sp
+ 14sp
+ 0dip
+ 80dip
91.8dip
-54dip
+ 0.05in
+
+ -0.06in
0.3in
diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml
index 5e239482f..0372b07cf 100644
--- a/java/res/values/styles.xml
+++ b/java/res/values/styles.xml
@@ -22,12 +22,12 @@
- @dimen/key_text_size
- #FFFFFFFF
- @layout/key_preview
- - 0dip
- - 80dip
- - 14sp
+ - @dimen/key_preview_offset
+ - @dimen/key_preview_height
+ - @dimen/key_label_text_size
- @layout/keyboard_popup
- - 0.05in
- - -10dip
+ - @dimen/key_hysteresis_distance
+ - @dimen/keyboard_vertical_correction
- #BB000000
- 2.75
- 0.5