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