diff options
author | Dees_Troy <dees_troy@teamw.in> | 2012-09-20 21:32:13 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2012-09-20 21:32:50 +0200 |
commit | c51f1f994ada7b46224f672481c0dacf3894c70b (patch) | |
tree | de20eb047205f9fec817cdd18ec47a82ae16add5 /gui | |
parent | Fix fstab and unmount problems (diff) | |
download | android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.gz android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.bz2 android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.lz android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.xz android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.tar.zst android_bootable_recovery-c51f1f994ada7b46224f672481c0dacf3894c70b.zip |
Diffstat (limited to 'gui')
-rw-r--r-- | gui/devices/540x960/res/ui.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml index 0d7fa3ecf..398764127 100644 --- a/gui/devices/540x960/res/ui.xml +++ b/gui/devices/540x960/res/ui.xml @@ -44,6 +44,7 @@ <variable name="col1_x" value="10" /> <variable name="col2_x" value="277" /> <variable name="col_center_x" value="143" /> + <variable name="col_center_medium_x" value="206" /> <variable name="center_x" value="270" /> <variable name="row1_y" value="140" /> <variable name="row2_y" value="332" /> @@ -785,6 +786,9 @@ <action function="set">tw_has_action2=0</action> <action function="set">tw_action2=</action> <action function="set">tw_action2_param=</action> + <action function="set">tw_has_cancel=0</action> + <action function="set">tw_cancel_action=</action> + <action function="set">tw_cancel_param=</action> <action function="page">%tw_clear_destination%</action> </object> </page> @@ -867,6 +871,15 @@ <object type="template" name="action_page_console" /> + <object type="button"> + <condition var1="tw_has_cancel" var2="1" /> + <placement x="%col_center_medium_x%" y="%row4_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Cancel</text> + <image resource="medium_button" /> + <action function="%tw_cancel_action%">%tw_cancel_param%</action> + </object> + <object type="template" name="progress_bar" /> <object type="action"> @@ -2531,6 +2544,31 @@ </object> <object type="button"> + <placement x="%col2_x%" y="%row3_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Reload Theme</text> + <image resource="main_button" /> + <action function="reload"></action> + </object> + + <object type="button"> + <placement x="%col1_x%" y="%row4_y%" /> + <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="page">action_page</action> + </actions> + </object> + + <object type="button"> <condition var1="tw_show_dumlock" var2="1" /> <placement x="%col2_x%" y="%row4_y%" /> <font resource="font" color="%button_text_color%" /> |