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