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