diff --git a/java/res/xml-sw600dp-land/kbd_popup_template.xml b/java/res/xml-sw600dp-land/kbd_mini_keyboard_template.xml
similarity index 93%
rename from java/res/xml-sw600dp-land/kbd_popup_template.xml
rename to java/res/xml-sw600dp-land/kbd_mini_keyboard_template.xml
index 2c1d1902e5e34248758865b14d105674f8d9a4f1..3c19c294df5e11e04b27193f526770d803c842b5 100644
--- a/java/res/xml-sw600dp-land/kbd_popup_template.xml
+++ b/java/res/xml-sw600dp-land/kbd_mini_keyboard_template.xml
@@ -20,8 +20,6 @@
 
 <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
     latin:keyWidth="5%p"
-    latin:horizontalGap="0px"
-    latin:verticalGap="0px"
     latin:rowHeight="@dimen/popup_key_height"
     >
 </Keyboard>
diff --git a/java/res/xml-sw768dp-land/kbd_popup_template.xml b/java/res/xml-sw768dp-land/kbd_mini_keyboard_template.xml
similarity index 93%
rename from java/res/xml-sw768dp-land/kbd_popup_template.xml
rename to java/res/xml-sw768dp-land/kbd_mini_keyboard_template.xml
index 3caae1a60497d66217ec743940de66fabf20f079..d5f80e76da6bca696ecfcff519e12b62310ff125 100644
--- a/java/res/xml-sw768dp-land/kbd_popup_template.xml
+++ b/java/res/xml-sw768dp-land/kbd_mini_keyboard_template.xml
@@ -20,8 +20,6 @@
 
 <Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
     latin:keyWidth="3.5%p"
-    latin:horizontalGap="0px"
-    latin:verticalGap="0px"
     latin:rowHeight="@dimen/popup_key_height"
     >
 </Keyboard>