diff --git a/java/res/xml/kbd_ar_rows.xml b/java/res/xml/kbd_ar_rows.xml
index d5264fd2d7b8bd2d66eda71c459e407e41d67e32..b2ea45701c137862f80268a9b9f5b555126ee758 100644
--- a/java/res/xml/kbd_ar_rows.xml
+++ b/java/res/xml/kbd_ar_rows.xml
@@ -87,7 +87,7 @@
             latin:keyEdgeFlags="right" />
     </Row>
     <Row
-        latin:keyWidth="10%p"
+        latin:keyWidth="9.7%p"
     >
         <Key
             latin:keyLabel="ظ"
@@ -112,7 +112,7 @@
             latin:keyLabel="Ø«" />
         <Key
             latin:keyStyle="deleteKeyStyle"
-            latin:visualInsetsLeft="2%p"
+            latin:keyWidth="12%p"
             latin:keyEdgeFlags="right" />
     </Row>
     <include latin:keyboardLayout="@xml/kbd_qwerty_row4" />