diff --git a/overlay/packages/apps/FlipFlap/res/values/config.xml b/overlay/packages/apps/FlipFlap/res/values/config.xml
index ebee153..33e3c67 100644
--- a/overlay/packages/apps/FlipFlap/res/values/config.xml
+++ b/overlay/packages/apps/FlipFlap/res/values/config.xml
@@ -28,11 +28,5 @@
      For example, a device with Asus Circle Cover would set 2 -->
     <integer name="config_deviceCoverType">3</integer>
 
-    <!-- Rectangular parameters (config_deviceCoverType == 3) -->
-    <integer name="rectangular_window_top" translatable="false">0</integer>
-    <integer name="rectangular_window_left" translatable="false">60</integer>
-    <integer name="rectangular_window_width" translatable="false">960</integer>
-    <integer name="rectangular_window_height" translatable="false">960</integer>
-
 </resources>
 
diff --git a/overlay/packages/apps/FlipFlap/res/values/dimens.xml b/overlay/packages/apps/FlipFlap/res/values/dimens.xml
new file mode 100644
index 0000000..57070cc
--- /dev/null
+++ b/overlay/packages/apps/FlipFlap/res/values/dimens.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--  Copyright (c) 2017 The LineageOS Project
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ Also add information on how to contact you by electronic and paper mail.
+
+-->
+
+<resources>
+
+    <!-- Rectangular parameters (config_deviceCoverType == 3) -->
+    <dimen name="rectangular_window_top">0px</dimen>
+    <dimen name="rectangular_window_left">60px</dimen>
+    <dimen name="rectangular_window_width">960px</dimen>
+    <dimen name="rectangular_window_height">960px</dimen>
+
+</resources>