summaryrefslogtreecommitdiffstats
path: root/gui/devices/480x800/res
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-10-08 16:58:53 +0200
committerDees_Troy <dees_troy@teamw.in>2012-10-08 17:44:49 +0200
commita3f81542fb0e6dab9d68734d27f299be7eb5f9d1 (patch)
tree6f8602c34e1c61250d1e7957d1d8057de31e54c1 /gui/devices/480x800/res
parentFix exclamation point on 720x1280 theme (diff)
downloadandroid_bootable_recovery-a3f81542fb0e6dab9d68734d27f299be7eb5f9d1.tar
android_bootable_recovery-a3f81542fb0e6dab9d68734d27f299be7eb5f9d1.tar.gz
android_bootable_recovery-a3f81542fb0e6dab9d68734d27f299be7eb5f9d1.tar.bz2
android_bootable_recovery-a3f81542fb0e6dab9d68734d27f299be7eb5f9d1.tar.lz
android_bootable_recovery-a3f81542fb0e6dab9d68734d27f299be7eb5f9d1.tar.xz
android_bootable_recovery-a3f81542fb0e6dab9d68734d27f299be7eb5f9d1.tar.zst
android_bootable_recovery-a3f81542fb0e6dab9d68734d27f299be7eb5f9d1.zip
Diffstat (limited to 'gui/devices/480x800/res')
-rw-r--r--gui/devices/480x800/res/ui.xml66
1 files changed, 35 insertions, 31 deletions
diff --git a/gui/devices/480x800/res/ui.xml b/gui/devices/480x800/res/ui.xml
index d348f3875..9548a1ef9 100644
--- a/gui/devices/480x800/res/ui.xml
+++ b/gui/devices/480x800/res/ui.xml
@@ -725,13 +725,16 @@
<text>Reboot System</text>
<image resource="main_button" />
<actions>
- <action function="set">tw_back=flash_done</action>
+ <action function="set">tw_back=main2</action>
<action function="set">tw_action=reboot</action>
<action function="set">tw_action_param=system</action>
<action function="set">tw_has_action2=0</action>
<action function="set">tw_text1=No OS Installed! Are you</action>
<action function="set">tw_text2=sure you wish to reboot?</action>
+ <action function="set">tw_text3=</action>
+ <action function="set">tw_text4=</action>
<action function="set">tw_action_text1=Rebooting...</action>
+ <action function="set">tw_action_text2=</action>
<action function="set">tw_complete_text1=Rebooting...</action>
<action function="set">tw_slider_text=Swipe to Reboot</action>
<action function="page">rebootcheck</action>
@@ -797,6 +800,7 @@
<action function="set">tw_cancel_action=</action>
<action function="set">tw_cancel_param=</action>
<action function="set">tw_show_exclamation=0</action>
+ <action function="set">tw_show_reboot=0</action>
<action function="page">%tw_clear_destination%</action>
</object>
</page>
@@ -899,20 +903,7 @@
<object type="template" name="progress_bar" />
<object type="action">
- <conditions>
- <condition var1="tw_operation_state" var2="1" />
- <condition var1="tw_operation_status" var2="0" />
- </conditions>
- <actions>
- <action function="page">action_complete</action>
- </actions>
- </object>
-
- <object type="action">
- <conditions>
- <condition var1="tw_operation_state" var2="1" />
- <condition var1="tw_operation_status" op="!=" var2="0" />
- </conditions>
+ <condition var1="tw_operation_state" var2="1" />
<actions>
<action function="page">action_complete</action>
</actions>
@@ -960,6 +951,7 @@
<object type="template" name="action_page_console" />
<object type="button">
+ <condition var1="tw_show_reboot" var2="0" />
<placement x="%col_center_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
<text>Back</text>
@@ -970,6 +962,29 @@
</actions>
</object>
+ <object type="button">
+ <condition var1="tw_show_reboot" var2="1" />
+ <placement x="%col_center_x%" y="%row4_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Reboot System</text>
+ <image resource="main_button" />
+ <actions>
+ <action function="set">tw_back=main2</action>
+ <action function="set">tw_action=reboot</action>
+ <action function="set">tw_action_param=system</action>
+ <action function="set">tw_has_action2=0</action>
+ <action function="set">tw_text1=No OS Installed! Are you</action>
+ <action function="set">tw_text2=sure you wish to reboot?</action>
+ <action function="set">tw_text3=</action>
+ <action function="set">tw_text4=</action>
+ <action function="set">tw_action_text1=Rebooting...</action>
+ <action function="set">tw_action_text2=</action>
+ <action function="set">tw_complete_text1=Rebooting...</action>
+ <action function="set">tw_slider_text=Swipe to Reboot</action>
+ <action function="page">rebootcheck</action>
+ </actions>
+ </object>
+
<object type="action">
<touch key="home" />
<actions>
@@ -1539,6 +1554,7 @@
<actions>
<action function="set">tw_back=backup</action>
<action function="set">tw_complete_text1=Backup Complete</action>
+ <action function="set">tw_show_reboot=1</action>
<action function="page">action_complete</action>
</actions>
</object>
@@ -1869,25 +1885,11 @@
<object type="template" name="progress_bar" />
<object type="action">
- <conditions>
- <condition var1="tw_operation_state" var2="1" />
- <condition var1="tw_operation_status" var2="0" />
- </conditions>
- <actions>
- <action function="set">tw_back=restore_select</action>
- <action function="set">tw_complete_text1=Restore Complete</action>
- <action function="page">action_complete</action>
- </actions>
- </object>
-
- <object type="action">
- <conditions>
- <condition var1="tw_operation_state" var2="1" />
- <condition var1="tw_operation_status" var2="1" />
- </conditions>
+ <condition var1="tw_operation_state" var2="1" />
<actions>
<action function="set">tw_back=restore_select</action>
<action function="set">tw_complete_text1=Restore Complete</action>
+ <action function="set">tw_show_reboot=1</action>
<action function="page">action_complete</action>
</actions>
</object>
@@ -2550,6 +2552,7 @@
<action function="set">tw_action_text2=This will take a few minutes.</action>
<action function="set">tw_complete_text1=Fix Permissions Complete</action>
<action function="set">tw_slider_text=Swipe to Confirm</action>
+ <action function="set">tw_show_reboot=1</action>
<action function="page">confirm_action</action>
</actions>
</object>
@@ -2599,6 +2602,7 @@
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
<action function="set">tw_has_cancel=1</action>
+ <action function="set">tw_show_reboot=1</action>
<action function="set">tw_cancel_action=adbsideloadcancel</action>
<action function="page">action_page</action>
</actions>