Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <recovery> |
| 4 | <details> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 5 | <resolution width="2560" height="1600" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 6 | <author>TeamWin</author> |
| 7 | <title>Backup Naowz</title> |
| 8 | <description>Default basic theme</description> |
| 9 | <preview>preview.jpg</preview> |
| 10 | </details> |
| 11 | |
| 12 | <resources> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 13 | <resource name="font" type="font" filename="Roboto-Regular-40" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 14 | <resource name="base" type="image" filename="background.jpg" /> |
| 15 | <resource name="side" type="image" filename="backgroundside.jpg" /> |
| 16 | <resource name="bottom" type="image" filename="backgroundbottom.jpg" /> |
| 17 | <resource name="large_black" type="image" filename="large_black" /> |
| 18 | <resource name="main_button" type="image" filename="button" /> |
| 19 | <resource name="file_icon" type="image" filename="file" /> |
| 20 | <resource name="folder_icon" type="image" filename="folder" /> |
| 21 | <resource name="progress" type="animation" filename="indeterminate" /> |
| 22 | <resource name="progress_empty" type="image" filename="progress_empty" /> |
| 23 | <resource name="progress_full" type="image" filename="progress_fill" /> |
| 24 | <resource name="checkbox_false" type="image" filename="checkbox_empty" /> |
| 25 | <resource name="checkbox_true" type="image" filename="checkbox_checked" /> |
| 26 | <resource name="radio_false" type="image" filename="radio_empty" /> |
| 27 | <resource name="radio_true" type="image" filename="radio_selected" /> |
| 28 | <resource name="medium_button" type="image" filename="medium-button" /> |
| 29 | <resource name="mediumwide_button" type="image" filename="mediumwide-button" /> |
| 30 | <resource name="sort_button" type="image" filename="sort-button" /> |
| 31 | <resource name="minus_button" type="image" filename="minus-button" /> |
| 32 | <resource name="plus_button" type="image" filename="plus-button" /> |
| 33 | <resource name="home_icon" type="image" filename="home-icon" /> |
| 34 | <resource name="back_icon" type="image" filename="back-icon" /> |
| 35 | <resource name="console_button" type="image" filename="console-toggle" /> |
| 36 | <resource name="slider" type="image" filename="slider" /> |
| 37 | <resource name="slider-used" type="image" filename="slider-used" /> |
| 38 | <resource name="slider-touch" type="image" filename="slider-touch" /> |
| 39 | <resource name="unlock-icon" type="image" filename="unlock" /> |
| 40 | <resource name="keyboard1" type="image" filename="keyboard1" /> |
| 41 | <resource name="keyboard2" type="image" filename="keyboard2" /> |
| 42 | <resource name="keyboard3" type="image" filename="keyboard3" /> |
| 43 | <resource name="keyboard4" type="image" filename="keyboard4" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 44 | </resources> |
| 45 | |
| 46 | <variables> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 47 | <variable name="col1_x" value="260" /> |
| 48 | <variable name="col2_x" value="770" /> |
| 49 | <variable name="col3_x" value="1310" /> |
| 50 | <variable name="col4_x" value="1820" /> |
| 51 | <variable name="row1_y" value="300" /> |
| 52 | <variable name="row2_y" value="1000" /> |
| 53 | <variable name="col_center_x" value="1040" /> |
| 54 | <variable name="center_x" value="1280" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 55 | <variable name="screen_width" value="1920" /> |
| 56 | <variable name="screen_height" value="1200" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 57 | <variable name="col_progressbar_x" value="1028" /> |
| 58 | <variable name="row_progressbar_y" value="1500" /> |
| 59 | <variable name="col1_medium_x" value="755" /> |
| 60 | <variable name="col2_medium_x" value="1025" /> |
| 61 | <variable name="col3_medium_x" value="1310" /> |
| 62 | <variable name="col4_medium_x" value="1580" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 63 | <variable name="row1_medium_y" value="105" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 64 | <variable name="row2_medium_y" value="500" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 65 | <variable name="row3_medium_y" value="245" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 66 | <variable name="row4_medium_y" value="1000" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 67 | <variable name="row5_medium_y" value="950" /> |
| 68 | <variable name="row1_text_y" value="120" /> |
| 69 | <variable name="row2_text_y" value="195" /> |
| 70 | <variable name="row3_text_y" value="270" /> |
| 71 | <variable name="row4_text_y" value="345" /> |
| 72 | <variable name="row5_text_y" value="420" /> |
| 73 | <variable name="row6_text_y" value="495" /> |
| 74 | <variable name="row7_text_y" value="570" /> |
| 75 | <variable name="row8_text_y" value="645" /> |
| 76 | <variable name="row9_text_y" value="720" /> |
| 77 | <variable name="row10_text_y" value="795" /> |
| 78 | <variable name="row11_text_y" value="870" /> |
| 79 | <variable name="row12_text_y" value="945" /> |
| 80 | <variable name="row13_text_y" value="1020" /> |
| 81 | <variable name="row14_text_y" value="1095" /> |
| 82 | <variable name="row15_text_y" value="1170" /> |
| 83 | <variable name="row16_text_y" value="1240" /> |
| 84 | <variable name="row17_text_y" value="1310" /> |
| 85 | <variable name="row18_text_y" value="1395" /> |
| 86 | <variable name="row_offsetmedium_y" value="1100" /> |
| 87 | <variable name="home_button_x" value="2200" /> |
| 88 | <variable name="home_button_y" value="15" /> |
| 89 | <variable name="back_button_x" value="2320" /> |
| 90 | <variable name="back_button_y" value="15" /> |
| 91 | <variable name="console_button_x" value="2440" /> |
| 92 | <variable name="console_button_y" value="15" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 93 | <variable name="nandcheck_col1" value="328" /> |
| 94 | <variable name="nandcheck_col2" value="800" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 95 | <variable name="nandcheck_row1" value="260" /> |
| 96 | <variable name="nandcheck_row2" value="360" /> |
| 97 | <variable name="nandcheck_row3" value="460" /> |
| 98 | <variable name="nandcheck_row4" value="560" /> |
| 99 | <variable name="nandcheck_row5" value="660" /> |
| 100 | <variable name="nandcheck_row6" value="760" /> |
| 101 | <variable name="nandcheck_row7" value="860" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 102 | <variable name="button_text_color" value="#AAAAAA" /> |
| 103 | <variable name="text_color" value="#A0A0A0" /> |
| 104 | <variable name="text_success_color" value="#33B5E5" /> |
| 105 | <variable name="text_fail_color" value="#FF0101" /> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 106 | <variable name="highlight_color" value="#90909080" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 107 | <variable name="slider_x" value="841" /> |
| 108 | <variable name="slider_y" value="1335" /> |
| 109 | <variable name="slider_text_y" value="1435" /> |
| 110 | <variable name="sort_text_x" value="800" /> |
| 111 | <variable name="sort_asc_text_y" value="1410" /> |
| 112 | <variable name="sort_asc_button_y" value="1400" /> |
| 113 | <variable name="sort_desc_text_y" value="1490" /> |
| 114 | <variable name="sort_desc_button_y" value="1480" /> |
| 115 | <variable name="sort_col1_button_x" value="1200" /> |
| 116 | <variable name="sort_col2_button_x" value="1350" /> |
| 117 | <variable name="sort_col3_button_x" value="1500" /> |
| 118 | <variable name="col1_sdext_x" value="960" /> |
| 119 | <variable name="col2_sdext_x" value="1600" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 120 | <variable name="row1_sdext_y" value="180" /> |
| 121 | <variable name="row2_sdext_y" value="265" /> |
| 122 | <variable name="row_extsize_y" value="175" /> |
| 123 | <variable name="row_swapsize_y" value="260" /> |
| 124 | <variable name="input_x" value="50" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 125 | <variable name="input_width" value="2460" /> |
| 126 | <variable name="input_height" value="65" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 127 | <variable name="input_background_color" value="#303030" /> |
| 128 | <variable name="input_cursor_color" value="#33B5E5" /> |
| 129 | <variable name="input_cursor_width" value="3" /> |
| 130 | <variable name="console_x" value="50" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 131 | <variable name="console_width" value="2460" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 132 | <variable name="console_foreground" value="#A0A0A0" /> |
| 133 | <variable name="console_background" value="#303030" /> |
| 134 | <variable name="console_scroll" value="#303030" /> |
| 135 | <variable name="console_action_height" value="320" /> |
| 136 | <variable name="console_install_height" value="440" /> |
| 137 | <variable name="console_installdone_height" value="300" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 138 | <variable name="fileselector_folder_x" value="70" /> |
| 139 | <variable name="fileselector_folder_width" value="910" /> |
| 140 | <variable name="fileselector_folderonly_width" value="1200" /> |
| 141 | <variable name="fileselector_file_x" value="1000" /> |
| 142 | <variable name="fileselector_file_width" value="1500" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 143 | <variable name="fileselector_install_y" value="290" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 144 | <variable name="fileselector_install_height" value="1100" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 145 | <variable name="fileselector_header_background" value="#202020" /> |
| 146 | <variable name="fileselector_header_textcolor" value="#AAAAAA" /> |
| 147 | <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> |
| 148 | <variable name="fileselector_header_separatorheight" value="3" /> |
| 149 | <variable name="fileselector_separatorcolor" value="#505050" /> |
| 150 | <variable name="fileselector_separatorheight" value="2" /> |
| 151 | <variable name="fileselector_background" value="#303030" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 152 | <variable name="fileselector_highlight_color" value="#505050" /> |
| 153 | <variable name="fileselector_highlight_font_color" value="#33B5E5" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 154 | <variable name="fileselector_spacing" value="18" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 155 | <variable name="fastscroll_linecolor" value="#808080" /> |
| 156 | <variable name="fastscroll_rectcolor" value="#808080" /> |
| 157 | <variable name="fastscroll_w" value="80" /> |
| 158 | <variable name="fastscroll_linew" value="4" /> |
| 159 | <variable name="fastscroll_rectw" value="60" /> |
| 160 | <variable name="fastscroll_recth" value="100" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 161 | <variable name="zipstorage_text_y" value="190" /> |
| 162 | <variable name="listbox_x" value="680" /> |
| 163 | <variable name="listbox_y" value="195" /> |
| 164 | <variable name="listbox_width" value="1200" /> |
| 165 | <variable name="listbox_tz_height" value="650" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 166 | <variable name="listbox_background" value="#303030" /> |
| 167 | <variable name="listbox_spacing" value="18" /> |
| 168 | <variable name="sd_plus_x" value="408" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 169 | <variable name="lock_x" value="880" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 170 | <variable name="lock_y" value="300" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 171 | <variable name="filemanager_select_x" value="2000" /> |
| 172 | <variable name="filemanager_select_y" value="1360" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 173 | <variable name="backup_name_text_y" value="440" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 174 | <variable name="backup_name_button_y" value="950" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 175 | <variable name="col_right_x" value="1870" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 176 | <variable name="cancel_button_y" value="430" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 177 | <variable name="terminal_console_y" value="0" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 178 | <variable name="terminal_console_height" value="810" /> |
| 179 | <variable name="terminal_text_y" value="837" /> |
| 180 | <variable name="terminal_button_y" value="815" /> |
| 181 | <variable name="terminal_input_width" value="2100" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 182 | <variable name="button_fill_color" value="#303030" /> |
| 183 | <variable name="button_fill_full_width" value="1280" /> |
| 184 | <variable name="button_fill_main_width" value="1200" /> |
| 185 | <variable name="button_fill_main_height" value="320" /> |
| 186 | <variable name="button_fill_half_height" value="160" /> |
| 187 | <variable name="button_fill_quarter_height" value="80" /> |
| 188 | <variable name="button_full_center_x" value="640" /> |
| 189 | <variable name="backup_list_x" value="50" /> |
| 190 | <variable name="backup_list_y" value="210" /> |
| 191 | <variable name="backup_list_width" value="1200" /> |
| 192 | <variable name="backup_list_height" value="880" /> |
| 193 | <variable name="backup_storage_y" value="540" /> |
| 194 | <variable name="restore_list_y" value="280" /> |
| 195 | <variable name="restore_list_height" value="800" /> |
| 196 | <variable name="mount_list_height" value="1200" /> |
| 197 | <variable name="mount_storage_row" value="1100" /> |
| 198 | <variable name="wipe_list_height" value="1100" /> |
| 199 | <variable name="wipe_button_y" value="500" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 200 | </variables> |
| 201 | |
| 202 | <templates> |
| 203 | <template name="header"> |
| 204 | <background color="#000000FF" /> |
| 205 | |
| 206 | <object type="image"> |
| 207 | <image resource="side" /> |
| 208 | <placement x="0" y="0" /> |
| 209 | </object> |
| 210 | |
| 211 | <object type="image"> |
| 212 | <image resource="side" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 213 | <placement x="2500" y="0" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 214 | </object> |
| 215 | |
| 216 | <object type="image"> |
| 217 | <image resource="base" /> |
| 218 | <placement x="0" y="0" /> |
| 219 | </object> |
| 220 | |
| 221 | <object type="image"> |
| 222 | <image resource="bottom" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 223 | <placement x="1" y="1540" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 224 | </object> |
| 225 | |
| 226 | <object type="image"> |
| 227 | <image resource="large_black" /> |
| 228 | <placement x="0" y="0" /> |
| 229 | </object> |
| 230 | |
| 231 | <object type="text" color="%text_color%"> |
| 232 | <font resource="font" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 233 | <placement x="400" y="8" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 234 | <text>Team Win Recovery Project (twrp) v%tw_version%</text> |
| 235 | </object> |
| 236 | |
| 237 | <object type="text" color="%text_color%"> |
| 238 | <font resource="font" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 239 | <placement x="400" y="55" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 240 | <conditions> |
| 241 | <condition var1="tw_no_battery_percent" var2="0" /> |
| 242 | <condition var1="tw_battery" op=">" var2="0" /> |
| 243 | <condition var1="tw_battery" op="<" var2="101" /> |
| 244 | </conditions> |
| 245 | <text>Battery Level: %tw_battery%</text> |
| 246 | </object> |
| 247 | |
| 248 | <object type="text" color="%text_color%"> |
| 249 | <font resource="font" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 250 | <placement x="900" y="55" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 251 | <text>%tw_time%</text> |
| 252 | </object> |
| 253 | |
| 254 | <object type="text" color="%text_color%"> |
| 255 | <condition var1="tw_simulate_actions" var2="1" /> |
| 256 | <font resource="font" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 257 | <placement x="1100" y="55" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 258 | <text>SIMULATING ACTIONS</text> |
| 259 | </object> |
| 260 | |
| 261 | <object type="button"> |
| 262 | <placement x="%home_button_x%" y="%home_button_y%" /> |
| 263 | <font resource="font" color="%button_text_color%" /> |
| 264 | <text></text> |
| 265 | <image resource="home_icon" /> |
| 266 | <condition var1="tw_busy" var2="0" /> |
| 267 | <action function="key">home</action> |
| 268 | </object> |
| 269 | |
| 270 | <object type="button"> |
| 271 | <placement x="%back_button_x%" y="%back_button_y%" /> |
| 272 | <font resource="font" color="%button_text_color%" /> |
| 273 | <text></text> |
| 274 | <image resource="back_icon" /> |
| 275 | <condition var1="tw_busy" var2="0" /> |
| 276 | <action function="key">back</action> |
| 277 | </object> |
| 278 | |
| 279 | <object type="action"> |
| 280 | <touch key="power" /> |
| 281 | <action function="overlay">lock</action> |
| 282 | </object> |
| 283 | </template> |
| 284 | |
| 285 | <template name="progress_bar"> |
| 286 | <object type="progressbar"> |
| 287 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 288 | <resource empty="progress_empty" full="progress_full" /> |
| 289 | <data name="ui_progress" /> |
| 290 | </object> |
| 291 | |
| 292 | <object type="animation"> |
| 293 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 294 | <resource name="progress" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 295 | <speed fps="15" render="2" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 296 | <loop frame="1" /> |
| 297 | </object> |
| 298 | </template> |
| 299 | |
| 300 | <template name="sort_options"> |
| 301 | <object type="text" color="%text_color%"> |
| 302 | <font resource="font" /> |
| 303 | <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> |
| 304 | <text>Sort Ascending:</text> |
| 305 | </object> |
| 306 | |
| 307 | <object type="button"> |
| 308 | <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> |
| 309 | <font resource="font" color="%button_text_color%" /> |
| 310 | <text>Name</text> |
| 311 | <image resource="sort_button" /> |
| 312 | <action function="set">tw_gui_sort_order=1</action> |
| 313 | </object> |
| 314 | |
| 315 | <object type="button"> |
| 316 | <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> |
| 317 | <font resource="font" color="%button_text_color%" /> |
| 318 | <text>Date</text> |
| 319 | <image resource="sort_button" /> |
| 320 | <action function="set">tw_gui_sort_order=2</action> |
| 321 | </object> |
| 322 | |
| 323 | <object type="button"> |
| 324 | <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> |
| 325 | <font resource="font" color="%button_text_color%" /> |
| 326 | <text>Size</text> |
| 327 | <image resource="sort_button" /> |
| 328 | <action function="set">tw_gui_sort_order=3</action> |
| 329 | </object> |
| 330 | |
| 331 | <object type="text" color="%text_color%"> |
| 332 | <font resource="font" /> |
| 333 | <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> |
| 334 | <text>Sort Descending:</text> |
| 335 | </object> |
| 336 | |
| 337 | <object type="button"> |
| 338 | <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> |
| 339 | <font resource="font" color="%button_text_color%" /> |
| 340 | <text>Name</text> |
| 341 | <image resource="sort_button" /> |
| 342 | <action function="set">tw_gui_sort_order=-1</action> |
| 343 | </object> |
| 344 | |
| 345 | <object type="button"> |
| 346 | <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> |
| 347 | <font resource="font" color="%button_text_color%" /> |
| 348 | <text>Date</text> |
| 349 | <image resource="sort_button" /> |
| 350 | <action function="set">tw_gui_sort_order=-2</action> |
| 351 | </object> |
| 352 | |
| 353 | <object type="button"> |
| 354 | <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> |
| 355 | <font resource="font" color="%button_text_color%" /> |
| 356 | <text>Size</text> |
| 357 | <image resource="sort_button" /> |
| 358 | <action function="set">tw_gui_sort_order=-3</action> |
| 359 | </object> |
| 360 | </template> |
| 361 | |
| 362 | <template name="flash_zip_console"> |
| 363 | <object type="console"> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 364 | <placement x="%console_x%" y="195" w="%console_width%" h="950" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 365 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 366 | <font resource="fixed" /> |
| 367 | </object> |
| 368 | </template> |
| 369 | |
| 370 | <template name="action_page_console"> |
| 371 | <object type="console"> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 372 | <placement x="%console_x%" y="400" w="%console_width%" h="800" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 373 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 374 | <font resource="fixed" /> |
| 375 | </object> |
| 376 | </template> |
| 377 | |
| 378 | <template name="footer"> |
| 379 | <object type="console"> |
| 380 | <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 381 | <placement x="%console_x%" y="195" w="%console_width%" h="1335" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 382 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 383 | <font resource="fixed" /> |
| 384 | </object> |
| 385 | </template> |
| 386 | |
| 387 | <template name="keyboardtemplate"> |
| 388 | <object type="keyboard"> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 389 | <placement x="0" y="912" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 390 | <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 391 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 392 | <layout1> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 393 | <keysize height="172" width="212" /> |
| 394 | <row1 key01="204:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="236:c:8" /> |
| 395 | <row2 key01="286:layout3" key02="208:a" key03="208:s" key04="208:d" key05="208:f" key06="208:g" key07="208:h" key08="208:j" key09="208:k" key10="208:l" key11="402:action" /> |
| 396 | <row3 key01="354:layout2" key02="206:z" key03="206:x" key04="206:c" key05="206:v" key06="206:b" key07="206:n" key08="206:m" key09="206:," long09="!" key10="206:." long10="?" key11="352:layout2" /> |
| 397 | <row4 key01="560:" key02="206:/" long02="@" key03="1030: " key04="206:'" long04="206:c:34" key05="212:-" long05="212:_" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 398 | </layout1> |
| 399 | <layout2> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 400 | <keysize height="172" width="212" /> |
| 401 | <row1 key01="204:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="236:c:8" /> |
| 402 | <row2 key01="286:layout3" key02="208:A" key03="208:S" key04="208:D" key05="208:F" key06="208:G" key07="208:H" key08="208:J" key09="208:K" key10="208:L" key11="402:action" /> |
| 403 | <row3 key01="354:layout1" key02="206:Z" key03="206:X" key04="206:C" key05="206:V" key06="206:B" key07="206:N" key08="206:M" key09="206:," long09="!" key10="206:." long10="?" key11="352:layout1" /> |
| 404 | <row4 key01="560:" key02="206:/" long02="@" key03="1030: " key04="206:'" long04="206:c:34" key05="-" long05="_" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 405 | </layout2> |
| 406 | <layout3> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 407 | <keysize height="172" width="212" /> |
| 408 | <row1 key01="204:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="236:c:8" /> |
| 409 | <row2 key01="286:layout1" key02="208:#" key03="208:$" key04="208:%" key05="208:&" key06="208:*" key07="208:-" key08="208:+" key09="208:(" key10="208:)" key11="402:action" /> |
| 410 | <row3 key01="354:layout4" key02="206:<" key03="206:>" key04="206:=" key05="206:'" key06="206:;" key07="206:," key08="206:." key09="206:!" key10="206:?" key11="352:layout4" /> |
| 411 | <row4 key01="354:" key02="206:/" key03="206:@" key04="1030: " key05="206:c:34" key06="206:_" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 412 | </layout3> |
| 413 | <layout4> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 414 | <keysize height="172" width="212" /> |
| 415 | <row1 key01="204:" key02="~" key03="`" key04="|" key05="212:" key06="212:" key07="212:" key08="212:" key09="212:" key10="212:" key11="212:" key12="236:c:8" /> |
| 416 | <row2 key01="286:layout1" key02="208:" key03="208:" key04="208:" key05="208:" key06="208:^" key07="208:" key08="208:" key09="208:{" key10="208:}" key11="402:action" /> |
| 417 | <row3 key01="354:layout3" key02="206:\" key03="206:" key04="206:" key05="206:" key06="206:" key07="206:[" key08="206:]" key09="206:!" key10="206:?" key11="352:layout3" /> |
| 418 | <row4 key01="766:" key02="1030: " /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 419 | </layout4> |
| 420 | </object> |
| 421 | </template> |
| 422 | </templates> |
| 423 | |
| 424 | <pages> |
| 425 | <page name="main"> |
| 426 | <object type="action"> |
| 427 | <actions> |
| 428 | <action function="set">tw_clear_destination=main2</action> |
| 429 | <action function="page">clear_vars</action> |
| 430 | </actions> |
| 431 | </object> |
| 432 | </page> |
| 433 | |
| 434 | <page name="main2"> |
| 435 | <object type="template" name="header" /> |
| 436 | |
| 437 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 438 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 439 | <placement x="%col1_x%" y="%row1_y%" /> |
| 440 | <font resource="font" color="%button_text_color%" /> |
| 441 | <text>Install</text> |
| 442 | <image resource="main_button" /> |
| 443 | <actions> |
| 444 | <action function="queueclear"></action> |
| 445 | <action function="page">install</action> |
| 446 | </actions> |
| 447 | </object> |
| 448 | |
| 449 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 450 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 451 | <placement x="%col2_x%" y="%row1_y%" /> |
| 452 | <font resource="font" color="%button_text_color%" /> |
| 453 | <text>Backup</text> |
| 454 | <image resource="main_button" /> |
| 455 | <action function="page">backup</action> |
| 456 | </object> |
| 457 | |
| 458 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 459 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 460 | <placement x="%col3_x%" y="%row1_y%" /> |
| 461 | <font resource="font" color="%button_text_color%" /> |
| 462 | <text>Restore</text> |
| 463 | <image resource="main_button" /> |
| 464 | <action function="page">restore</action> |
| 465 | </object> |
| 466 | |
| 467 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 468 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 469 | <placement x="%col4_x%" y="%row1_y%" /> |
| 470 | <font resource="font" color="%button_text_color%" /> |
| 471 | <text>Wipe</text> |
| 472 | <image resource="main_button" /> |
| 473 | <action function="page">wipe</action> |
| 474 | </object> |
| 475 | |
| 476 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 477 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 478 | <placement x="%col1_x%" y="%row2_y%" /> |
| 479 | <font resource="font" color="%button_text_color%" /> |
| 480 | <text>Mount</text> |
| 481 | <image resource="main_button" /> |
| 482 | <action function="page">mount</action> |
| 483 | </object> |
| 484 | |
| 485 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 486 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 487 | <placement x="%col2_x%" y="%row2_y%" /> |
| 488 | <font resource="font" color="%button_text_color%" /> |
| 489 | <text>Settings</text> |
| 490 | <image resource="main_button" /> |
| 491 | <action function="page">settings</action> |
| 492 | </object> |
| 493 | |
| 494 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 495 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 496 | <placement x="%col3_x%" y="%row2_y%" /> |
| 497 | <font resource="font" color="%button_text_color%" /> |
| 498 | <text>Advanced</text> |
| 499 | <image resource="main_button" /> |
| 500 | <action function="page">advanced</action> |
| 501 | </object> |
| 502 | |
| 503 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 504 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 505 | <placement x="%col4_x%" y="%row2_y%" /> |
| 506 | <font resource="font" color="%button_text_color%" /> |
| 507 | <text>Reboot</text> |
| 508 | <image resource="main_button" /> |
| 509 | <action function="page">reboot</action> |
| 510 | </object> |
| 511 | |
| 512 | <object type="template" name="footer" /> |
| 513 | </page> |
| 514 | |
| 515 | <page name="install"> |
| 516 | <object type="template" name="header" /> |
| 517 | |
| 518 | <object type="text" color="%text_color%"> |
| 519 | <font resource="font" /> |
| 520 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 521 | <text>Select Zip to Install</text> |
| 522 | </object> |
| 523 | |
| 524 | <object type="button"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 525 | <highlight color="%highlight_color%" /> |
| 526 | <fill color="%button_fill_color%" /> |
| 527 | <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
| 528 | <font resource="font" color="%button_text_color%" /> |
| 529 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 530 | <actions> |
| 531 | <action function="set">tw_back=install</action> |
| 532 | <action function="page">selectstorage</action> |
| 533 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 534 | </object> |
| 535 | |
| 536 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 537 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 538 | <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> |
| 539 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 540 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 541 | <text>Folders:</text> |
| 542 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 543 | <sort name="tw_gui_sort_order" /> |
| 544 | <icon folder="folder_icon" file="file_icon" /> |
| 545 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 546 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 547 | <filter folders="1" files="0" /> |
| 548 | <path name="tw_zip_location" default="/sdcard" /> |
| 549 | <data name="select" /> |
| 550 | </object> |
| 551 | |
| 552 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 553 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 554 | <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> |
| 555 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 556 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 557 | <text>%tw_zip_location%</text> |
| 558 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 559 | <sort name="tw_gui_sort_order" /> |
| 560 | <icon folder="folder_icon" file="file_icon" /> |
| 561 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 562 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 563 | <filter extn=".zip" folders="0" files="1" /> |
| 564 | <path name="tw_zip_location" /> |
| 565 | <data name="tw_filename" /> |
| 566 | <selection name="tw_file" /> |
| 567 | </object> |
| 568 | |
| 569 | <object type="template" name="sort_options" /> |
| 570 | |
| 571 | <object type="action"> |
| 572 | <condition var1="tw_filename" op="modified" /> |
| 573 | <actions> |
| 574 | <action function="queuezip"></action> |
| 575 | <action function="page">flash_confirm</action> |
| 576 | </actions> |
| 577 | </object> |
| 578 | |
| 579 | <object type="action"> |
| 580 | <touch key="back" /> |
| 581 | <action function="page">main</action> |
| 582 | </object> |
| 583 | |
| 584 | <object type="action"> |
| 585 | <touch key="home" /> |
| 586 | <action function="page">main</action> |
| 587 | </object> |
| 588 | |
| 589 | <object type="template" name="footer" /> |
| 590 | </page> |
| 591 | |
| 592 | <page name="flash_confirm"> |
| 593 | <object type="template" name="header" /> |
| 594 | |
| 595 | <object type="text" color="%text_color%"> |
| 596 | <font resource="font" /> |
| 597 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 598 | <text>WARNING: This operation may install incompatible software and render your device unusable.</text> |
| 599 | </object> |
| 600 | |
| 601 | <object type="text" color="%text_color%"> |
| 602 | <font resource="font" /> |
| 603 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 604 | <text>Folder:</text> |
| 605 | </object> |
| 606 | |
| 607 | <object type="text" color="%text_color%"> |
| 608 | <font resource="font" /> |
| 609 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 610 | <text>%tw_zip_location%</text> |
| 611 | </object> |
| 612 | |
| 613 | <object type="text" color="%text_color%"> |
| 614 | <font resource="font" /> |
| 615 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 616 | <text>File to flash:</text> |
| 617 | </object> |
| 618 | |
| 619 | <object type="text" color="%text_color%"> |
| 620 | <font resource="font" /> |
| 621 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 622 | <text>%tw_file%</text> |
| 623 | </object> |
| 624 | |
| 625 | <object type="text" color="%text_color%"> |
| 626 | <font resource="font" /> |
| 627 | <placement x="%center_x%" y="%row6_text_y%" placement="5" /> |
| 628 | <text>Press back to cancel adding this zip.</text> |
| 629 | </object> |
| 630 | |
| 631 | <object type="checkbox"> |
| 632 | <placement x="%col2_x%" y="%row7_text_y%" /> |
| 633 | <font resource="font" color="%text_color%" /> |
| 634 | <text>Zip file signature verification?</text> |
| 635 | <data variable="tw_signed_zip_verify" /> |
| 636 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 637 | </object> |
| 638 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 639 | <object type="text" color="%text_color%"> |
| 640 | <font resource="font" /> |
| 641 | <placement x="%center_x%" y="%row10_text_y%" placement="5" /> |
| 642 | <text>File %tw_zip_queue_count% of max of 10</text> |
| 643 | </object> |
| 644 | |
| 645 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 646 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 647 | <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> |
| 648 | <placement x="%col2_x%" y="%row5_medium_y%" /> |
| 649 | <font resource="font" color="%button_text_color%" /> |
| 650 | <text>Add More Zips</text> |
| 651 | <image resource="mediumwide_button" /> |
| 652 | <action function="page">install</action> |
| 653 | </object> |
| 654 | |
| 655 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 656 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 657 | <placement x="%col3_x%" y="%row5_medium_y%" /> |
| 658 | <font resource="font" color="%button_text_color%" /> |
| 659 | <text>Clear Queue</text> |
| 660 | <image resource="mediumwide_button" /> |
| 661 | <actions> |
| 662 | <action function="queueclear"></action> |
| 663 | <action function="page">install</action> |
| 664 | </actions> |
| 665 | </object> |
| 666 | |
| 667 | <object type="slider"> |
| 668 | <placement x="%slider_x%" y="%slider_y%" /> |
| 669 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 670 | <action function="flash">flash_zip</action> |
| 671 | </object> |
| 672 | |
| 673 | <object type="text" color="%text_color%"> |
| 674 | <font resource="font" /> |
| 675 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 676 | <text>Swipe to Confirm Flash</text> |
| 677 | </object> |
| 678 | |
| 679 | <object type="action"> |
| 680 | <touch key="back" /> |
| 681 | <actions> |
| 682 | <action function="cancelzip"></action> |
| 683 | <action function="page">install</action> |
| 684 | </actions> |
| 685 | </object> |
| 686 | |
| 687 | <object type="action"> |
| 688 | <touch key="home" /> |
| 689 | <action function="page">main</action> |
| 690 | </object> |
| 691 | |
| 692 | <object type="template" name="footer" /> |
| 693 | </page> |
| 694 | |
| 695 | <page name="flash_zip"> |
| 696 | <object type="template" name="header" /> |
| 697 | |
| 698 | <object type="template" name="flash_zip_console" /> |
| 699 | |
| 700 | <object type="text" color="%text_color%"> |
| 701 | <font resource="font" /> |
| 702 | <placement x="%col1_x%" y="%row16_text_y%" /> |
| 703 | <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> |
| 704 | </object> |
| 705 | |
| 706 | <object type="text" color="%text_color%"> |
| 707 | <font resource="font" /> |
| 708 | <placement x="%col1_x%" y="%row17_text_y%" /> |
| 709 | <text>%tw_filename%</text> |
| 710 | </object> |
| 711 | |
| 712 | <object type="template" name="progress_bar" /> |
| 713 | |
| 714 | <object type="action"> |
| 715 | <condition var1="tw_operation_state" var2="1" /> |
| 716 | <action function="page">flash_done</action> |
| 717 | </object> |
| 718 | </page> |
| 719 | |
| 720 | <page name="flash_done"> |
| 721 | <object type="template" name="header" /> |
| 722 | |
| 723 | <object type="template" name="flash_zip_console" /> |
| 724 | |
| 725 | <object type="text" color="%text_fail_color%"> |
| 726 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 727 | <font resource="font" /> |
| 728 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 729 | <text>Failed</text> |
| 730 | </object> |
| 731 | |
| 732 | <object type="text" color="%text_success_color%"> |
| 733 | <condition var1="tw_operation_status" var2="0" /> |
| 734 | <font resource="font" /> |
| 735 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 736 | <text>Successful</text> |
| 737 | </object> |
| 738 | |
| 739 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 740 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 741 | <placement x="%col1_x%" y="%slider_y%" /> |
| 742 | <font resource="font" color="%button_text_color%" /> |
| 743 | <text>Wipe Cache/Dalvik</text> |
| 744 | <image resource="main_button" /> |
| 745 | <actions> |
| 746 | <action function="set">tw_back=flash_done</action> |
| 747 | <action function="set">tw_action=wipe</action> |
| 748 | <action function="set">tw_action_param=/cache</action> |
| 749 | <action function="set">tw_has_action2=1</action> |
| 750 | <action function="set">tw_action2=wipe</action> |
| 751 | <action function="set">tw_action2_param=dalvik</action> |
| 752 | <action function="set">tw_text1=Wipe Cache & Dalvik?</action> |
| 753 | <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> |
| 754 | <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> |
| 755 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 756 | <action function="page">confirm_action</action> |
| 757 | </actions> |
| 758 | </object> |
| 759 | |
| 760 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 761 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 762 | <condition var1="tw_reboot_system" var2="1" /> |
| 763 | <placement x="%col4_x%" y="%slider_y%" /> |
| 764 | <font resource="font" color="%button_text_color%" /> |
| 765 | <text>Reboot System</text> |
| 766 | <image resource="main_button" /> |
| 767 | <actions> |
| 768 | <action function="set">tw_back=main2</action> |
| 769 | <action function="set">tw_action=reboot</action> |
| 770 | <action function="set">tw_action_param=system</action> |
| 771 | <action function="set">tw_has_action2=0</action> |
| 772 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 773 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 774 | <action function="set">tw_text3=</action> |
| 775 | <action function="set">tw_text4=</action> |
| 776 | <action function="set">tw_action_text1=Rebooting...</action> |
| 777 | <action function="set">tw_action_text2=</action> |
| 778 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 779 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 780 | <action function="page">rebootcheck</action> |
| 781 | </actions> |
| 782 | </object> |
| 783 | |
| 784 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 785 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 786 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 787 | <font resource="font" color="%button_text_color%" /> |
| 788 | <text>Home</text> |
| 789 | <image resource="main_button" /> |
| 790 | <actions> |
| 791 | <action function="set">tw_clear_destination=main2</action> |
| 792 | <action function="page">clear_vars</action> |
| 793 | </actions> |
| 794 | </object> |
| 795 | |
| 796 | <object type="action"> |
| 797 | <touch key="back" /> |
| 798 | <actions> |
| 799 | <action function="set">tw_clear_destination=install</action> |
| 800 | <action function="page">clear_vars</action> |
| 801 | </actions> |
| 802 | </object> |
| 803 | |
| 804 | <object type="action"> |
| 805 | <touch key="home" /> |
| 806 | <actions> |
| 807 | <action function="set">tw_clear_destination=main2</action> |
| 808 | <action function="page">clear_vars</action> |
| 809 | </actions> |
| 810 | </object> |
| 811 | </page> |
| 812 | |
| 813 | <page name="clear_vars"> |
| 814 | <object type="action"> |
| 815 | <action function="set">tw_operation_state=0</action> |
| 816 | <action function="set">tw_text1=</action> |
| 817 | <action function="set">tw_text2=</action> |
| 818 | <action function="set">tw_text3=</action> |
| 819 | <action function="set">tw_text4=</action> |
| 820 | <action function="set">tw_action_text1=</action> |
| 821 | <action function="set">tw_action_text2=</action> |
| 822 | <action function="set">tw_action_param=</action> |
| 823 | <action function="set">tw_has_action2=0</action> |
| 824 | <action function="set">tw_action2=</action> |
| 825 | <action function="set">tw_action2_param=</action> |
| 826 | <action function="set">tw_has_cancel=0</action> |
| 827 | <action function="set">tw_cancel_action=</action> |
| 828 | <action function="set">tw_cancel_param=</action> |
| 829 | <action function="set">tw_show_exclamation=0</action> |
| 830 | <action function="set">tw_show_reboot=0</action> |
| 831 | <action function="page">%tw_clear_destination%</action> |
| 832 | </object> |
| 833 | </page> |
| 834 | |
| 835 | <page name="confirm_action"> |
| 836 | <object type="template" name="header" /> |
| 837 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 838 | <object type="text" color="%text_color%"> |
| 839 | <font resource="font" /> |
| 840 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 841 | <text>%tw_text1%</text> |
| 842 | </object> |
| 843 | |
| 844 | <object type="text" color="%text_color%"> |
| 845 | <font resource="font" /> |
| 846 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 847 | <text>%tw_text2%</text> |
| 848 | </object> |
| 849 | |
| 850 | <object type="text" color="%text_color%"> |
| 851 | <font resource="font" /> |
| 852 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 853 | <text>%tw_text3%</text> |
| 854 | </object> |
| 855 | |
| 856 | <object type="text" color="%text_color%"> |
| 857 | <font resource="font" /> |
| 858 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 859 | <text>%tw_text4%</text> |
| 860 | </object> |
| 861 | |
| 862 | <object type="text" color="%text_color%"> |
| 863 | <font resource="font" /> |
| 864 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
| 865 | <text>Press back button to cancel.</text> |
| 866 | </object> |
| 867 | |
| 868 | <object type="slider"> |
| 869 | <placement x="%slider_x%" y="%slider_y%" /> |
| 870 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 871 | <action function="page">action_page</action> |
| 872 | </object> |
| 873 | |
| 874 | <object type="text" color="%text_color%"> |
| 875 | <font resource="font" /> |
| 876 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 877 | <text>%tw_slider_text%</text> |
| 878 | </object> |
| 879 | |
| 880 | <object type="action"> |
| 881 | <touch key="back" /> |
| 882 | <actions> |
| 883 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 884 | <action function="page">clear_vars</action> |
| 885 | </actions> |
| 886 | </object> |
| 887 | |
| 888 | <object type="action"> |
| 889 | <touch key="home" /> |
| 890 | <action function="page">main</action> |
| 891 | </object> |
| 892 | |
| 893 | <object type="template" name="footer" /> |
| 894 | </page> |
| 895 | |
| 896 | <page name="action_page"> |
| 897 | <object type="template" name="header" /> |
| 898 | |
| 899 | <object type="text" color="%text_color%"> |
| 900 | <font resource="font" /> |
| 901 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 902 | <text>%tw_action_text1%</text> |
| 903 | </object> |
| 904 | |
| 905 | <object type="text" color="%text_color%"> |
| 906 | <font resource="font" /> |
| 907 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 908 | <text>%tw_action_text2%</text> |
| 909 | </object> |
| 910 | |
| 911 | <object type="template" name="action_page_console" /> |
| 912 | |
| 913 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 914 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 915 | <condition var1="tw_has_cancel" var2="1" /> |
| 916 | <placement x="%col4_x%" y="%slider_y%" /> |
| 917 | <font resource="font" color="%button_text_color%" /> |
| 918 | <text>Cancel</text> |
| 919 | <image resource="main_button" /> |
| 920 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 921 | </object> |
| 922 | |
| 923 | <object type="template" name="progress_bar" /> |
| 924 | |
| 925 | <object type="action"> |
| 926 | <condition var1="tw_operation_state" var2="1" /> |
| 927 | <actions> |
| 928 | <action function="page">action_complete</action> |
| 929 | </actions> |
| 930 | </object> |
| 931 | |
| 932 | <object type="action"> |
| 933 | <condition var1="tw_has_action2" var2="0" /> |
| 934 | <actions> |
| 935 | <action function="%tw_action%">%tw_action_param%</action> |
| 936 | </actions> |
| 937 | </object> |
| 938 | |
| 939 | <object type="action"> |
| 940 | <condition var1="tw_has_action2" var2="1" /> |
| 941 | <actions> |
| 942 | <action function="%tw_action%">%tw_action_param%</action> |
| 943 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 944 | </actions> |
| 945 | </object> |
| 946 | </page> |
| 947 | |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 948 | <page name="singleaction_page"> |
| 949 | <object type="template" name="header" /> |
| 950 | |
| 951 | <object type="text" color="%text_color%"> |
| 952 | <font resource="font" /> |
| 953 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 954 | <text>%tw_action_text1%</text> |
| 955 | </object> |
| 956 | |
| 957 | <object type="text" color="%text_color%"> |
| 958 | <font resource="font" /> |
| 959 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 960 | <text>%tw_action_text2%</text> |
| 961 | </object> |
| 962 | |
| 963 | <object type="template" name="action_page_console" /> |
| 964 | |
| 965 | <object type="template" name="progress_bar" /> |
| 966 | |
| 967 | <object type="action"> |
| 968 | <condition var1="tw_operation_state" var2="1" /> |
| 969 | <actions> |
| 970 | <action function="set">tw_page_done=1</action> |
| 971 | </actions> |
| 972 | </object> |
| 973 | |
| 974 | <object type="action"> |
| 975 | <condition var1="tw_has_action2" var2="0" /> |
| 976 | <actions> |
| 977 | <action function="%tw_action%">%tw_action_param%</action> |
| 978 | </actions> |
| 979 | </object> |
| 980 | |
| 981 | <object type="action"> |
| 982 | <condition var1="tw_has_action2" var2="1" /> |
| 983 | <actions> |
| 984 | <action function="%tw_action%">%tw_action_param%</action> |
| 985 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 986 | </actions> |
| 987 | </object> |
| 988 | </page> |
| 989 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 990 | <page name="action_complete"> |
| 991 | <object type="template" name="header" /> |
| 992 | |
| 993 | <object type="text" color="%text_color%"> |
| 994 | <font resource="font" /> |
| 995 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 996 | <text>%tw_complete_text1%</text> |
| 997 | </object> |
| 998 | |
| 999 | <object type="text" color="%text_fail_color%"> |
| 1000 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 1001 | <font resource="font" /> |
| 1002 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1003 | <text>Failed</text> |
| 1004 | </object> |
| 1005 | |
| 1006 | <object type="text" color="%text_success_color%"> |
| 1007 | <condition var1="tw_operation_status" var2="0" /> |
| 1008 | <font resource="font" /> |
| 1009 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1010 | <text>Successful</text> |
| 1011 | </object> |
| 1012 | |
| 1013 | <object type="template" name="action_page_console" /> |
| 1014 | |
| 1015 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1016 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1017 | <condition var1="tw_show_reboot" var2="0" /> |
| 1018 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 1019 | <font resource="font" color="%button_text_color%" /> |
| 1020 | <text>Back</text> |
| 1021 | <image resource="main_button" /> |
| 1022 | <actions> |
| 1023 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1024 | <action function="page">clear_vars</action> |
| 1025 | </actions> |
| 1026 | </object> |
| 1027 | |
| 1028 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1029 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1030 | <condition var1="tw_show_reboot" var2="1" /> |
| 1031 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 1032 | <font resource="font" color="%button_text_color%" /> |
| 1033 | <text>Reboot System</text> |
| 1034 | <image resource="main_button" /> |
| 1035 | <actions> |
| 1036 | <action function="set">tw_back=main2</action> |
| 1037 | <action function="set">tw_action=reboot</action> |
| 1038 | <action function="set">tw_action_param=system</action> |
| 1039 | <action function="set">tw_has_action2=0</action> |
| 1040 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1041 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1042 | <action function="set">tw_text3=</action> |
| 1043 | <action function="set">tw_text4=</action> |
| 1044 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1045 | <action function="set">tw_action_text2=</action> |
| 1046 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1047 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1048 | <action function="page">rebootcheck</action> |
| 1049 | </actions> |
| 1050 | </object> |
| 1051 | |
| 1052 | <object type="action"> |
| 1053 | <touch key="home" /> |
| 1054 | <actions> |
| 1055 | <action function="set">tw_clear_destination=main2</action> |
| 1056 | <action function="page">clear_vars</action> |
| 1057 | </actions> |
| 1058 | </object> |
| 1059 | |
| 1060 | <object type="action"> |
| 1061 | <touch key="back" /> |
| 1062 | <actions> |
| 1063 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1064 | <action function="page">clear_vars</action> |
| 1065 | </actions> |
| 1066 | </object> |
| 1067 | </page> |
| 1068 | |
| 1069 | <page name="filecheck"> |
| 1070 | <object type="action"> |
| 1071 | <action function="fileexists">%tw_filecheck%</action> |
| 1072 | </object> |
| 1073 | |
| 1074 | <object type="action"> |
| 1075 | <conditions> |
| 1076 | <condition var1="tw_operation_state" var2="1" /> |
| 1077 | <condition var1="tw_operation_status" var2="0" /> |
| 1078 | </conditions> |
| 1079 | <actions> |
| 1080 | <action function="set">tw_fileexists=1</action> |
| 1081 | <action function="page">%tw_existpage%</action> |
| 1082 | </actions> |
| 1083 | </object> |
| 1084 | |
| 1085 | <object type="action"> |
| 1086 | <conditions> |
| 1087 | <condition var1="tw_operation_state" var2="1" /> |
| 1088 | <condition var1="tw_operation_status" var2="1" /> |
| 1089 | </conditions> |
| 1090 | <actions> |
| 1091 | <action function="set">tw_fileexists=0</action> |
| 1092 | <action function="page">%tw_notexistpage%</action> |
| 1093 | </actions> |
| 1094 | </object> |
| 1095 | </page> |
| 1096 | |
| 1097 | <page name="rebootcheck"> |
| 1098 | <object type="action"> |
| 1099 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> |
| 1100 | <action function="reboot">%tw_action_param%</action> |
| 1101 | </object> |
| 1102 | |
| 1103 | <object type="action"> |
| 1104 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> |
| 1105 | <action function="page">confirm_action</action> |
| 1106 | </object> |
| 1107 | </page> |
| 1108 | |
| 1109 | <page name="reboot"> |
| 1110 | <object type="template" name="header" /> |
| 1111 | |
| 1112 | <object type="text" color="%text_color%"> |
| 1113 | <font resource="font" /> |
| 1114 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1115 | <text>Reboot Menu</text> |
| 1116 | </object> |
| 1117 | |
| 1118 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1119 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1120 | <condition var1="tw_reboot_system" var2="1" /> |
| 1121 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1122 | <font resource="font" color="%button_text_color%" /> |
| 1123 | <text>System</text> |
| 1124 | <image resource="main_button" /> |
| 1125 | <actions> |
| 1126 | <action function="set">tw_back=reboot</action> |
| 1127 | <action function="set">tw_action=reboot</action> |
| 1128 | <action function="set">tw_action_param=system</action> |
| 1129 | <action function="set">tw_has_action2=0</action> |
| 1130 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1131 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1132 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1133 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1134 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1135 | <action function="page">rebootcheck</action> |
| 1136 | </actions> |
| 1137 | </object> |
| 1138 | |
| 1139 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1140 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1141 | <condition var1="tw_reboot_poweroff" var2="1" /> |
| 1142 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1143 | <font resource="font" color="%button_text_color%" /> |
| 1144 | <text>Power Off</text> |
| 1145 | <image resource="main_button" /> |
| 1146 | <actions> |
| 1147 | <action function="set">tw_back=reboot</action> |
| 1148 | <action function="set">tw_action=reboot</action> |
| 1149 | <action function="set">tw_action_param=poweroff</action> |
| 1150 | <action function="set">tw_has_action2=0</action> |
| 1151 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1152 | <action function="set">tw_text2=sure you wish to power off?</action> |
| 1153 | <action function="set">tw_action_text1=Turning Off...</action> |
| 1154 | <action function="set">tw_complete_text1=Turning Off...</action> |
| 1155 | <action function="set">tw_slider_text=Swipe to Power Off</action> |
| 1156 | <action function="page">rebootcheck</action> |
| 1157 | </actions> |
| 1158 | </object> |
| 1159 | |
| 1160 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1161 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1162 | <condition var1="tw_reboot_recovery" var2="1" /> |
| 1163 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1164 | <font resource="font" color="%button_text_color%" /> |
| 1165 | <text>Recovery</text> |
| 1166 | <image resource="main_button" /> |
| 1167 | <actions> |
| 1168 | <action function="set">tw_back=reboot</action> |
| 1169 | <action function="set">tw_action=reboot</action> |
| 1170 | <action function="set">tw_action_param=recovery</action> |
| 1171 | <action function="set">tw_has_action2=0</action> |
| 1172 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1173 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1174 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1175 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1176 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1177 | <action function="page">rebootcheck</action> |
| 1178 | </actions> |
| 1179 | </object> |
| 1180 | |
| 1181 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1182 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1183 | <condition var1="tw_reboot_bootloader" var2="1" /> |
| 1184 | <placement x="%col2_x%" y="%row2_y%" /> |
| 1185 | <font resource="font" color="%button_text_color%" /> |
| 1186 | <text>Bootloader</text> |
| 1187 | <image resource="main_button" /> |
| 1188 | <actions> |
| 1189 | <action function="set">tw_back=reboot</action> |
| 1190 | <action function="set">tw_action=reboot</action> |
| 1191 | <action function="set">tw_action_param=bootloader</action> |
| 1192 | <action function="set">tw_has_action2=0</action> |
| 1193 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1194 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1195 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1196 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1197 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1198 | <action function="page">rebootcheck</action> |
| 1199 | </actions> |
| 1200 | </object> |
| 1201 | |
| 1202 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1203 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1204 | <condition var1="tw_download_mode" var2="1" /> |
| 1205 | <placement x="%col3_x%" y="%row2_y%" /> |
| 1206 | <font resource="font" color="%button_text_color%" /> |
| 1207 | <text>Download</text> |
| 1208 | <image resource="main_button" /> |
| 1209 | <actions> |
| 1210 | <action function="set">tw_back=reboot</action> |
| 1211 | <action function="set">tw_action=reboot</action> |
| 1212 | <action function="set">tw_action_param=download</action> |
| 1213 | <action function="set">tw_has_action2=0</action> |
| 1214 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1215 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1216 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1217 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1218 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1219 | <action function="page">rebootcheck</action> |
| 1220 | </actions> |
| 1221 | </object> |
| 1222 | |
| 1223 | <object type="action"> |
| 1224 | <touch key="home" /> |
| 1225 | <action function="page">main</action> |
| 1226 | </object> |
| 1227 | |
| 1228 | <object type="action"> |
| 1229 | <touch key="back" /> |
| 1230 | <action function="page">main</action> |
| 1231 | </object> |
| 1232 | |
| 1233 | <object type="template" name="footer" /> |
| 1234 | </page> |
| 1235 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1236 | <page name="selectstorage"> |
| 1237 | <object type="template" name="header" /> |
| 1238 | |
| 1239 | <object type="partitionlist"> |
| 1240 | <highlight color="%fileselector_highlight_color%" /> |
| 1241 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 1242 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1243 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1244 | <text>Select Storage:</text> |
| 1245 | <icon selected="radio_true" unselected="radio_false" /> |
| 1246 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1247 | <background color="%listbox_background%" /> |
| 1248 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1249 | <data name="tw_storage_path" /> |
| 1250 | <listtype name="storage" /> |
| 1251 | </object> |
| 1252 | |
| 1253 | <object type="action"> |
| 1254 | <touch key="home" /> |
| 1255 | <action function="page">main</action> |
| 1256 | </object> |
| 1257 | |
| 1258 | <object type="action"> |
| 1259 | <touch key="back" /> |
| 1260 | <actions> |
| 1261 | <action function="page">%tw_back%</action> |
| 1262 | </actions> |
| 1263 | </object> |
| 1264 | |
| 1265 | <object type="template" name="footer" /> |
| 1266 | </page> |
| 1267 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1268 | <page name="mount"> |
| 1269 | <object type="template" name="header" /> |
| 1270 | |
| 1271 | <object type="text" color="%text_color%"> |
| 1272 | <font resource="font" /> |
| 1273 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1274 | <text>Mount Menu</text> |
| 1275 | </object> |
| 1276 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1277 | <object type="partitionlist"> |
| 1278 | <highlight color="%fileselector_highlight_color%" /> |
| 1279 | <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" /> |
| 1280 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1281 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1282 | <text>Select Partitions to Mount:</text> |
| 1283 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1284 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1285 | <background color="%listbox_background%" /> |
| 1286 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1287 | <listtype name="mount" /> |
| 1288 | </object> |
| 1289 | |
| 1290 | <object type="button"> |
| 1291 | <highlight color="%highlight_color%" /> |
| 1292 | <conditions> |
| 1293 | <condition var1="tw_is_encrypted" var2="1" /> |
| 1294 | <condition var1="tw_is_decrypted" var2="0" /> |
| 1295 | </conditions> |
| 1296 | <placement x="%col3_x%" y="row1_y" /> |
| 1297 | <font resource="font" color="%button_text_color%" /> |
| 1298 | <text>Decrypt Data</text> |
| 1299 | <image resource="main_button" /> |
| 1300 | <action function="page">decrypt</action> |
| 1301 | </object> |
| 1302 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1303 | <object type="button"> |
| 1304 | <condition var1="tw_has_usb_storage" var2="1" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1305 | <placement x="%col4_x%" y="%row1_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1306 | <font resource="font" color="%button_text_color%" /> |
| 1307 | <text>Mount USB Storage</text> |
| 1308 | <image resource="main_button" /> |
| 1309 | <action function="page">usb_mount</action> |
| 1310 | </object> |
| 1311 | |
| 1312 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1313 | <highlight color="%highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1314 | <fill color="%button_fill_color%" /> |
| 1315 | <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> |
| 1316 | <font resource="font" color="%button_text_color%" /> |
| 1317 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 1318 | <actions> |
| 1319 | <action function="set">tw_back=mount</action> |
| 1320 | <action function="page">selectstorage</action> |
| 1321 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1322 | </object> |
| 1323 | |
| 1324 | <object type="action"> |
| 1325 | <touch key="home" /> |
| 1326 | <action function="page">main</action> |
| 1327 | </object> |
| 1328 | |
| 1329 | <object type="action"> |
| 1330 | <touch key="back" /> |
| 1331 | <action function="page">main</action> |
| 1332 | </object> |
| 1333 | |
| 1334 | <object type="template" name="footer" /> |
| 1335 | </page> |
| 1336 | |
| 1337 | <page name="usb_mount"> |
| 1338 | <object type="template" name="header" /> |
| 1339 | |
| 1340 | <object type="text" color="%text_color%"> |
| 1341 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1342 | <font resource="font" /> |
| 1343 | <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> |
| 1344 | </object> |
| 1345 | |
| 1346 | <object type="text" color="%text_color%"> |
| 1347 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 1348 | <font resource="font" /> |
| 1349 | <text></text> |
| 1350 | </object> |
| 1351 | |
| 1352 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1353 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1354 | <placement x="%col_center_x%" y="%row1_y%" /> |
| 1355 | <font resource="font" color="%button_text_color%" /> |
| 1356 | <text>Unmount</text> |
| 1357 | <image resource="main_button" /> |
| 1358 | <action function="page">usb_umount</action> |
| 1359 | </object> |
| 1360 | |
| 1361 | <object type="action"> |
| 1362 | <action function="mount">usb</action> |
| 1363 | </object> |
| 1364 | |
| 1365 | <object type="template" name="footer" /> |
| 1366 | </page> |
| 1367 | |
| 1368 | <page name="usb_umount"> |
| 1369 | <object type="action"> |
| 1370 | <action function="unmount">usb</action> |
| 1371 | </object> |
| 1372 | |
| 1373 | <object type="action"> |
| 1374 | <action function="page">mount</action> |
| 1375 | </object> |
| 1376 | |
| 1377 | <object type="template" name="footer" /> |
| 1378 | </page> |
| 1379 | |
| 1380 | <page name="wipe"> |
| 1381 | <object type="template" name="header" /> |
| 1382 | |
| 1383 | <object type="text" color="%text_color%"> |
| 1384 | <font resource="font" /> |
| 1385 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1386 | <text>Factory Reset: Wipes Data, Cache, and Dalvik</text> |
| 1387 | </object> |
| 1388 | |
| 1389 | <object type="text" color="%text_color%"> |
| 1390 | <condition var1="tw_has_data_media" var2="0" /> |
| 1391 | <font resource="font" /> |
| 1392 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1393 | <text>.android_secure</text> |
| 1394 | </object> |
| 1395 | |
| 1396 | <object type="text" color="%text_color%"> |
| 1397 | <condition var1="tw_has_data_media" var2="1" /> |
| 1398 | <font resource="font" /> |
| 1399 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1400 | <text>(not including internal storage)</text> |
| 1401 | </object> |
| 1402 | |
| 1403 | <object type="text" color="%text_color%"> |
| 1404 | <condition var1="tw_has_sdext_partition" var2="1" /> |
| 1405 | <font resource="font" /> |
| 1406 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 1407 | <text>SD-EXT</text> |
| 1408 | </object> |
| 1409 | |
| 1410 | <object type="text" color="%text_color%"> |
| 1411 | <font resource="font" /> |
| 1412 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 1413 | <text>Most of the time this is the only wipe that you need.</text> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1414 | </object> |
| 1415 | |
| 1416 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1417 | <highlight color="%highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1418 | <placement x="%col2_x%" y="%wipe_button_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1419 | <font resource="font" color="%button_text_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1420 | <text>Advanced Wipe</text> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1421 | <image resource="main_button" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1422 | <action function="page">advancedwipe</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1423 | </object> |
| 1424 | |
| 1425 | <object type="button"> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1426 | <conditions> |
| 1427 | <condition var1="tw_has_internal" var2="1" /> |
| 1428 | <condition var1="tw_has_data_media" var2="1" /> |
| 1429 | </conditions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1430 | <highlight color="%highlight_color%" /> |
| 1431 | <placement x="%col3_x%" y="%wipe_button_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1432 | <font resource="font" color="%button_text_color%" /> |
| 1433 | <text>Format Data</text> |
| 1434 | <image resource="main_button" /> |
| 1435 | <actions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1436 | <action function="page">formatdata</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1437 | </actions> |
| 1438 | </object> |
| 1439 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1440 | <object type="text" color="%text_color%"> |
| 1441 | <font resource="font" /> |
| 1442 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
| 1443 | <text>Press back button to cancel.</text> |
| 1444 | </object> |
| 1445 | |
| 1446 | <object type="slider"> |
| 1447 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1448 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1449 | <actions> |
| 1450 | <action function="set">tw_back=wipe</action> |
| 1451 | <action function="set">tw_action=wipe</action> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1452 | <action function="set">tw_action_param=data</action> |
| 1453 | <action function="set">tw_action_text1=Factory Reset...</action> |
| 1454 | <action function="set">tw_complete_text1=Factory Reset Complete</action> |
| 1455 | <action function="page">action_page</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1456 | </actions> |
| 1457 | </object> |
| 1458 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1459 | <object type="text" color="%text_color%"> |
| 1460 | <font resource="font" /> |
| 1461 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1462 | <text>Swipe to Factory Reset</text> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1463 | </object> |
| 1464 | |
| 1465 | <object type="action"> |
| 1466 | <touch key="home" /> |
| 1467 | <action function="page">main</action> |
| 1468 | </object> |
| 1469 | |
| 1470 | <object type="action"> |
| 1471 | <touch key="back" /> |
| 1472 | <action function="page">main</action> |
| 1473 | </object> |
| 1474 | |
| 1475 | <object type="template" name="footer" /> |
| 1476 | </page> |
| 1477 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1478 | <page name="advancedwipe"> |
| 1479 | <object type="template" name="header" /> |
| 1480 | |
| 1481 | <object type="partitionlist"> |
| 1482 | <highlight color="%fileselector_highlight_color%" /> |
| 1483 | <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%wipe_list_height%" /> |
| 1484 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1485 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1486 | <text>Select Partitions to Wipe:</text> |
| 1487 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1488 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1489 | <background color="%listbox_background%" /> |
| 1490 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1491 | <data name="tw_wipe_list" /> |
| 1492 | <listtype name="wipe" /> |
| 1493 | </object> |
| 1494 | |
| 1495 | <object type="slider"> |
| 1496 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1497 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 1498 | <actions> |
| 1499 | <action function="set">tw_back=advancedwipe</action> |
| 1500 | <action function="set">tw_action=wipe</action> |
| 1501 | <action function="set">tw_action_param=LIST</action> |
| 1502 | <action function="set">tw_text1=Wipe Selected Partition(s)?</action> |
| 1503 | <action function="set">tw_action_text1=Wiping Partition(s)...</action> |
| 1504 | <action function="set">tw_complete_text1=Wipe Complete</action> |
| 1505 | <action function="page">action_page</action> |
| 1506 | </actions> |
| 1507 | </object> |
| 1508 | |
| 1509 | <object type="text" color="%text_color%"> |
| 1510 | <font resource="font" /> |
| 1511 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1512 | <text>Swipe to Wipe</text> |
| 1513 | </object> |
| 1514 | |
| 1515 | <object type="action"> |
| 1516 | <touch key="home" /> |
| 1517 | <action function="page">main</action> |
| 1518 | </object> |
| 1519 | |
| 1520 | <object type="action"> |
| 1521 | <touch key="back" /> |
| 1522 | <action function="page">wipe</action> |
| 1523 | </object> |
| 1524 | |
| 1525 | <object type="template" name="footer" /> |
| 1526 | </page> |
| 1527 | |
| 1528 | <page name="formatdata"> |
| 1529 | <object type="template" name="header" /> |
| 1530 | |
| 1531 | <object type="text" color="%text_color%"> |
| 1532 | <font resource="font" /> |
| 1533 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1534 | <text>Format Data will wipe all of your apps, backups, pictures,</text> |
| 1535 | </object> |
| 1536 | |
| 1537 | <object type="text" color="%text_color%"> |
| 1538 | <font resource="font" /> |
| 1539 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1540 | <text>videos, media, and removes encryption on internal storage.</text> |
| 1541 | </object> |
| 1542 | |
| 1543 | <object type="text" color="%text_color%"> |
| 1544 | <font resource="font" /> |
| 1545 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 1546 | <text>This cannot be undone. Press back to cancel.</text> |
| 1547 | </object> |
| 1548 | |
| 1549 | <object type="text" color="%text_color%"> |
| 1550 | <font resource="font" /> |
| 1551 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 1552 | <text>Type yes to continue.</text> |
| 1553 | </object> |
| 1554 | |
| 1555 | <object type="input"> |
| 1556 | <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1557 | <background color="%input_background_color%" /> |
| 1558 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1559 | <font resource="font" color="%text_color%" /> |
| 1560 | <text>%tw_confirm_formatdata%</text> |
| 1561 | <data name="tw_confirm_formatdata" /> |
| 1562 | <restrict minlen="3" maxlen="3" allow="yes" /> |
| 1563 | <action function="page">formatdata_confirm</action> |
| 1564 | </object> |
| 1565 | |
| 1566 | <object type="template" name="keyboardtemplate" /> |
| 1567 | |
| 1568 | <object type="action"> |
| 1569 | <touch key="home" /> |
| 1570 | <action function="page">main</action> |
| 1571 | </object> |
| 1572 | |
| 1573 | <object type="action"> |
| 1574 | <touch key="back" /> |
| 1575 | <action function="page">wipe</action> |
| 1576 | </object> |
| 1577 | |
| 1578 | <object type="template" name="footer" /> |
| 1579 | </page> |
| 1580 | |
| 1581 | <page name="formatdata_confirm"> |
| 1582 | <object type="action"> |
| 1583 | <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> |
| 1584 | <actions> |
| 1585 | <action function="set">tw_back=formatdata</action> |
| 1586 | <action function="set">tw_action=wipe</action> |
| 1587 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1588 | <action function="set">tw_action_text1=Formatting Data...</action> |
| 1589 | <action function="set">tw_complete_text1=Data Format Complete</action> |
| 1590 | <action function="page">action_page</action> |
| 1591 | </actions> |
| 1592 | </object> |
| 1593 | |
| 1594 | <object type="action"> |
| 1595 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> |
| 1596 | <action function="page">formatdata</function> |
| 1597 | </object> |
| 1598 | </page> |
| 1599 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1600 | <page name="backup"> |
| 1601 | <object type="template" name="header" /> |
| 1602 | |
| 1603 | <object type="text" color="%text_color%"> |
| 1604 | <font resource="font" /> |
| 1605 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1606 | <text>Back Up Device</text> |
| 1607 | </object> |
| 1608 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1609 | <object type="partitionlist"> |
| 1610 | <highlight color="%fileselector_highlight_color%" /> |
| 1611 | <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> |
| 1612 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1613 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1614 | <text>Select Partitions to Back Up:</text> |
| 1615 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1616 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1617 | <background color="%listbox_background%" /> |
| 1618 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1619 | <data name="tw_backup_list" /> |
| 1620 | <listtype name="backup" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1621 | </object> |
| 1622 | |
| 1623 | <object type="text" color="%text_color%"> |
| 1624 | <font resource="font" /> |
| 1625 | <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> |
| 1626 | <text>Backup Name: %tw_backup_name%</text> |
| 1627 | </object> |
| 1628 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1629 | <object type="button"> |
| 1630 | <highlight color="%highlight_color%" /> |
| 1631 | <placement x="%col3_x%" y="%row1_y%" /> |
| 1632 | <font resource="font" color="%button_text_color%" /> |
| 1633 | <text>Refresh Sizes</text> |
| 1634 | <image resource="main_button" /> |
| 1635 | <action function="refreshsizes"></action> |
| 1636 | </object> |
| 1637 | |
| 1638 | <object type="button"> |
| 1639 | <highlight color="%highlight_color%" /> |
| 1640 | <placement x="%col4_x%" y="%row1_y%" /> |
| 1641 | <font resource="font" color="%button_text_color%" /> |
| 1642 | <text>Set Backup Name</text> |
| 1643 | <image resource="main_button" /> |
| 1644 | <actions> |
| 1645 | <action function="set">tw_fileexists=0</action> |
| 1646 | <action function="page">backupname1</action> |
| 1647 | </actions> |
| 1648 | </object> |
| 1649 | |
| 1650 | <object type="button"> |
| 1651 | <highlight color="%highlight_color%" /> |
| 1652 | <fill color="%button_fill_color%" /> |
| 1653 | <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> |
| 1654 | <font resource="font" color="%button_text_color%" /> |
| 1655 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 1656 | <actions> |
| 1657 | <action function="set">tw_back=backup</action> |
| 1658 | <action function="page">selectstorage</action> |
| 1659 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1660 | </object> |
| 1661 | |
| 1662 | <object type="checkbox"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1663 | <placement x="%col3_x%" y="%nandcheck_row6%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1664 | <font resource="font" color="%text_color%" /> |
| 1665 | <text>Enable Compression (Requires more time)</text> |
| 1666 | <data variable="tw_use_compression" /> |
| 1667 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1668 | </object> |
| 1669 | |
| 1670 | <object type="checkbox"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1671 | <placement x="%col3_x%" y="%nandcheck_row7%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1672 | <font resource="font" color="%text_color%" /> |
| 1673 | <text>Skip MD5 generation on backups</text> |
| 1674 | <data variable="tw_skip_md5_generate" /> |
| 1675 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1676 | </object> |
| 1677 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1678 | <object type="slider"> |
| 1679 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1680 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 1681 | <actions> |
| 1682 | <action function="set">tw_operation_state=0</action> |
| 1683 | <action function="page">backup_run</action> |
| 1684 | </actions> |
| 1685 | </object> |
| 1686 | |
| 1687 | <object type="text" color="%text_color%"> |
| 1688 | <font resource="font" /> |
| 1689 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1690 | <text>Swipe to Back Up</text> |
| 1691 | </object> |
| 1692 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1693 | <object type="action"> |
| 1694 | <touch key="home" /> |
| 1695 | <action function="page">main</action> |
| 1696 | </object> |
| 1697 | |
| 1698 | <object type="action"> |
| 1699 | <touch key="back" /> |
| 1700 | <action function="page">main</action> |
| 1701 | </object> |
| 1702 | |
| 1703 | <object type="template" name="footer" /> |
| 1704 | </page> |
| 1705 | |
| 1706 | <page name="backupname1"> |
| 1707 | <object type="action"> |
| 1708 | <condition var1="tw_backup_name" op="=" var2="(Current Date)" /> |
| 1709 | <action function="set">tw_backup_name=</function> |
| 1710 | </object> |
| 1711 | |
| 1712 | <object type="action"> |
| 1713 | <action function="page">backupname2</function> |
| 1714 | </object> |
| 1715 | </page> |
| 1716 | |
| 1717 | <page name="backupname2"> |
| 1718 | <object type="template" name="header" /> |
| 1719 | |
| 1720 | <object type="text" color="%text_color%"> |
| 1721 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1722 | <font resource="font" /> |
| 1723 | <text>Please Enter a Backup Name</text> |
| 1724 | </object> |
| 1725 | |
| 1726 | <object type="input"> |
| 1727 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1728 | <background color="%input_background_color%" /> |
| 1729 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1730 | <font resource="font" color="%text_color%" /> |
| 1731 | <text>%tw_backup_name%</text> |
| 1732 | <data name="tw_backup_name" /> |
| 1733 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
| 1734 | <actions> |
| 1735 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 1736 | <action function="set">tw_existpage=backupname2</action> |
| 1737 | <action function="set">tw_notexistpage=backup</action> |
| 1738 | <action function="page">filecheck</action> |
| 1739 | </actions> |
| 1740 | </object> |
| 1741 | |
| 1742 | <object type="text" color="%text_fail_color%"> |
| 1743 | <condition var1="tw_fileexists" var2="1" /> |
| 1744 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 1745 | <font resource="font" /> |
| 1746 | <text>A backup with that name already exists!</text> |
| 1747 | </object> |
| 1748 | |
| 1749 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1750 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1751 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 1752 | <font resource="font" color="%button_text_color%" /> |
| 1753 | <text>Cancel / Clear</text> |
| 1754 | <image resource="main_button" /> |
| 1755 | <actions> |
| 1756 | <action function="set">tw_backup_name=(Current Date)</action> |
| 1757 | <action function="page">backup</action> |
| 1758 | </actions> |
| 1759 | </object> |
| 1760 | |
| 1761 | <object type="template" name="keyboardtemplate" /> |
| 1762 | |
| 1763 | <object type="action"> |
| 1764 | <touch key="home" /> |
| 1765 | <actions> |
| 1766 | <action function="set">tw_backup_name=(Current Date)</action> |
| 1767 | <action function="page">main</action> |
| 1768 | </actions> |
| 1769 | </object> |
| 1770 | |
| 1771 | <object type="action"> |
| 1772 | <touch key="back" /> |
| 1773 | <actions> |
| 1774 | <action function="set">tw_backup_name=(Current Date)</action> |
| 1775 | <action function="page">backup</action> |
| 1776 | </actions> |
| 1777 | </object> |
| 1778 | |
| 1779 | <object type="template" name="footer" /> |
| 1780 | </page> |
| 1781 | |
| 1782 | <page name="backup_run"> |
| 1783 | <object type="template" name="header" /> |
| 1784 | |
| 1785 | <object type="text" color="%text_color%"> |
| 1786 | <font resource="font" /> |
| 1787 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1788 | <text>%tw_operation% %tw_partition%</text> |
| 1789 | </object> |
| 1790 | |
| 1791 | <object type="template" name="action_page_console" /> |
| 1792 | |
| 1793 | <object type="template" name="progress_bar" /> |
| 1794 | |
| 1795 | <object type="action"> |
| 1796 | <action function="nandroid">backup</action> |
| 1797 | </object> |
| 1798 | |
| 1799 | <object type="action"> |
| 1800 | <condition var1="tw_operation_state" var2="1" /> |
| 1801 | <actions> |
| 1802 | <action function="set">tw_back=backup</action> |
| 1803 | <action function="set">tw_complete_text1=Backup Complete</action> |
| 1804 | <action function="set">tw_show_reboot=1</action> |
| 1805 | <action function="page">action_complete</action> |
| 1806 | </actions> |
| 1807 | </object> |
| 1808 | |
| 1809 | <object type="template" name="footer" /> |
| 1810 | </page> |
| 1811 | |
| 1812 | <page name="restore"> |
| 1813 | <object type="template" name="header" /> |
| 1814 | |
| 1815 | <object type="button"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1816 | <highlight color="%highlight_color%" /> |
| 1817 | <fill color="%button_fill_color%" /> |
| 1818 | <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" /> |
| 1819 | <font resource="font" color="%button_text_color%" /> |
| 1820 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 1821 | <actions> |
| 1822 | <action function="set">tw_back=restore</action> |
| 1823 | <action function="page">selectstorage</action> |
| 1824 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1825 | </object> |
| 1826 | |
| 1827 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 1828 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1829 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 1830 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 1831 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1832 | <text>Select Package to Restore:</text> |
| 1833 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1834 | <sort name="tw_gui_sort_order" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 1835 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1836 | <icon folder="folder_icon" file="file_icon" /> |
| 1837 | <background color="%fileselector_background%" /> |
| 1838 | <filter folders="1" files="0" nav="0" /> |
| 1839 | <path name="tw_backups_folder" /> |
| 1840 | <data name="tw_restore" default="" /> |
| 1841 | <selection name="tw_restore_name" /> |
| 1842 | </object> |
| 1843 | |
| 1844 | <object type="template" name="sort_options" /> |
| 1845 | |
| 1846 | <object type="action"> |
| 1847 | <condition var1="tw_restore" op="modified" /> |
| 1848 | <actions> |
| 1849 | <action function="readBackup"></action> |
| 1850 | <action function="page">restore_select</action> |
| 1851 | </actions> |
| 1852 | </object> |
| 1853 | |
| 1854 | <object type="action"> |
| 1855 | <touch key="home" /> |
| 1856 | <action function="page">main</action> |
| 1857 | </object> |
| 1858 | |
| 1859 | <object type="action"> |
| 1860 | <touch key="back" /> |
| 1861 | <action function="page">main</action> |
| 1862 | </object> |
| 1863 | |
| 1864 | <object type="template" name="footer" /> |
| 1865 | </page> |
| 1866 | |
| 1867 | <page name="restore_select"> |
| 1868 | <object type="template" name="header" /> |
| 1869 | |
| 1870 | <object type="text" color="%text_color%"> |
| 1871 | <font resource="font" /> |
| 1872 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1873 | <text>Package to Restore: %tw_restore_name%</text> |
| 1874 | </object> |
| 1875 | |
| 1876 | <object type="text" color="%text_color%"> |
| 1877 | <font resource="font" /> |
| 1878 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1879 | <text>Package Date: %tw_restore_file_date%</text> |
| 1880 | </object> |
| 1881 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1882 | <object type="partitionlist"> |
| 1883 | <highlight color="%fileselector_highlight_color%" /> |
| 1884 | <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" /> |
| 1885 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1886 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1887 | <text>Select Partitions to Restore:</text> |
| 1888 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1889 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1890 | <background color="%listbox_background%" /> |
| 1891 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1892 | <data name="tw_restore_list" selectedlist="tw_restore_selected" /> |
| 1893 | <listtype name="restore" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1894 | </object> |
| 1895 | |
| 1896 | <object type="checkbox"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1897 | <placement x="%col3_x%" y="%nandcheck_row6%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1898 | <font resource="font" color="%text_color%" /> |
| 1899 | <text>Enable MD5 checking of backup files</text> |
| 1900 | <data variable="tw_skip_md5_check" /> |
| 1901 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1902 | </object> |
| 1903 | |
| 1904 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1905 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1906 | <placement x="%col4_x%" y="%row1_y%" /> |
| 1907 | <font resource="font" color="%button_text_color%" /> |
| 1908 | <text>Rename Backup</text> |
| 1909 | <image resource="main_button" /> |
| 1910 | <actions> |
| 1911 | <action function="set">tw_backup_rename=</action> |
| 1912 | <action function="set">tw_fileexists=0</action> |
| 1913 | <action function="page">renamebackup</action> |
| 1914 | </actions> |
| 1915 | </object> |
| 1916 | |
| 1917 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1918 | <highlight color="%highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1919 | <placement x="%col3_x%" y="%row1_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1920 | <font resource="font" color="%button_text_color%" /> |
| 1921 | <text>Delete Backup</text> |
| 1922 | <image resource="main_button" /> |
| 1923 | <actions> |
| 1924 | <action function="set">tw_back=restore</action> |
| 1925 | <action function="set">tw_action=cmd</action> |
| 1926 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
| 1927 | <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> |
| 1928 | <action function="set">tw_text2=This cannot be undone!</action> |
| 1929 | <action function="set">tw_action_text1=Deleting Backup...</action> |
| 1930 | <action function="set">tw_complete_text1=Backup Delete Complete</action> |
| 1931 | <action function="set">tw_slider_text=Swipe to Delete</action> |
| 1932 | <action function="page">confirm_action</action> |
| 1933 | </actions> |
| 1934 | </object> |
| 1935 | |
| 1936 | <object type="slider"> |
| 1937 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1938 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 1939 | <action function="page">restore_run</action> |
| 1940 | </object> |
| 1941 | |
| 1942 | <object type="text" color="%text_color%"> |
| 1943 | <font resource="font" /> |
| 1944 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1945 | <text>Swipe to Restore</text> |
| 1946 | </object> |
| 1947 | |
| 1948 | <object type="action"> |
| 1949 | <touch key="home" /> |
| 1950 | <action function="page">main</action> |
| 1951 | </object> |
| 1952 | |
| 1953 | <object type="action"> |
| 1954 | <touch key="back" /> |
| 1955 | <action function="page">restore</action> |
| 1956 | </object> |
| 1957 | |
| 1958 | <object type="template" name="footer" /> |
| 1959 | </page> |
| 1960 | |
| 1961 | <page name="renamebackup"> |
| 1962 | <object type="template" name="header" /> |
| 1963 | |
| 1964 | <object type="text" color="%text_color%"> |
| 1965 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1966 | <font resource="font" /> |
| 1967 | <text>Please Enter a New Backup Name</text> |
| 1968 | </object> |
| 1969 | |
| 1970 | <object type="input"> |
| 1971 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1972 | <background color="%input_background_color%" /> |
| 1973 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1974 | <font resource="font" color="%text_color%" /> |
| 1975 | <text>%tw_backup_rename%</text> |
| 1976 | <data name="tw_backup_rename" /> |
| 1977 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
| 1978 | <actions> |
| 1979 | <action function="set">tw_back=restore</action> |
| 1980 | <action function="set">tw_action=cmd</action> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 1981 | <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1982 | <action function="set">tw_text1=Rename Backup?</action> |
| 1983 | <action function="set">tw_text2=This cannot be undone!</action> |
| 1984 | <action function="set">tw_action_text1=Renaming Backup...</action> |
| 1985 | <action function="set">tw_complete_text1=Backup Rename Complete</action> |
| 1986 | <action function="set">tw_slider_text=Swipe to Rename</action> |
| 1987 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 1988 | <action function="set">tw_existpage=renamebackup</action> |
| 1989 | <action function="set">tw_notexistpage=confirm_action</action> |
| 1990 | <action function="page">filecheck</action> |
| 1991 | </actions> |
| 1992 | </object> |
| 1993 | |
| 1994 | <object type="text" color="%text_fail_color%"> |
| 1995 | <condition var1="tw_fileexists" var2="1" /> |
| 1996 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 1997 | <font resource="font" /> |
| 1998 | <text>A backup with that name already exists!</text> |
| 1999 | </object> |
| 2000 | |
| 2001 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2002 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2003 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 2004 | <font resource="font" color="%button_text_color%" /> |
| 2005 | <text>Cancel</text> |
| 2006 | <image resource="main_button" /> |
| 2007 | <action function="page">restore_select</action> |
| 2008 | </object> |
| 2009 | |
| 2010 | <object type="template" name="keyboardtemplate" /> |
| 2011 | |
| 2012 | <object type="action"> |
| 2013 | <touch key="home" /> |
| 2014 | <action function="page">main</action> |
| 2015 | </object> |
| 2016 | |
| 2017 | <object type="action"> |
| 2018 | <touch key="back" /> |
| 2019 | <action function="page">restore_select</action> |
| 2020 | </object> |
| 2021 | |
| 2022 | <object type="template" name="footer" /> |
| 2023 | </page> |
| 2024 | |
| 2025 | <page name="restore_run"> |
| 2026 | <object type="template" name="header" /> |
| 2027 | |
| 2028 | <object type="text" color="%text_color%"> |
| 2029 | <font resource="font" /> |
| 2030 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2031 | <text>%tw_operation% %tw_partition%</text> |
| 2032 | </object> |
| 2033 | |
| 2034 | <object type="template" name="action_page_console" /> |
| 2035 | |
| 2036 | <object type="template" name="progress_bar" /> |
| 2037 | |
| 2038 | <object type="action"> |
| 2039 | <condition var1="tw_operation_state" var2="1" /> |
| 2040 | <actions> |
| 2041 | <action function="set">tw_back=restore_select</action> |
| 2042 | <action function="set">tw_complete_text1=Restore Complete</action> |
| 2043 | <action function="set">tw_show_reboot=1</action> |
| 2044 | <action function="page">action_complete</action> |
| 2045 | </actions> |
| 2046 | </object> |
| 2047 | |
| 2048 | <object type="action"> |
| 2049 | <action function="nandroid">restore</action> |
| 2050 | </object> |
| 2051 | </page> |
| 2052 | |
| 2053 | <page name="settings"> |
| 2054 | <object type="template" name="header" /> |
| 2055 | |
| 2056 | <object type="text" color="%text_color%"> |
| 2057 | <font resource="font" /> |
| 2058 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2059 | <text>Settings</text> |
| 2060 | </object> |
| 2061 | |
| 2062 | <object type="checkbox"> |
| 2063 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 2064 | <font resource="font" color="%text_color%" /> |
| 2065 | <text>Zip file signature verification?</text> |
| 2066 | <data variable="tw_signed_zip_verify" /> |
| 2067 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2068 | </object> |
| 2069 | |
| 2070 | <object type="checkbox"> |
| 2071 | <placement x="%col1_x%" y="%row3_text_y%" /> |
| 2072 | <font resource="font" color="%text_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2073 | <text>Use rm -rf instead of formatting?</text> |
| 2074 | <data variable="tw_rm_rf" /> |
| 2075 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2076 | </object> |
| 2077 | |
| 2078 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2079 | <placement x="%col1_x%" y="%row4_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2080 | <font resource="font" color="%text_color%" /> |
| 2081 | <text>Skip MD5 generation on backups</text> |
| 2082 | <data variable="tw_skip_md5_generate" /> |
| 2083 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2084 | </object> |
| 2085 | |
| 2086 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2087 | <placement x="%col1_x%" y="%row5_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2088 | <font resource="font" color="%text_color%" /> |
| 2089 | <text>Enable MD5 checking of backup files</text> |
| 2090 | <data variable="tw_skip_md5_check" /> |
| 2091 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2092 | </object> |
| 2093 | |
| 2094 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2095 | <placement x="%col1_x%" y="%row6_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2096 | <font resource="font" color="%text_color%" /> |
Dees_Troy | 8211102 | 2013-02-21 21:13:09 +0000 | [diff] [blame] | 2097 | <text>Use Military Time</text> |
| 2098 | <data variable="tw_military_time" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2099 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2100 | </object> |
| 2101 | |
| 2102 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2103 | <placement x="%col1_x%" y="%row7_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2104 | <font resource="font" color="%text_color%" /> |
| 2105 | <text>Simulate most actions for theme testing</text> |
| 2106 | <data variable="tw_simulate_actions" /> |
| 2107 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2108 | </object> |
| 2109 | |
| 2110 | <object type="checkbox"> |
| 2111 | <condition var1="tw_simulate_actions" var2="1" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2112 | <placement x="%col1_x%" y="%row8_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2113 | <font resource="font" color="%text_color%" /> |
| 2114 | <text>Simulate failure for actions</text> |
| 2115 | <data variable="tw_simulate_fail" /> |
| 2116 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2117 | </object> |
| 2118 | |
| 2119 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2120 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2121 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2122 | <font resource="font" color="%button_text_color%" /> |
| 2123 | <text>Time Zone</text> |
| 2124 | <image resource="main_button" /> |
| 2125 | <action function="page">timezone</action> |
| 2126 | </object> |
| 2127 | |
| 2128 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2129 | <highlight color="%highlight_color%" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2130 | <placement x="%col4_x%" y="%row2_y%" /> |
| 2131 | <font resource="font" color="%button_text_color%" /> |
| 2132 | <text>Screen</text> |
| 2133 | <image resource="main_button" /> |
| 2134 | <action function="page">screen</action> |
| 2135 | </object> |
| 2136 | |
| 2137 | <object type="button"> |
| 2138 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2139 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 2140 | <font resource="font" color="%button_text_color%" /> |
| 2141 | <text>Restore Defaults</text> |
| 2142 | <image resource="main_button" /> |
| 2143 | <action function="restoredefaultsettings"></action> |
| 2144 | </object> |
| 2145 | |
| 2146 | <object type="action"> |
| 2147 | <touch key="home" /> |
| 2148 | <action function="page">main</action> |
| 2149 | </object> |
| 2150 | |
| 2151 | <object type="action"> |
| 2152 | <touch key="back" /> |
| 2153 | <action function="page">main</action> |
| 2154 | </object> |
| 2155 | |
| 2156 | <object type="template" name="footer" /> |
| 2157 | </page> |
| 2158 | |
| 2159 | <page name="timezone"> |
| 2160 | <object type="template" name="header" /> |
| 2161 | |
| 2162 | <object type="text" color="%text_color%"> |
| 2163 | <font resource="font" /> |
| 2164 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2165 | <text>Select Time Zone</text> |
| 2166 | </object> |
| 2167 | |
| 2168 | <object type="listbox"> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2169 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2170 | <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2171 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 2172 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2173 | <text>Select Time Zone:</text> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2174 | <icon selected="radio_true" unselected="radio_false" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2175 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2176 | <background color="%listbox_background%" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2177 | <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2178 | <data name="tw_time_zone_guisel" /> |
| 2179 | <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> |
| 2180 | <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> |
| 2181 | <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> |
| 2182 | <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> |
| 2183 | <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> |
| 2184 | <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> |
| 2185 | <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> |
| 2186 | <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> |
| 2187 | <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> |
| 2188 | <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> |
| 2189 | <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> |
| 2190 | <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> |
| 2191 | <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> |
| 2192 | <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> |
| 2193 | <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> |
| 2194 | <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> |
| 2195 | <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> |
| 2196 | <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> |
| 2197 | <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> |
| 2198 | <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> |
| 2199 | <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> |
| 2200 | <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> |
| 2201 | <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> |
| 2202 | <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> |
| 2203 | </object> |
| 2204 | |
| 2205 | <object type="checkbox"> |
| 2206 | <placement x="%col1_medium_x%" y="%row11_text_y%" /> |
| 2207 | <font resource="font" color="%text_color%" /> |
| 2208 | <text>Do you use daylight savings time (DST)?</text> |
| 2209 | <data variable="tw_time_zone_guidst" /> |
| 2210 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2211 | </object> |
| 2212 | |
| 2213 | <object type="text" color="%text_color%"> |
| 2214 | <font resource="font" /> |
| 2215 | <placement x="%center_x%" y="%row13_text_y%" placement="5" /> |
| 2216 | <text>Offset (usually 0): %tw_time_zone_guioffset%</text> |
| 2217 | </object> |
| 2218 | |
| 2219 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2220 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2221 | <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> |
| 2222 | <font resource="font" color="%button_text_color%" /> |
| 2223 | <text>0</text> |
| 2224 | <image resource="medium_button" /> |
| 2225 | <action function="set">tw_time_zone_guioffset=0</action> |
| 2226 | </object> |
| 2227 | |
| 2228 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2229 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2230 | <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> |
| 2231 | <font resource="font" color="%button_text_color%" /> |
| 2232 | <text>15</text> |
| 2233 | <image resource="medium_button" /> |
| 2234 | <action function="set">tw_time_zone_guioffset=15</action> |
| 2235 | </object> |
| 2236 | |
| 2237 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2238 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2239 | <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> |
| 2240 | <font resource="font" color="%button_text_color%" /> |
| 2241 | <text>30</text> |
| 2242 | <image resource="medium_button" /> |
| 2243 | <action function="set">tw_time_zone_guioffset=30</action> |
| 2244 | </object> |
| 2245 | |
| 2246 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2247 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2248 | <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> |
| 2249 | <font resource="font" color="%button_text_color%" /> |
| 2250 | <text>45</text> |
| 2251 | <image resource="medium_button" /> |
| 2252 | <action function="set">tw_time_zone_guioffset=45</action> |
| 2253 | </object> |
| 2254 | |
| 2255 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2256 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2257 | <placement x="%col4_x%" y="%row2_y%" /> |
| 2258 | <font resource="font" color="%button_text_color%" /> |
| 2259 | <text>Set Time Zone</text> |
| 2260 | <image resource="main_button" /> |
| 2261 | <action function="setguitimezone"></action> |
| 2262 | </object> |
| 2263 | |
| 2264 | <object type="text" color="%text_color%"> |
| 2265 | <font resource="font" /> |
| 2266 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 2267 | <text>Current Time Zone: %tw_time_zone%</text> |
| 2268 | </object> |
| 2269 | |
| 2270 | <object type="action"> |
| 2271 | <touch key="home" /> |
| 2272 | <action function="page">main</action> |
| 2273 | </object> |
| 2274 | |
| 2275 | <object type="action"> |
| 2276 | <touch key="back" /> |
| 2277 | <action function="page">settings</action> |
| 2278 | </object> |
| 2279 | |
| 2280 | <object type="template" name="footer" /> |
| 2281 | </page> |
| 2282 | |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2283 | <page name="screen"> |
| 2284 | <object type="template" name="header" /> |
| 2285 | |
| 2286 | <object type="text" color="%text_color%"> |
| 2287 | <font resource="font" /> |
| 2288 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2289 | <text>Screen Settings</text> |
| 2290 | </object> |
| 2291 | |
| 2292 | <object type="text" color="%text_color%"> |
| 2293 | <font resource="font" /> |
| 2294 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 2295 | <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text> |
| 2296 | </object> |
| 2297 | |
| 2298 | <object type="button"> |
| 2299 | <placement x="%col1_medium_x%" y="%row2_medium_y%" /> |
| 2300 | <font resource="font" color="%button_text_color%" /> |
| 2301 | <text>None</text> |
| 2302 | <image resource="medium_button" /> |
| 2303 | <action function="set">tw_screen_timeout_secs=0</action> |
| 2304 | </object> |
| 2305 | |
| 2306 | <object type="button"> |
| 2307 | <placement x="%col2_medium_x%" y="%row2_medium_y%" /> |
| 2308 | <font resource="font" color="%button_text_color%" /> |
| 2309 | <text>60</text> |
| 2310 | <image resource="medium_button" /> |
| 2311 | <action function="set">tw_screen_timeout_secs=60</action> |
| 2312 | </object> |
| 2313 | |
| 2314 | <object type="button"> |
| 2315 | <placement x="%col3_medium_x%" y="%row2_medium_y%" /> |
| 2316 | <font resource="font" color="%button_text_color%" /> |
| 2317 | <text>120</text> |
| 2318 | <image resource="medium_button" /> |
| 2319 | <action function="set">tw_screen_timeout_secs=120</action> |
| 2320 | </object> |
| 2321 | |
| 2322 | <object type="button"> |
| 2323 | <placement x="%col4_medium_x%" y="%row2_medium_y%" /> |
| 2324 | <font resource="font" color="%button_text_color%" /> |
| 2325 | <text>180</text> |
| 2326 | <image resource="medium_button" /> |
| 2327 | <action function="set">tw_screen_timeout_secs=180</action> |
| 2328 | </object> |
| 2329 | |
| 2330 | <object type="text" color="%text_color%"> |
| 2331 | <condition var1="tw_has_brightnesss_file" var2="1" /> |
| 2332 | <font resource="font" /> |
| 2333 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
| 2334 | <text>Brightness: %tw_brightness_display%</text> |
| 2335 | </object> |
| 2336 | |
| 2337 | <object type="button"> |
| 2338 | <condition var1="tw_has_brightnesss_file" var2="1" /> |
| 2339 | <placement x="%col1_medium_x%" y="%row4_medium_y%" /> |
| 2340 | <font resource="font" color="%button_text_color%" /> |
| 2341 | <text>25%</text> |
| 2342 | <image resource="medium_button" /> |
| 2343 | <actions> |
| 2344 | <action function="cmd">echo %tw_brightness_25% > "%tw_brightness_file%"</action> |
| 2345 | <action function="set">tw_brightness_display=25%</action> |
| 2346 | <action function="set">tw_brightness=%tw_brightness_25%</action> |
| 2347 | </actions> |
| 2348 | </object> |
| 2349 | |
| 2350 | <object type="button"> |
| 2351 | <condition var1="tw_has_brightnesss_file" var2="1" /> |
| 2352 | <placement x="%col2_medium_x%" y="%row4_medium_y%" /> |
| 2353 | <font resource="font" color="%button_text_color%" /> |
| 2354 | <text>50%</text> |
| 2355 | <image resource="medium_button" /> |
| 2356 | <actions> |
| 2357 | <action function="cmd">echo %tw_brightness_50% > "%tw_brightness_file%"</action> |
| 2358 | <action function="set">tw_brightness_display=50%</action> |
| 2359 | <action function="set">tw_brightness=%tw_brightness_50%</action> |
| 2360 | </actions> |
| 2361 | </object> |
| 2362 | |
| 2363 | <object type="button"> |
| 2364 | <condition var1="tw_has_brightnesss_file" var2="1" /> |
| 2365 | <placement x="%col3_medium_x%" y="%row4_medium_y%" /> |
| 2366 | <font resource="font" color="%button_text_color%" /> |
| 2367 | <text>75%</text> |
| 2368 | <image resource="medium_button" /> |
| 2369 | <actions> |
| 2370 | <action function="cmd">echo %tw_brightness_75% > "%tw_brightness_file%"</action> |
| 2371 | <action function="set">tw_brightness_display=75%</action> |
| 2372 | <action function="set">tw_brightness=%tw_brightness_75%</action> |
| 2373 | </actions> |
| 2374 | </object> |
| 2375 | |
| 2376 | <object type="button"> |
| 2377 | <condition var1="tw_has_brightnesss_file" var2="1" /> |
| 2378 | <placement x="%col4_medium_x%" y="%row4_medium_y%" /> |
| 2379 | <font resource="font" color="%button_text_color%" /> |
| 2380 | <text>100%</text> |
| 2381 | <image resource="medium_button" /> |
| 2382 | <actions> |
| 2383 | <action function="cmd">echo %tw_brightness_100% > "%tw_brightness_file%"</action> |
| 2384 | <action function="set">tw_brightness_display=100%</action> |
| 2385 | <action function="set">tw_brightness=%tw_brightness_100%</action> |
| 2386 | </actions> |
| 2387 | </object> |
| 2388 | |
| 2389 | <object type="action"> |
| 2390 | <touch key="home" /> |
| 2391 | <action function="page">main</action> |
| 2392 | </object> |
| 2393 | |
| 2394 | <object type="action"> |
| 2395 | <touch key="back" /> |
| 2396 | <action function="page">settings</action> |
| 2397 | </object> |
| 2398 | |
| 2399 | <object type="template" name="footer" /> |
| 2400 | </page> |
| 2401 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2402 | <page name="advanced"> |
| 2403 | <object type="template" name="header" /> |
| 2404 | |
| 2405 | <object type="text" color="%text_color%"> |
| 2406 | <font resource="font" /> |
| 2407 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2408 | <text>Advanced</text> |
| 2409 | </object> |
| 2410 | |
| 2411 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2412 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2413 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2414 | <font resource="font" color="%button_text_color%" /> |
| 2415 | <text>Copy Log to SD</text> |
| 2416 | <image resource="main_button" /> |
| 2417 | <actions> |
| 2418 | <action function="set">tw_back=advanced</action> |
| 2419 | <action function="set">tw_action=copylog</action> |
| 2420 | <action function="set">tw_text1=Copy Log to SD Card?</action> |
| 2421 | <action function="set">tw_action_text1=Copying Log to SD Card...</action> |
| 2422 | <action function="set">tw_complete_text1=Log Copy Complete</action> |
| 2423 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2424 | <action function="page">confirm_action</action> |
| 2425 | </actions> |
| 2426 | </object> |
| 2427 | |
| 2428 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2429 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2430 | <placement x="%col2_x%" y="%row1_y%" /> |
| 2431 | <font resource="font" color="%button_text_color%" /> |
| 2432 | <text>Fix Permissions</text> |
| 2433 | <image resource="main_button" /> |
| 2434 | <actions> |
| 2435 | <action function="set">tw_back=advanced</action> |
| 2436 | <action function="set">tw_action=fixpermissions</action> |
| 2437 | <action function="set">tw_text1=Fix Permissions?</action> |
| 2438 | <action function="set">tw_action_text1=Fixing Permissions...</action> |
| 2439 | <action function="set">tw_complete_text1=Fix Permissions Complete</action> |
| 2440 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2441 | <action function="set">tw_show_reboot=1</action> |
| 2442 | <action function="page">confirm_action</action> |
| 2443 | </actions> |
| 2444 | </object> |
| 2445 | |
| 2446 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2447 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2448 | <placement x="%col3_x%" y="%row1_y%" /> |
| 2449 | <font resource="font" color="%button_text_color%" /> |
| 2450 | <text>Terminal Command</text> |
| 2451 | <image resource="main_button" /> |
| 2452 | <action function="page">terminalfolder</action> |
| 2453 | </object> |
| 2454 | |
| 2455 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2456 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2457 | <placement x="%col4_x%" y="%row1_y%" /> |
| 2458 | <font resource="font" color="%button_text_color%" /> |
| 2459 | <text>ADB Sideload</text> |
| 2460 | <image resource="main_button" /> |
bigbiff bigbiff | 7ce7f0c | 2013-01-25 09:54:04 -0500 | [diff] [blame] | 2461 | <action function="page">sideload</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2462 | </object> |
| 2463 | |
| 2464 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2465 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2466 | <condition var1="tw_allow_partition_sdcard" var2="1" /> |
| 2467 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2468 | <font resource="font" color="%button_text_color%" /> |
| 2469 | <text>Partition SD Card</text> |
| 2470 | <image resource="main_button" /> |
| 2471 | <action function="page">partsdcard</action> |
| 2472 | </object> |
| 2473 | |
| 2474 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2475 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2476 | <placement x="%col2_x%" y="%row2_y%" /> |
| 2477 | <font resource="font" color="%button_text_color%" /> |
| 2478 | <text>File Manager</text> |
| 2479 | <image resource="main_button" /> |
| 2480 | <action function="page">filemanagerlist</action> |
| 2481 | </object> |
| 2482 | |
| 2483 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2484 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2485 | <placement x="%col3_x%" y="%row2_y%" /> |
| 2486 | <font resource="font" color="%button_text_color%" /> |
| 2487 | <text>Reload Theme</text> |
| 2488 | <image resource="main_button" /> |
| 2489 | <action function="reload"></action> |
| 2490 | </object> |
| 2491 | |
| 2492 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2493 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2494 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2495 | <placement x="%col4_x%" y="%row2_y%" /> |
| 2496 | <font resource="font" color="%button_text_color%" /> |
| 2497 | <text>HTC Dumlock</text> |
| 2498 | <image resource="main_button" /> |
| 2499 | <action function="page">htcdumlock</action> |
| 2500 | </object> |
| 2501 | |
| 2502 | <object type="action"> |
| 2503 | <touch key="home" /> |
| 2504 | <action function="page">main</action> |
| 2505 | </object> |
| 2506 | |
| 2507 | <object type="action"> |
| 2508 | <touch key="back" /> |
| 2509 | <action function="page">main</action> |
| 2510 | </object> |
| 2511 | |
| 2512 | <object type="template" name="footer" /> |
| 2513 | </page> |
| 2514 | |
| 2515 | <page name="partsdcard"> |
| 2516 | <object type="template" name="header" /> |
| 2517 | |
| 2518 | <object type="text" color="%text_color%"> |
| 2519 | <font resource="font" /> |
| 2520 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2521 | <text>Partition SD Card</text> |
| 2522 | </object> |
| 2523 | |
| 2524 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2525 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2526 | <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> |
| 2527 | <font resource="font" color="%button_text_color%" /> |
| 2528 | <text></text> |
| 2529 | <image resource="minus_button" /> |
| 2530 | <action function="addsubtract">tw_sdext_size-128</action> |
| 2531 | </object> |
| 2532 | |
| 2533 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2534 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2535 | <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> |
| 2536 | <font resource="font" color="%button_text_color%" /> |
| 2537 | <text></text> |
| 2538 | <image resource="plus_button" /> |
| 2539 | <action function="addsubtract">tw_sdext_size+128</action> |
| 2540 | </object> |
| 2541 | |
| 2542 | <object type="text" color="%text_color%"> |
| 2543 | <font resource="font" /> |
| 2544 | <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> |
| 2545 | <text>EXT Size: %tw_sdext_size%</text> |
| 2546 | </object> |
| 2547 | |
| 2548 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2549 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2550 | <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> |
| 2551 | <font resource="font" color="%button_text_color%" /> |
| 2552 | <text></text> |
| 2553 | <image resource="minus_button" /> |
| 2554 | <action function="addsubtract">tw_swap_size-32</action> |
| 2555 | </object> |
| 2556 | |
| 2557 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2558 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2559 | <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> |
| 2560 | <font resource="font" color="%button_text_color%" /> |
| 2561 | <text></text> |
| 2562 | <image resource="plus_button" /> |
| 2563 | <action function="addsubtract">tw_swap_size+32</action> |
| 2564 | </object> |
| 2565 | |
| 2566 | <object type="text" color="%text_color%"> |
| 2567 | <font resource="font" /> |
| 2568 | <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> |
| 2569 | <text>Swap Size: %tw_swap_size%</text> |
| 2570 | </object> |
| 2571 | |
| 2572 | <object type="text" color="%text_color%"> |
| 2573 | <font resource="font" /> |
| 2574 | <placement x="%center_x%" y="%row8_text_y%" placement="5" /> |
| 2575 | <text>File system: %tw_sdpart_file_system%</text> |
| 2576 | </object> |
| 2577 | |
| 2578 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2579 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2580 | <placement x="%col2_medium_x%" y="%row4_medium_y%" /> |
| 2581 | <font resource="font" color="%button_text_color%" /> |
| 2582 | <text>EXT3</text> |
| 2583 | <image resource="medium_button" /> |
| 2584 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 2585 | </object> |
| 2586 | |
| 2587 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2588 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2589 | <condition var1="tw_sdext_disable_ext4" var2="0" /> |
| 2590 | <placement x="%col3_medium_x%" y="%row4_medium_y%" /> |
| 2591 | <font resource="font" color="%button_text_color%" /> |
| 2592 | <text>EXT4</text> |
| 2593 | <image resource="medium_button" /> |
| 2594 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 2595 | </object> |
| 2596 | |
| 2597 | <object type="text" color="%text_color%"> |
| 2598 | <font resource="font" /> |
| 2599 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
| 2600 | <text>You will lose all files on your SD card!</text> |
| 2601 | </object> |
| 2602 | |
| 2603 | <object type="text" color="%text_color%"> |
| 2604 | <font resource="font" /> |
| 2605 | <placement x="%center_x%" y="%row13_text_y%" placement="5" /> |
| 2606 | <text>This action cannot be undone!</text> |
| 2607 | </object> |
| 2608 | |
| 2609 | <object type="slider"> |
| 2610 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2611 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2612 | <actions> |
| 2613 | <action function="set">tw_back=partsdcard</action> |
| 2614 | <action function="set">tw_action=partitionsd</action> |
| 2615 | <action function="set">tw_has_action2=1</action> |
| 2616 | <action function="set">tw_action2=set</action> |
| 2617 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
| 2618 | <action function="set">tw_action_text1=Partitioning SD Card...</action> |
| 2619 | <action function="set">tw_action_text2=This will take a few minutes.</action> |
| 2620 | <action function="set">tw_complete_text1=Partitioning Complete</action> |
| 2621 | <action function="page">action_page</action> |
| 2622 | </actions> |
| 2623 | </object> |
| 2624 | |
| 2625 | <object type="text" color="%text_color%"> |
| 2626 | <font resource="font" /> |
| 2627 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2628 | <text>Swipe to Confirm Partition</text> |
| 2629 | </object> |
| 2630 | |
| 2631 | <object type="action"> |
| 2632 | <touch key="home" /> |
| 2633 | <action function="page">main</action> |
| 2634 | </object> |
| 2635 | |
| 2636 | <object type="action"> |
| 2637 | <touch key="back" /> |
| 2638 | <action function="page">advanced</action> |
| 2639 | </object> |
| 2640 | |
| 2641 | <object type="template" name="footer" /> |
| 2642 | </page> |
| 2643 | |
| 2644 | |
| 2645 | <page name="htcdumlock"> |
| 2646 | <object type="template" name="header" /> |
| 2647 | |
| 2648 | <object type="text" color="%text_color%"> |
| 2649 | <font resource="font" /> |
| 2650 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2651 | <text>HTC Dumlock</text> |
| 2652 | </object> |
| 2653 | |
| 2654 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2655 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2656 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2657 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2658 | <font resource="font" color="%button_text_color%" /> |
| 2659 | <text>Restore Original Boot</text> |
| 2660 | <image resource="main_button" /> |
| 2661 | <actions> |
| 2662 | <action function="set">tw_back=htcdumlock</action> |
| 2663 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
| 2664 | <action function="set">tw_text1=Restore original boot image?</action> |
| 2665 | <action function="set">tw_action_text1=Restoring Original Boot...</action> |
| 2666 | <action function="set">tw_complete_text1=Restore Original Boot Complete</action> |
| 2667 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2668 | <action function="page">confirm_action</action> |
| 2669 | </actions> |
| 2670 | </object> |
| 2671 | |
| 2672 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2673 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2674 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2675 | <placement x="%col2_x%" y="%row1_y%" /> |
| 2676 | <font resource="font" color="%button_text_color%" /> |
| 2677 | <text>Reflash Recovery->Boot</text> |
| 2678 | <image resource="main_button" /> |
| 2679 | <actions> |
| 2680 | <action function="set">tw_back=htcdumlock</action> |
| 2681 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
| 2682 | <action function="set">tw_text1=Reflash recovery to boot?</action> |
| 2683 | <action function="set">tw_action_text1=Flashing recovery to boot...</action> |
| 2684 | <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> |
| 2685 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2686 | <action function="page">confirm_action</action> |
| 2687 | </actions> |
| 2688 | </object> |
| 2689 | |
| 2690 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2691 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2692 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2693 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2694 | <font resource="font" color="%button_text_color%" /> |
| 2695 | <text>Install HTC Dumlock</text> |
| 2696 | <image resource="main_button" /> |
| 2697 | <actions> |
| 2698 | <action function="set">tw_back=htcdumlock</action> |
| 2699 | <action function="set">tw_action=installhtcdumlock</action> |
| 2700 | <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> |
| 2701 | <action function="set">tw_action_text1=Installing HTC Dumlock...</action> |
| 2702 | <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> |
| 2703 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2704 | <action function="page">confirm_action</action> |
| 2705 | </actions> |
| 2706 | </object> |
| 2707 | |
| 2708 | <object type="action"> |
| 2709 | <touch key="home" /> |
| 2710 | <action function="page">main</action> |
| 2711 | </object> |
| 2712 | |
| 2713 | <object type="action"> |
| 2714 | <touch key="back" /> |
| 2715 | <action function="page">advanced</action> |
| 2716 | </object> |
| 2717 | |
| 2718 | <object type="template" name="footer" /> |
| 2719 | </page> |
| 2720 | |
| 2721 | <page name="lock"> |
| 2722 | <background color="#000000A0" /> |
| 2723 | |
| 2724 | <object type="image"> |
| 2725 | <image resource="unlock-icon" /> |
| 2726 | <placement x="%lock_x%" y="%lock_y%" /> |
| 2727 | </object> |
| 2728 | |
| 2729 | <object type="slider"> |
| 2730 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2731 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2732 | <action function="overlay"></action> |
| 2733 | </object> |
| 2734 | |
| 2735 | <object type="text" color="%text_color%"> |
| 2736 | <font resource="font" /> |
| 2737 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2738 | <text>Swipe to Unlock</text> |
| 2739 | </object> |
| 2740 | </page> |
| 2741 | |
| 2742 | |
| 2743 | <page name="filemanagerlist"> |
| 2744 | <object type="template" name="header" /> |
| 2745 | |
| 2746 | <object type="text" color="%text_color%"> |
| 2747 | <font resource="font" /> |
| 2748 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 2749 | <text>File Manager: Select a File or Folder</text> |
| 2750 | </object> |
| 2751 | |
| 2752 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 2753 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2754 | <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> |
| 2755 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 2756 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2757 | <text>Folders:</text> |
| 2758 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2759 | <sort name="tw_gui_sort_order" /> |
| 2760 | <icon folder="folder_icon" file="file_icon" /> |
| 2761 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 2762 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2763 | <filter folders="1" files="0" /> |
| 2764 | <path name="tw_file_location1" default="/sdcard" /> |
| 2765 | <data name="select" /> |
| 2766 | <selection name="tw_selection1" /> |
| 2767 | </object> |
| 2768 | |
| 2769 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 2770 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2771 | <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> |
| 2772 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 2773 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2774 | <text>%tw_file_location1%</text> |
| 2775 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2776 | <sort name="tw_gui_sort_order" /> |
| 2777 | <icon folder="folder_icon" file="file_icon" /> |
| 2778 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 2779 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2780 | <filter folders="0" files="1" /> |
| 2781 | <path name="tw_file_location1" default="/" /> |
| 2782 | <data name="tw_filename1" /> |
| 2783 | <selection name="tw_selection1" /> |
| 2784 | </object> |
| 2785 | |
| 2786 | <object type="template" name="sort_options" /> |
| 2787 | |
| 2788 | <object type="action"> |
| 2789 | <actions> |
| 2790 | <action function="set">tw_fm_type=File</action> |
| 2791 | <action function="set">tw_fm_isfolder=0</action> |
| 2792 | </actions> |
| 2793 | </object> |
| 2794 | |
| 2795 | <object type="action"> |
| 2796 | <touch key="home" /> |
| 2797 | <action function="page">main</action> |
| 2798 | </object> |
| 2799 | |
| 2800 | <object type="action"> |
| 2801 | <touch key="back" /> |
| 2802 | <action function="page">advanced</action> |
| 2803 | </object> |
| 2804 | |
| 2805 | <object type="action"> |
| 2806 | <condition var1="tw_filename1" op="modified" /> |
| 2807 | <actions> |
| 2808 | <action function="page">filemanageroptions</action> |
| 2809 | </actions> |
| 2810 | </object> |
| 2811 | |
| 2812 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2813 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2814 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 2815 | <font resource="font" color="%button_text_color%" /> |
| 2816 | <text>Select Folder</text> |
| 2817 | <image resource="main_button" /> |
| 2818 | <actions> |
| 2819 | <action function="set">tw_filename1=tw_file_location1</action> |
| 2820 | <action function="set">tw_fm_isfolder=1</action> |
| 2821 | <action function="set">tw_fm_type=Folder</action> |
| 2822 | <action function="page">filemanageroptions</action> |
| 2823 | </actions> |
| 2824 | </object> |
| 2825 | |
| 2826 | <object type="template" name="footer" /> |
| 2827 | </page> |
| 2828 | |
| 2829 | <page name="filemanageroptions"> |
| 2830 | <object type="template" name="header" /> |
| 2831 | |
| 2832 | <object type="text" color="%text_color%"> |
| 2833 | <font resource="font" /> |
| 2834 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 2835 | <text>%tw_fm_type% Selected:</text> |
| 2836 | </object> |
| 2837 | |
| 2838 | <object type="text" color="%text_color%"> |
| 2839 | <font resource="font" /> |
| 2840 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 2841 | <text>%tw_filename1%</text> |
| 2842 | </object> |
| 2843 | |
| 2844 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2845 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2846 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 2847 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2848 | <font resource="font" color="%button_text_color%" /> |
| 2849 | <text>Copy File</text> |
| 2850 | <image resource="main_button" /> |
| 2851 | <actions> |
| 2852 | <action function="set">tw_filemanager_command=cp</action> |
| 2853 | <action function="set">tw_fm_text1=Copying</action> |
| 2854 | <action function="page">choosedestinationfolder</action> |
| 2855 | </actions> |
| 2856 | </object> |
| 2857 | |
| 2858 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2859 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2860 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 2861 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2862 | <font resource="font" color="%button_text_color%" /> |
| 2863 | <text>Copy Folder</text> |
| 2864 | <image resource="main_button" /> |
| 2865 | <actions> |
| 2866 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> |
| 2867 | <action function="set">tw_fm_text1=Copying</action> |
| 2868 | <action function="page">choosedestinationfolder</action> |
| 2869 | </actions> |
| 2870 | </object> |
| 2871 | |
| 2872 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2873 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2874 | <placement x="%col2_x%" y="%row2_y%" /> |
| 2875 | <font resource="font" color="%button_text_color%" /> |
| 2876 | <text>Move</text> |
| 2877 | <image resource="main_button" /> |
| 2878 | <actions> |
| 2879 | <action function="set">tw_filemanager_command=mv</action> |
| 2880 | <action function="set">tw_fm_text1=Moving</action> |
| 2881 | <action function="page">choosedestinationfolder</action> |
| 2882 | </actions> |
| 2883 | </object> |
| 2884 | |
| 2885 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2886 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2887 | <placement x="%col3_x%" y="%row2_y%" /> |
| 2888 | <font resource="font" color="%button_text_color%" /> |
| 2889 | <text>chmod 755</text> |
| 2890 | <image resource="main_button" /> |
| 2891 | <actions> |
| 2892 | <action function="set">tw_filemanager_command=chmod 755</action> |
| 2893 | <action function="set">tw_fm_text1=chmod 755</action> |
| 2894 | <action function="set">tw_fm_text2=</action> |
| 2895 | <action function="set">tw_fm_text3=</action> |
| 2896 | <action function="set">tw_include_text3=0</action> |
| 2897 | <action function="set">tw_back=filemanageroptions</action> |
| 2898 | <action function="page">filemanagerconfirm</action> |
| 2899 | </actions> |
| 2900 | </object> |
| 2901 | |
| 2902 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2903 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2904 | <placement x="%col4_x%" y="%row2_y%" /> |
| 2905 | <font resource="font" color="%button_text_color%" /> |
| 2906 | <text>chmod</text> |
| 2907 | <image resource="main_button" /> |
| 2908 | <actions> |
| 2909 | <action function="set">tw_filemanager_rename=0000</action> |
| 2910 | <action function="set">tw_fm_text2=</action> |
| 2911 | <action function="set">tw_fm_text3=</action> |
| 2912 | <action function="set">tw_include_text3=0</action> |
| 2913 | <action function="set">tw_back=filemanageroptions</action> |
| 2914 | <action function="page">filemanagerchmod</action> |
| 2915 | </actions> |
| 2916 | </object> |
| 2917 | |
| 2918 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2919 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2920 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2921 | <font resource="font" color="%button_text_color%" /> |
| 2922 | <text>Delete</text> |
| 2923 | <image resource="main_button" /> |
| 2924 | <actions> |
| 2925 | <action function="set">tw_filemanager_command=rm -rf</action> |
| 2926 | <action function="set">tw_fm_text1=Deleting</action> |
| 2927 | <action function="set">tw_fm_text2=</action> |
| 2928 | <action function="set">tw_fm_text3=</action> |
| 2929 | <action function="set">tw_include_text3=0</action> |
| 2930 | <action function="set">tw_back=filemanageroptions</action> |
| 2931 | <action function="page">filemanagerconfirm</action> |
| 2932 | </actions> |
| 2933 | </object> |
| 2934 | |
| 2935 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2936 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2937 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 2938 | <placement x="%col4_x%" y="%row1_y%" /> |
| 2939 | <font resource="font" color="%button_text_color%" /> |
| 2940 | <text>Rename File</text> |
| 2941 | <image resource="main_button" /> |
| 2942 | <actions> |
| 2943 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 2944 | <action function="set">tw_fm_text1=Renaming</action> |
| 2945 | <action function="set">tw_filemanager_command=mv</action> |
| 2946 | <action function="page">filemanagerrenamefile</action> |
| 2947 | </actions> |
| 2948 | </object> |
| 2949 | |
| 2950 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2951 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2952 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 2953 | <placement x="%col4_x%" y="%row1_y%" /> |
| 2954 | <font resource="font" color="%button_text_color%" /> |
| 2955 | <text>Rename Folder</text> |
| 2956 | <image resource="main_button" /> |
| 2957 | <actions> |
| 2958 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 2959 | <action function="set">tw_fm_text1=Renaming</action> |
| 2960 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 2961 | <action function="page">filemanagerrenamefolder</action> |
| 2962 | </actions> |
| 2963 | </object> |
| 2964 | |
| 2965 | <object type="action"> |
| 2966 | <touch key="home" /> |
| 2967 | <action function="page">main</action> |
| 2968 | </object> |
| 2969 | |
| 2970 | <object type="action"> |
| 2971 | <touch key="back" /> |
| 2972 | <action function="page">filemanagerlist</action> |
| 2973 | </object> |
| 2974 | |
| 2975 | <object type="template" name="footer" /> |
| 2976 | </page> |
| 2977 | |
| 2978 | <page name="choosedestinationfolder"> |
| 2979 | <object type="template" name="header" /> |
| 2980 | |
| 2981 | <object type="text" color="%text_color%"> |
| 2982 | <font resource="font" /> |
| 2983 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 2984 | <text>Browse to Destination Folder & Press Select</text> |
| 2985 | </object> |
| 2986 | |
| 2987 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 2988 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2989 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 2990 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 2991 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2992 | <text>%tw_file_location2%</text> |
| 2993 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2994 | <sort name="tw_gui_sort_order" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 2995 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2996 | <icon folder="folder_icon" file="file_icon" /> |
| 2997 | <background color="%fileselector_background%" /> |
| 2998 | <filter folders="1" files="0" /> |
| 2999 | <path name="tw_file_location2" default="/sdcard" /> |
| 3000 | <data name="tw_filename2" /> |
| 3001 | </object> |
| 3002 | |
| 3003 | <object type="template" name="sort_options" /> |
| 3004 | |
| 3005 | <object type="action"> |
| 3006 | <touch key="home" /> |
| 3007 | <action function="page">main</action> |
| 3008 | </object> |
| 3009 | |
| 3010 | <object type="action"> |
| 3011 | <touch key="back" /> |
| 3012 | <action function="page">filemanageroptions</action> |
| 3013 | </object> |
| 3014 | |
| 3015 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3016 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3017 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3018 | <font resource="font" color="%button_text_color%" /> |
| 3019 | <text>Select Folder</text> |
| 3020 | <image resource="main_button" /> |
| 3021 | <actions> |
| 3022 | <action function="set">tw_fm_text2=to</action> |
| 3023 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 3024 | <action function="set">tw_include_text3=1</action> |
| 3025 | <action function="set">tw_back=filemanageroptions</action> |
| 3026 | <action function="page">filemanagerconfirm</action> |
| 3027 | </actions> |
| 3028 | </object> |
| 3029 | |
| 3030 | <object type="template" name="footer" /> |
| 3031 | </page> |
| 3032 | |
| 3033 | <page name="filemanagerrenamefile"> |
| 3034 | <object type="template" name="header" /> |
| 3035 | |
| 3036 | <object type="text" color="%text_color%"> |
| 3037 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3038 | <font resource="font" /> |
| 3039 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3040 | </object> |
| 3041 | |
| 3042 | <object type="input"> |
| 3043 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3044 | <background color="%input_background_color%" /> |
| 3045 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3046 | <font resource="font" color="%text_color%" /> |
| 3047 | <text>%tw_filemanager_rename%</text> |
| 3048 | <data name="tw_filemanager_rename" /> |
| 3049 | <restrict minlen="1" maxlen="128" /> |
| 3050 | <actions> |
| 3051 | <action function="set">tw_fm_text2=to</action> |
| 3052 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 3053 | <action function="set">tw_include_text3=1</action> |
| 3054 | <action function="set">tw_back=filemanageroptions</action> |
| 3055 | <action function="page">filemanagerconfirm</action> |
| 3056 | </actions> |
| 3057 | </object> |
| 3058 | |
| 3059 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3060 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3061 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3062 | <font resource="font" color="%button_text_color%" /> |
| 3063 | <text>Cancel</text> |
| 3064 | <image resource="main_button" /> |
| 3065 | <action function="page">filemanageroptions</action> |
| 3066 | </object> |
| 3067 | |
| 3068 | <object type="template" name="keyboardtemplate" /> |
| 3069 | |
| 3070 | <object type="action"> |
| 3071 | <touch key="home" /> |
| 3072 | <action function="page">main</action> |
| 3073 | </object> |
| 3074 | |
| 3075 | <object type="action"> |
| 3076 | <touch key="back" /> |
| 3077 | <action function="page">filemanageroptions</action> |
| 3078 | </object> |
| 3079 | |
| 3080 | <object type="template" name="footer" /> |
| 3081 | </page> |
| 3082 | |
| 3083 | <page name="filemanagerrenamefolder"> |
| 3084 | <object type="template" name="header" /> |
| 3085 | |
| 3086 | <object type="text" color="%text_color%"> |
| 3087 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3088 | <font resource="font" /> |
| 3089 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3090 | </object> |
| 3091 | |
| 3092 | <object type="input"> |
| 3093 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3094 | <background color="%input_background_color%" /> |
| 3095 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3096 | <font resource="font" color="%text_color%" /> |
| 3097 | <text>%tw_filemanager_rename%</text> |
| 3098 | <data name="tw_filemanager_rename" /> |
| 3099 | <restrict minlen="1" maxlen="128" /> |
| 3100 | <actions> |
| 3101 | <action function="set">tw_fm_text2=to</action> |
| 3102 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 3103 | <action function="set">tw_include_text3=1</action> |
| 3104 | <action function="set">tw_back=filemanageroptions</action> |
| 3105 | <action function="page">filemanagerconfirm</action> |
| 3106 | </actions> |
| 3107 | </object> |
| 3108 | |
| 3109 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3110 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3111 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3112 | <font resource="font" color="%button_text_color%" /> |
| 3113 | <text>Cancel</text> |
| 3114 | <image resource="main_button" /> |
| 3115 | <action function="page">filemanageroptions</action> |
| 3116 | </object> |
| 3117 | |
| 3118 | <object type="template" name="keyboardtemplate" /> |
| 3119 | |
| 3120 | <object type="action"> |
| 3121 | <touch key="home" /> |
| 3122 | <action function="page">main</action> |
| 3123 | </object> |
| 3124 | |
| 3125 | <object type="action"> |
| 3126 | <touch key="back" /> |
| 3127 | <action function="page">filemanageroptions</action> |
| 3128 | </object> |
| 3129 | |
| 3130 | <object type="template" name="footer" /> |
| 3131 | </page> |
| 3132 | |
| 3133 | <page name="filemanagerchmod"> |
| 3134 | <object type="template" name="header" /> |
| 3135 | |
| 3136 | <object type="text" color="%text_color%"> |
| 3137 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3138 | <font resource="font" /> |
| 3139 | <text>Please Enter New Permissions</text> |
| 3140 | </object> |
| 3141 | |
| 3142 | <object type="input"> |
| 3143 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3144 | <background color="%input_background_color%" /> |
| 3145 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3146 | <font resource="font" color="%text_color%" /> |
| 3147 | <text>%tw_filemanager_rename%</text> |
| 3148 | <data name="tw_filemanager_rename" /> |
| 3149 | <restrict minlen="3" maxlen="4" allow="0123456789" /> |
| 3150 | <actions> |
| 3151 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 3152 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 3153 | <action function="set">tw_back=filemanageroptions</action> |
| 3154 | <action function="page">filemanagerconfirm</action> |
| 3155 | </actions> |
| 3156 | </object> |
| 3157 | |
| 3158 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3159 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3160 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3161 | <font resource="font" color="%button_text_color%" /> |
| 3162 | <text>Cancel</text> |
| 3163 | <image resource="main_button" /> |
| 3164 | <action function="page">filemanageroptions</action> |
| 3165 | </object> |
| 3166 | |
| 3167 | <object type="template" name="keyboardtemplate" /> |
| 3168 | |
| 3169 | <object type="action"> |
| 3170 | <touch key="home" /> |
| 3171 | <action function="page">main</action> |
| 3172 | </object> |
| 3173 | |
| 3174 | <object type="action"> |
| 3175 | <touch key="back" /> |
| 3176 | <action function="page">filemanageroptions</action> |
| 3177 | </object> |
| 3178 | |
| 3179 | <object type="template" name="footer" /> |
| 3180 | </page> |
| 3181 | |
| 3182 | <page name="filemanagerconfirm"> |
| 3183 | <object type="template" name="header" /> |
| 3184 | |
| 3185 | <object type="text" color="%text_color%"> |
| 3186 | <font resource="font" /> |
| 3187 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3188 | <text>%tw_fm_text1%</text> |
| 3189 | </object> |
| 3190 | |
| 3191 | <object type="text" color="%text_color%"> |
| 3192 | <font resource="font" /> |
| 3193 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3194 | <text>%tw_filename1%</text> |
| 3195 | </object> |
| 3196 | |
| 3197 | <object type="text" color="%text_color%"> |
| 3198 | <font resource="font" /> |
| 3199 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3200 | <text>%tw_fm_text2%</text> |
| 3201 | </object> |
| 3202 | |
| 3203 | <object type="text" color="%text_color%"> |
| 3204 | <font resource="font" /> |
| 3205 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3206 | <text>%tw_fm_text3%</text> |
| 3207 | </object> |
| 3208 | |
| 3209 | <object type="text" color="%text_color%"> |
| 3210 | <font resource="font" /> |
| 3211 | <placement x="%center_x%" y="%row10_text_y%" placement="5"/> |
| 3212 | <text>Press back button to cancel.</text> |
| 3213 | </object> |
| 3214 | |
| 3215 | <object type="slider"> |
| 3216 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3217 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3218 | <action function="page">filemanageracction</action> |
| 3219 | </object> |
| 3220 | |
| 3221 | <object type="text" color="%text_color%"> |
| 3222 | <font resource="font" /> |
| 3223 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3224 | <text>Swipe to Confirm</text> |
| 3225 | </object> |
| 3226 | |
| 3227 | <object type="action"> |
| 3228 | <touch key="back" /> |
| 3229 | <action function="page">%tw_back%</action> |
| 3230 | </object> |
| 3231 | |
| 3232 | <object type="action"> |
| 3233 | <touch key="home" /> |
| 3234 | <action function="page">main</action> |
| 3235 | </object> |
| 3236 | |
| 3237 | <object type="template" name="footer" /> |
| 3238 | </page> |
| 3239 | |
| 3240 | <page name="filemanageracction"> |
| 3241 | <object type="template" name="header" /> |
| 3242 | |
| 3243 | <object type="text" color="%text_color%"> |
| 3244 | <font resource="font" /> |
| 3245 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3246 | <text>%tw_fm_text1%</text> |
| 3247 | </object> |
| 3248 | |
| 3249 | <object type="template" name="action_page_console" /> |
| 3250 | |
| 3251 | <object type="template" name="progress_bar" /> |
| 3252 | |
| 3253 | <object type="action"> |
| 3254 | <conditions> |
| 3255 | <condition var1="tw_operation_state" var2="1" /> |
| 3256 | <condition var1="tw_operation_status" var2="0" /> |
| 3257 | </conditions> |
| 3258 | <actions> |
| 3259 | <action function="set">tw_back=filemanagerlist</action> |
| 3260 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3261 | <action function="page">action_complete</action> |
| 3262 | </actions> |
| 3263 | </object> |
| 3264 | |
| 3265 | <object type="action"> |
| 3266 | <conditions> |
| 3267 | <condition var1="tw_operation_state" var2="1" /> |
| 3268 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3269 | </conditions> |
| 3270 | <actions> |
| 3271 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3272 | <action function="page">action_complete</action> |
| 3273 | </actions> |
| 3274 | </object> |
| 3275 | |
| 3276 | <object type="action"> |
| 3277 | <condition var1="tw_include_text3" var2="0" /> |
| 3278 | <actions> |
| 3279 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 3280 | </actions> |
| 3281 | </object> |
| 3282 | |
| 3283 | <object type="action"> |
| 3284 | <condition var1="tw_include_text3" var2="1" /> |
| 3285 | <actions> |
| 3286 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 3287 | </actions> |
| 3288 | </object> |
| 3289 | </page> |
| 3290 | |
| 3291 | <page name="decrypt"> |
| 3292 | <object type="template" name="header" /> |
| 3293 | |
| 3294 | <object type="text" color="%text_color%"> |
| 3295 | <font resource="font" /> |
| 3296 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3297 | <text>Please Enter Your Password</text> |
| 3298 | </object> |
| 3299 | |
| 3300 | <object type="input"> |
| 3301 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3302 | <background color="%input_background_color%" /> |
| 3303 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3304 | <font resource="font" color="%text_color%" /> |
| 3305 | <text>%tw_crypto_display%</text> |
| 3306 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> |
| 3307 | <restrict minlen="1" maxlen="254" /> |
| 3308 | <actions> |
| 3309 | <action function="page">trydecrypt</action> |
| 3310 | </actions> |
| 3311 | </object> |
| 3312 | |
| 3313 | <object type="text" color="%text_fail_color%"> |
| 3314 | <condition var1="tw_password_fail" var2="1" /> |
| 3315 | <font resource="font" /> |
| 3316 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 3317 | <text>Password Failed, Please Try Again</text> |
| 3318 | </object> |
| 3319 | |
| 3320 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3321 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3322 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3323 | <font resource="font" color="%button_text_color%" /> |
| 3324 | <text>Cancel</text> |
| 3325 | <image resource="main_button" /> |
| 3326 | <actions> |
Dees_Troy | 6ed34b7 | 2013-01-25 15:01:29 +0000 | [diff] [blame] | 3327 | <action function="set">tw_page_done=1</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3328 | <action function="page">main</action> |
| 3329 | </actions> |
| 3330 | </object> |
| 3331 | |
| 3332 | <object type="template" name="keyboardtemplate" /> |
| 3333 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3334 | <object type="template" name="footer" /> |
| 3335 | </page> |
| 3336 | |
| 3337 | <page name="trydecrypt"> |
| 3338 | <object type="template" name="header" /> |
| 3339 | |
| 3340 | <object type="text" color="%text_color%"> |
| 3341 | <font resource="font" /> |
| 3342 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3343 | <text>Trying Decryption with Your Password</text> |
| 3344 | </object> |
| 3345 | |
| 3346 | <object type="template" name="action_page_console" /> |
| 3347 | |
| 3348 | <object type="template" name="progress_bar" /> |
| 3349 | |
| 3350 | <object type="action"> |
| 3351 | <action function="decrypt"></action> |
| 3352 | </object> |
| 3353 | |
| 3354 | <object type="action"> |
| 3355 | <conditions> |
| 3356 | <condition var1="tw_operation_state" var2="1" /> |
| 3357 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3358 | </conditions> |
| 3359 | <actions> |
| 3360 | <action function="set">tw_password_fail=1</action> |
| 3361 | <action function="page">decrypt</action> |
| 3362 | </actions> |
| 3363 | </object> |
| 3364 | |
| 3365 | <object type="action"> |
| 3366 | <conditions> |
| 3367 | <condition var1="tw_operation_state" var2="1" /> |
| 3368 | <condition var1="tw_operation_status" op="=" var2="0" /> |
| 3369 | </conditions> |
Dees_Troy | 6ed34b7 | 2013-01-25 15:01:29 +0000 | [diff] [blame] | 3370 | <actions> |
| 3371 | <action function="set">tw_page_done=1</action> |
| 3372 | <action function="page">main</action> |
| 3373 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3374 | </object> |
| 3375 | </page> |
| 3376 | |
| 3377 | <page name="terminalfolder"> |
| 3378 | <object type="template" name="header" /> |
| 3379 | |
| 3380 | <object type="text" color="%text_color%"> |
| 3381 | <font resource="font" /> |
| 3382 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3383 | <text>Browse to Starting Folder</text> |
| 3384 | </object> |
| 3385 | |
| 3386 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3387 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3388 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 3389 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 3390 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3391 | <text>%tw_terminal_location%</text> |
| 3392 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3393 | <sort name="tw_gui_sort_order" /> |
| 3394 | <icon folder="folder_icon" file="file_icon" /> |
| 3395 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3396 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3397 | <filter folders="1" files="0" /> |
| 3398 | <path name="tw_terminal_location" default="/" /> |
| 3399 | <data name="tw_terminal" /> |
| 3400 | <selection name="tw_terminal_selection" /> |
| 3401 | </object> |
| 3402 | |
| 3403 | <object type="template" name="sort_options" /> |
| 3404 | |
| 3405 | <object type="action"> |
| 3406 | <touch key="home" /> |
| 3407 | <action function="page">main</action> |
| 3408 | </object> |
| 3409 | |
| 3410 | <object type="action"> |
| 3411 | <touch key="back" /> |
| 3412 | <action function="page">advanced</action> |
| 3413 | </object> |
| 3414 | |
| 3415 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3416 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3417 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3418 | <font resource="font" color="%button_text_color%" /> |
| 3419 | <text>Select Folder</text> |
| 3420 | <image resource="main_button" /> |
| 3421 | <actions> |
| 3422 | <action function="page">terminalcommand</action> |
| 3423 | </actions> |
| 3424 | </object> |
| 3425 | |
| 3426 | <object type="template" name="footer" /> |
| 3427 | </page> |
| 3428 | |
| 3429 | <page name="terminalcommand"> |
| 3430 | <background color="#000000FF" /> |
| 3431 | |
| 3432 | <object type="console"> |
| 3433 | <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> |
| 3434 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 3435 | <font resource="fixed" /> |
| 3436 | </object> |
| 3437 | |
| 3438 | <object type="text" color="%text_color%"> |
| 3439 | <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> |
| 3440 | <font resource="font" /> |
| 3441 | <text>Starting Path: %tw_terminal_location%</text> |
| 3442 | </object> |
| 3443 | |
| 3444 | <object type="input"> |
| 3445 | <condition var1="tw_terminal_state" var2="0" /> |
| 3446 | <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> |
| 3447 | <background color="%input_background_color%" /> |
| 3448 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3449 | <font resource="font" color="%text_color%" /> |
| 3450 | <text>%tw_terminal_command%</text> |
| 3451 | <data name="tw_terminal_command" /> |
| 3452 | <restrict minlen="1" /> |
| 3453 | <action function="terminalcommand">%tw_terminal_command%</action> |
| 3454 | </object> |
| 3455 | |
| 3456 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3457 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3458 | <condition var1="tw_terminal_state" var2="1" /> |
| 3459 | <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> |
| 3460 | <font resource="font" color="%button_text_color%" /> |
| 3461 | <text>KILL</text> |
| 3462 | <image resource="medium_button" /> |
| 3463 | <action function="killterminal"></action> |
| 3464 | </object> |
| 3465 | |
| 3466 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3467 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3468 | <placement x="%home_button_x%" y="%terminal_button_y%" /> |
| 3469 | <font resource="font" color="%button_text_color%" /> |
| 3470 | <text></text> |
| 3471 | <image resource="home_icon" /> |
| 3472 | <condition var1="tw_busy" var2="0" /> |
| 3473 | <action function="key">home</action> |
| 3474 | </object> |
| 3475 | |
| 3476 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3477 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3478 | <placement x="%back_button_x%" y="%terminal_button_y%" /> |
| 3479 | <font resource="font" color="%button_text_color%" /> |
| 3480 | <text></text> |
| 3481 | <image resource="back_icon" /> |
| 3482 | <condition var1="tw_busy" var2="0" /> |
| 3483 | <action function="key">back</action> |
| 3484 | </object> |
| 3485 | |
| 3486 | <object type="action"> |
| 3487 | <touch key="power" /> |
| 3488 | <action function="overlay">lock</action> |
| 3489 | </object> |
| 3490 | |
| 3491 | <object type="template" name="keyboardtemplate" /> |
| 3492 | |
| 3493 | <object type="action"> |
| 3494 | <touch key="home" /> |
| 3495 | <action function="page">main</action> |
| 3496 | </object> |
| 3497 | |
| 3498 | <object type="action"> |
| 3499 | <touch key="back" /> |
| 3500 | <action function="page">terminalfolder</action> |
| 3501 | </object> |
| 3502 | </page> |
bigbiff bigbiff | 7ce7f0c | 2013-01-25 09:54:04 -0500 | [diff] [blame] | 3503 | |
| 3504 | <page name="sideload"> |
| 3505 | <object type="template" name="header" /> |
| 3506 | |
| 3507 | <object type="text" color="%text_color%"> |
| 3508 | <font resource="font" /> |
| 3509 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3510 | <text>ADB Sideload</text> |
| 3511 | </object> |
| 3512 | |
| 3513 | <object type="checkbox"> |
| 3514 | <placement x="%col1_x%" y="%row3_text_y%" /> |
| 3515 | <font resource="font" color="%text_color%" /> |
| 3516 | <text>Wipe Dalvik Cache.</text> |
| 3517 | <data variable="tw_wipe_dalvik" /> |
| 3518 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 3519 | </object> |
| 3520 | |
| 3521 | <object type="checkbox"> |
| 3522 | <placement x="%col1_x%" y="%row4_text_y%" /> |
| 3523 | <font resource="font" color="%text_color%" /> |
| 3524 | <text>Wipe Cache.</text> |
| 3525 | <data variable="tw_wipe_cache" /> |
| 3526 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 3527 | </object> |
| 3528 | |
| 3529 | <object type="slider"> |
| 3530 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3531 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3532 | <actions> |
| 3533 | <action function="set">tw_back=advanced</action> |
| 3534 | <action function="set">tw_action=adbsideload</action> |
| 3535 | <action function="set">tw_action_text1=ADB Sideload</action> |
| 3536 | <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> |
| 3537 | <action function="set">tw_complete_text1=ADB Sideload Complete</action> |
| 3538 | <action function="set">tw_has_cancel=1</action> |
| 3539 | <action function="set">tw_show_reboot=1</action> |
| 3540 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 3541 | <action function="page">action_page</action> |
| 3542 | </actions> |
| 3543 | </object> |
| 3544 | |
| 3545 | <object type="text" color="%text_color%"> |
| 3546 | <font resource="font" /> |
| 3547 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3548 | <text>Swipe to Start Sideload</text> |
| 3549 | </object> |
| 3550 | |
| 3551 | <object type="action"> |
| 3552 | <touch key="home" /> |
| 3553 | <action function="page">main</action> |
| 3554 | </object> |
| 3555 | |
| 3556 | <object type="action"> |
| 3557 | <touch key="back" /> |
| 3558 | <action function="page">advanced</action> |
| 3559 | </object> |
| 3560 | |
| 3561 | <object type="template" name="footer" /> |
| 3562 | </page> |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 3563 | |
| 3564 | <page name="installsu"> |
| 3565 | <object type="template" name="header" /> |
| 3566 | |
| 3567 | <object type="text" color="%text_color%"> |
| 3568 | <font resource="font" /> |
| 3569 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3570 | <text>Install SuperSU?</text> |
| 3571 | </object> |
| 3572 | |
| 3573 | <object type="text" color="%text_color%"> |
| 3574 | <font resource="font" /> |
| 3575 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3576 | <text>Your device does not appear to be rooted.</text> |
| 3577 | </object> |
| 3578 | |
| 3579 | <object type="text" color="%text_color%"> |
| 3580 | <font resource="font" /> |
| 3581 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3582 | <text>Install SuperSU now? This will root your device.</text> |
| 3583 | </object> |
| 3584 | |
| 3585 | <object type="button"> |
| 3586 | <highlight color="%highlight_color%" /> |
| 3587 | <placement x="%col_center_x%" y="%row2_medium_y%" /> |
| 3588 | <font resource="font" color="%button_text_color%" /> |
| 3589 | <text>Do Not Install</text> |
| 3590 | <image resource="main_button" /> |
| 3591 | <action function="set">tw_page_done=1</action> |
| 3592 | </object> |
| 3593 | |
| 3594 | <object type="slider"> |
| 3595 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3596 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3597 | <actions> |
| 3598 | <action function="set">tw_action=installsu</action> |
| 3599 | <action function="set">tw_action_text1=Installing SuperSU</action> |
| 3600 | <action function="set">tw_action_text2=</action> |
| 3601 | <action function="page">singleaction_page</action> |
| 3602 | </actions> |
| 3603 | </object> |
| 3604 | |
| 3605 | <object type="text" color="%text_color%"> |
| 3606 | <font resource="font" /> |
| 3607 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3608 | <text>Swipe to Install</text> |
| 3609 | </object> |
| 3610 | </page> |
| 3611 | |
| 3612 | <page name="fixsu"> |
| 3613 | <object type="template" name="header" /> |
| 3614 | |
| 3615 | <object type="text" color="%text_color%"> |
| 3616 | <font resource="font" /> |
| 3617 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3618 | <text>Fix Superuser Permissions?</text> |
| 3619 | </object> |
| 3620 | |
| 3621 | <object type="text" color="%text_color%"> |
| 3622 | <font resource="font" /> |
| 3623 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3624 | <text>Root permissions appear to be lost.</text> |
| 3625 | </object> |
| 3626 | |
| 3627 | <object type="text" color="%text_color%"> |
| 3628 | <font resource="font" /> |
| 3629 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3630 | <text>Fix root permissions now?</text> |
| 3631 | </object> |
| 3632 | |
| 3633 | <object type="text" color="%text_color%"> |
| 3634 | <font resource="font" /> |
| 3635 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3636 | <text>(Fixes permissions on su binary & app)</text> |
| 3637 | </object> |
| 3638 | |
| 3639 | <object type="button"> |
| 3640 | <highlight color="%highlight_color%" /> |
| 3641 | <placement x="%col_center_x%" y="%row2_medium_y%" /> |
| 3642 | <font resource="font" color="%button_text_color%" /> |
| 3643 | <text>Do Not Fix</text> |
| 3644 | <image resource="main_button" /> |
| 3645 | <action function="set">tw_page_done=1</action> |
| 3646 | </object> |
| 3647 | |
| 3648 | <object type="slider"> |
| 3649 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3650 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3651 | <actions> |
| 3652 | <action function="set">tw_action=fixsu</action> |
| 3653 | <action function="set">tw_action_text1=Fixing Root Permissions</action> |
| 3654 | <action function="set">tw_action_text2=</action> |
| 3655 | <action function="page">singleaction_page</action> |
| 3656 | </actions> |
| 3657 | </object> |
| 3658 | |
| 3659 | <object type="text" color="%text_color%"> |
| 3660 | <font resource="font" /> |
| 3661 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3662 | <text>Swipe to Fix Root</text> |
| 3663 | </object> |
| 3664 | </page> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3665 | </pages> |
| 3666 | </recovery> |