summaryrefslogtreecommitdiffstats
path: root/gui/devices/1280x800
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2013-01-25 15:54:04 +0100
committerDees_Troy <dees_troy@teamw.in>2013-01-25 16:59:19 +0100
commit7ce7f0cde40bf127196cfac4bedce79ac5c59d77 (patch)
treea8c57436b198d104803625910d174f237c470400 /gui/devices/1280x800
parentUse GUI for ORS instead of console only (diff)
downloadandroid_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.gz
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.bz2
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.lz
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.xz
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.tar.zst
android_bootable_recovery-7ce7f0cde40bf127196cfac4bedce79ac5c59d77.zip
Diffstat (limited to 'gui/devices/1280x800')
-rw-r--r--gui/devices/1280x800/res/ui.xml72
1 files changed, 61 insertions, 11 deletions
diff --git a/gui/devices/1280x800/res/ui.xml b/gui/devices/1280x800/res/ui.xml
index 9c8430453..66d955a82 100644
--- a/gui/devices/1280x800/res/ui.xml
+++ b/gui/devices/1280x800/res/ui.xml
@@ -2608,17 +2608,7 @@
<font resource="font" color="%button_text_color%" />
<text>ADB Sideload</text>
<image resource="main_button" />
- <actions>
- <action function="set">tw_back=advanced</action>
- <action function="set">tw_action=adbsideload</action>
- <action function="set">tw_action_text1=ADB Sideload</action>
- <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_cancel_action=adbsideloadcancel</action>
- <action function="set">tw_show_reboot=1</action>
- <action function="page">action_page</action>
- </actions>
+ <action function="page">sideload</action>
</object>
<object type="button">
@@ -3621,5 +3611,65 @@
<action function="page">terminalfolder</action>
</object>
</page>
+
+ <page name="sideload">
+ <object type="template" name="header" />
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
+ <text>ADB Sideload</text>
+ </object>
+
+ <object type="checkbox">
+ <placement x="%col1_x%" y="%row3_text_y%" />
+ <font resource="font" color="%text_color%" />
+ <text>Wipe Dalvik Cache.</text>
+ <data variable="tw_wipe_dalvik" />
+ <image checked="checkbox_true" unchecked="checkbox_false" />
+ </object>
+
+ <object type="checkbox">
+ <placement x="%col1_x%" y="%row4_text_y%" />
+ <font resource="font" color="%text_color%" />
+ <text>Wipe Cache.</text>
+ <data variable="tw_wipe_cache" />
+ <image checked="checkbox_true" unchecked="checkbox_false" />
+ </object>
+
+ <object type="slider">
+ <placement x="%slider_x%" y="%slider_y%" />
+ <resource base="slider" used="slider-used" touch="slider-touch" />
+ <actions>
+ <action function="set">tw_back=advanced</action>
+ <action function="set">tw_action=adbsideload</action>
+ <action function="set">tw_action_text1=ADB Sideload</action>
+ <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>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%slider_text_y%" placement="4" />
+ <text>Swipe to Start Sideload</text>
+ </object>
+
+ <object type="action">
+ <touch key="home" />
+ <action function="page">main</action>
+ </object>
+
+ <object type="action">
+ <touch key="back" />
+ <action function="page">advanced</action>
+ </object>
+
+ <object type="template" name="footer" />
+ </page>
</pages>
</recovery>