summaryrefslogtreecommitdiffstats
path: root/gui/devices/480x854/res/ui.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/devices/480x854/res/ui.xml')
-rw-r--r--gui/devices/480x854/res/ui.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/gui/devices/480x854/res/ui.xml b/gui/devices/480x854/res/ui.xml
index ff0035723..7badfd3e7 100644
--- a/gui/devices/480x854/res/ui.xml
+++ b/gui/devices/480x854/res/ui.xml
@@ -39,6 +39,7 @@
<resource name="keyboard2" type="image" filename="keyboard2" />
<resource name="keyboard3" type="image" filename="keyboard3" />
<resource name="keyboard4" type="image" filename="keyboard4" />
+ <resource name="exclamation" type="image" filename="exclamation200" />
</resources>
<variables>
@@ -153,6 +154,8 @@
<variable name="row_dst_text_y" value="440" />
<variable name="row_offset_text_y" value="480" />
<variable name="row_offset_medium_y" value="505" />
+ <variable name="exclamation_x" value="140" />
+ <variable name="exclamation_y" value="300" />
</variables>
<templates>
@@ -792,6 +795,7 @@
<action function="set">tw_has_cancel=0</action>
<action function="set">tw_cancel_action=</action>
<action function="set">tw_cancel_param=</action>
+ <action function="set">tw_show_exclamation=0</action>
<action function="page">%tw_clear_destination%</action>
</object>
</page>
@@ -799,6 +803,14 @@
<page name="confirm_action">
<object type="template" name="header" />
+ <object type="button">
+ <condition var1="tw_show_exclamation" var2="1" />
+ <placement x="%exclamation_x%" y="%exclamation_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text></text>
+ <image resource="exclamation" />
+ </object>
+
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%center_x%" y="%row1_text_y%" placement="5" />
@@ -825,7 +837,7 @@
<object type="text" color="%text_color%">
<font resource="font" />
- <placement x="%center_x%" y="%row10_text_y%" placement="5" />
+ <placement x="%center_x%" y="%row15_text_y%" placement="5" />
<text>Press back button to cancel.</text>
</object>
@@ -1151,11 +1163,13 @@
<action function="set">tw_has_action2=1</action>
<action function="set">tw_action2=set</action>
<action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
- <action function="set">tw_text1=Format Data? (This wipes all media</action>
+ <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
<action function="set">tw_text2=including backups & removes encryption)</action>
+ <action function="set">tw_text3=Most of the time you do not need to do this.</action>
<action function="set">tw_action_text1=Formatting Data...</action>
<action function="set">tw_complete_text1=Data Format Complete</action>
<action function="set">tw_slider_text=Swipe to Format</action>
+ <action function="set">tw_show_exclamation=1</action>
<action function="page">confirm_action</action>
</actions>
</object>