Fix incorrect alignment of Restore Defaults button in some themes
Change-Id: I11bd9fea2a900a92794c5c297846eb87265eeee7
diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml
index a60fb3d..ace65eb 100644
--- a/gui/devices/540x960/res/ui.xml
+++ b/gui/devices/540x960/res/ui.xml
@@ -2451,6 +2451,14 @@
<action function="page">screen</action>
</object>
+ <object type="button">
+ <placement x="%col1_x%" y="%row4_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Restore Defaults</text>
+ <image resource="main_button" />
+ <action function="restoredefaultsettings"></action>
+ </object>
+
<object type="button">
<highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row4_y%" />
@@ -2460,14 +2468,6 @@
<action function="page">Vibrate</action>
</object>
- <object type="button">
- <placement x="%col_x%" y="%row4_y%" />
- <font resource="font" color="%button_text_color%" />
- <text>Restore Defaults</text>
- <image resource="main_button" />
- <action function="restoredefaultsettings"></action>
- </object>
-
<object type="action">
<touch key="home" />
<action function="page">main</action>