diff --git a/java/res/layout/key_preview.xml b/java/res/layout/key_preview.xml
index b620d07d8..6ed892e28 100644
--- a/java/res/layout/key_preview.xml
+++ b/java/res/layout/key_preview.xml
@@ -20,8 +20,8 @@
diff --git a/java/res/layout/suggestion_info.xml b/java/res/layout/suggestion_info.xml
index a364d46aa..a4ad6df25 100644
--- a/java/res/layout/suggestion_info.xml
+++ b/java/res/layout/suggestion_info.xml
@@ -22,6 +22,6 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textSize="6sp"
+ android:textSize="6dp"
android:textColor="@android:color/white"
style="?attr/suggestionBackgroundStyle" />
diff --git a/java/res/layout/suggestion_preview.xml b/java/res/layout/suggestion_preview.xml
index 3c026ae0e..856447bba 100644
--- a/java/res/layout/suggestion_preview.xml
+++ b/java/res/layout/suggestion_preview.xml
@@ -21,8 +21,8 @@
diff --git a/java/res/values-sw600dp/dimens.xml b/java/res/values-sw600dp/dimens.xml
index a86102421..a9267ebd4 100644
--- a/java/res/values-sw600dp/dimens.xml
+++ b/java/res/values-sw600dp/dimens.xml
@@ -63,7 +63,6 @@
15.0mm
0.1in
- 15.0mm
0.05in
-5mm
diff --git a/java/res/values-sw768dp-land/dimens.xml b/java/res/values-sw768dp-land/dimens.xml
index ef39f4393..c343568f4 100644
--- a/java/res/values-sw768dp-land/dimens.xml
+++ b/java/res/values-sw768dp-land/dimens.xml
@@ -55,7 +55,6 @@
24.00%
17.0mm
- 26.5mm
0.05in
40.0mm
diff --git a/java/res/values-sw768dp/dimens.xml b/java/res/values-sw768dp/dimens.xml
index a9ad030fe..51bbf56c3 100644
--- a/java/res/values-sw768dp/dimens.xml
+++ b/java/res/values-sw768dp/dimens.xml
@@ -66,7 +66,6 @@
15.0mm
0.1in
- 15.0mm
0.05in
-5mm
diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml
index 37720ce72..0059da820 100644
--- a/java/res/values/dimens.xml
+++ b/java/res/values/dimens.xml
@@ -67,7 +67,7 @@
35%
82%
33.735%
- 80sp
+ 80dp
0.1in
4dip
@@ -75,7 +75,6 @@
2dp
2dp
- 80sp
0.05in
-0.165in
diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml
index 7d8b7ddf2..be37fa9de 100644
--- a/java/res/values/styles.xml
+++ b/java/res/values/styles.xml
@@ -315,7 +315,6 @@
- @dimen/keyboard_key_feedback_background_holo_width
- @dimen/keyboard_key_feedback_background_holo_height
- #FFFFFFFF
- - @dimen/key_preview_height_ics
- @dimen/key_preview_offset_ics
- #00000000
- 0.0