diff --git a/java/res/values-land/dimens.xml b/java/res/values-land/dimens.xml
index b3983ae71..73e1aff96 100644
--- a/java/res/values-land/dimens.xml
+++ b/java/res/values-land/dimens.xml
@@ -27,21 +27,22 @@
0.280in
0.0in
- 0.02in
- 0.00in
- 1.21mm
- 0.35mm
+ 1.818%p
+ 0.0%p
+ 4.330%p
+ 0.405%p
- 1.40mm
- 1.00mm
+ 0.984in
+ 5.010%p
+ 1.159%p
- 1.66mm
- 0.86mm
+ 5.941%p
+ 0.997%p
- 0.03in
- 0.00in
- 1.50mm
- 0.88mm
+ 2.727%p
+ 0.0%p
+ 5.368%p
+ 1.020%p
8dip
diff --git a/java/res/values-sw600dp-land/dimens.xml b/java/res/values-sw600dp-land/dimens.xml
index d732c8789..5d4967ffe 100644
--- a/java/res/values-sw600dp-land/dimens.xml
+++ b/java/res/values-sw600dp-land/dimens.xml
@@ -24,21 +24,19 @@
45%p
0dp
- 1.1mm
- 0.0mm
- 2.21mm
- 1.97mm
+ 2.444%p
+ 0.0%p
+ 4.911%p
+ 1.284%p
- 1.96mm
- 2.31mm
+ 45.0mm
+ 4.355%p
+ 1.505%p
- 2.34mm
- 2.22mm
+ 5.200%p
+ 1.447%p
- 1.66mm
- 1.66mm
- 1.1mm
- 0.0mm
+ 0.0%p
13.0mm
diff --git a/java/res/values-sw600dp/dimens.xml b/java/res/values-sw600dp/dimens.xml
index c89a5cdfb..20876a202 100644
--- a/java/res/values-sw600dp/dimens.xml
+++ b/java/res/values-sw600dp/dimens.xml
@@ -27,21 +27,19 @@
10.0mm
0.0mm
- 1.1mm
- 0.0mm
- 1.80mm
- 1.67mm
+ 2.291%p
+ 0.0%p
+ 3.750%p
+ 1.857%p
- 1.80mm
- 1.44mm
+ 48.0mm
+ 3.75%p
+ 1.602%p
- 2.22mm
- 1.90mm
+ 4.625%p
+ 2.113%p
- 1.37mm
- 1.53mm
- 1.1mm
- 0.0mm
+ 0.0%p
6dip
diff --git a/java/res/values-sw768dp-land/dimens.xml b/java/res/values-sw768dp-land/dimens.xml
index 45a3d40b9..18837fecc 100644
--- a/java/res/values-sw768dp-land/dimens.xml
+++ b/java/res/values-sw768dp-land/dimens.xml
@@ -24,22 +24,23 @@
45%p
0.0mm
- 1.1mm
- 0.0mm
+ 1.896%p
+ 0.0%p
- 2.65mm
- 2.34mm
+ 4.103%p
+ 1.034%p
- 1.96mm
- 2.31mm
+ 58.0mm
+ 3.379%p
+ 1.062%p
- 2.80mm
- 2.60mm
+ 3.896%p
+ 1.195%p
- 2.25mm
- 2.22mm
- 1.1mm
- 0.0mm
+ 1.896%p
+ 0.0%p
+ 3.690%p
+ 1.030%p
13.0mm
diff --git a/java/res/values-sw768dp/dimens.xml b/java/res/values-sw768dp/dimens.xml
index f98cabba4..f0340bc70 100644
--- a/java/res/values-sw768dp/dimens.xml
+++ b/java/res/values-sw768dp/dimens.xml
@@ -25,22 +25,22 @@
-35.0%p
0.0mm
- 1.1mm
- 0.0mm
+ 2.291%p
+ 0.0%p
- 2.05mm
- 2.11mm
+ 4.270%p
+ 1.551%p
- 1.80mm
- 1.44mm
+ 48.0mm
+ 3.75%p
+ 1.059%p
- 2.25mm
- 1.96mm
+ 4.687%p
+ 1.272%p
- 1.75mm
- 1.79mm
- 1.1mm
- 0.0mm
+ 0.0%p
+ 3.312%p
+ 1.066%p
10.0mm
diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml
index f5e392c49..ff0458cfe 100644
--- a/java/res/values/dimens.xml
+++ b/java/res/values/dimens.xml
@@ -30,22 +30,25 @@
8dip
0dp
- 0.02in
- 0.06in
- 2.04mm
- 0.70mm
+ 1.556%p
+ 4.669%p
+ 6.250%p
+ 1.352%p
- 2.45mm
- 0.90mm
+ 1.317in
+ 1.556%p
+ 0.778%p
+ 7.506%p
+ 1.739%p
- 2.12mm
- 1.02mm
+ 6.495%p
+ 1.971%p
- 0.03in
- 0.06in
+ 2.335%p
+ 4.669%p
+ 6.127%p
+ 1.739%p
6dp
- 2.00mm
- 0.90mm
diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml
index f731d0133..de55cbdae 100644
--- a/java/res/values/styles.xml
+++ b/java/res/values/styles.xml
@@ -22,10 +22,10 @@
- @fraction/maxKeyboardHeight
- @fraction/minKeyboardHeight
- @xml/kbd_popup_template
- - @dimen/keyboard_top_padding
- - @dimen/keyboard_bottom_padding
- - @dimen/key_horizontal_gap
- - @dimen/key_bottom_gap
+ - @fraction/keyboard_top_padding
+ - @fraction/keyboard_bottom_padding
+ - @fraction/key_horizontal_gap
+ - @fraction/key_bottom_gap
- @integer/config_max_popup_keyboard_column