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