Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <recovery> |
| 4 | <details> |
| 5 | <resolution width="320" height="320" /> |
| 6 | <author>TeamWin</author> |
| 7 | <title>Backup Naowz</title> |
| 8 | <description>Default basic theme</description> |
| 9 | <preview>preview.jpg</preview> |
| 10 | </details> |
| 11 | |
| 12 | <include> |
| 13 | <xmlfile name="watch.xml" /> |
| 14 | </include> |
| 15 | |
| 16 | <resources> |
| 17 | <resource name="font" type="font" filename="Roboto-Condensed-14" /> |
| 18 | <resource name="mediumfont" type="font" filename="Roboto-Condensed-14" /> |
| 19 | <resource name="filelist" type="font" filename="Roboto-Condensed-14" /> |
| 20 | <resource name="top_bar" type="image" filename="top-bar.jpg" /> |
| 21 | <resource name="main_button" type="image" filename="menu-button" /> |
| 22 | <resource name="file_icon" type="image" filename="file" /> |
| 23 | <resource name="folder_icon" type="image" filename="folder" /> |
| 24 | <resource name="slideout" type="image" filename="slideout" /> |
| 25 | <resource name="progress" type="animation" filename="indeterminate" /> |
| 26 | <resource name="progress_empty" type="image" filename="progress_empty" /> |
| 27 | <resource name="progress_full" type="image" filename="progress_fill" /> |
| 28 | <resource name="checkbox_false" type="image" filename="checkbox_empty" /> |
| 29 | <resource name="checkbox_true" type="image" filename="checkbox_checked" /> |
| 30 | <resource name="radio_false" type="image" filename="radio_empty" /> |
| 31 | <resource name="radio_true" type="image" filename="radio_selected" /> |
| 32 | <resource name="medium_button" type="image" filename="medium-button" /> |
| 33 | <resource name="sort_button" type="image" filename="sort-button" /> |
| 34 | <resource name="minus_button" type="image" filename="minus-button" /> |
| 35 | <resource name="plus_button" type="image" filename="plus-button" /> |
| 36 | <resource name="home_icon" type="image" filename="home-icon" /> |
| 37 | <resource name="back_icon" type="image" filename="back-icon" /> |
| 38 | <resource name="slider" type="image" filename="slider" /> |
| 39 | <resource name="slider-used" type="image" filename="slider-used" /> |
| 40 | <resource name="slider-touch" type="image" filename="slider-touch" /> |
| 41 | <resource name="unlock-icon" type="image" filename="unlock" /> |
| 42 | <resource name="keyboard1" type="image" filename="keyboard1" /> |
| 43 | <resource name="keyboard2" type="image" filename="keyboard2" /> |
| 44 | <resource name="keyboard3" type="image" filename="keyboard3" /> |
| 45 | <resource name="keyboard4" type="image" filename="keyboard4" /> |
| 46 | </resources> |
| 47 | |
| 48 | <variables> |
| 49 | <variable name="col1_x" value="6" /> |
| 50 | <variable name="col2_x" value="170" /> |
| 51 | <variable name="col_center_x" value="88" /> |
| 52 | <variable name="col_center_medium_x" value="130" /> |
| 53 | <variable name="center_x" value="160" /> |
| 54 | <variable name="row1_home_y" value="50" /> |
| 55 | <variable name="row2_home_y" value="110" /> |
| 56 | <variable name="row3_home_y" value="170" /> |
| 57 | <variable name="row4_home_y" value="230" /> |
| 58 | <variable name="row1_y" value="30" /> |
| 59 | <variable name="row2_y" value="100" /> |
| 60 | <variable name="row3_y" value="170" /> |
| 61 | <variable name="row4_y" value="240" /> |
| 62 | <variable name="row_queue_y" value="184" /> |
| 63 | <variable name="row1_header_y" value="0" /> |
| 64 | <variable name="row1_text_y" value="22" /> |
| 65 | <variable name="row2_text_y" value="44" /> |
| 66 | <variable name="row3_text_y" value="66" /> |
| 67 | <variable name="row4_text_y" value="88" /> |
| 68 | <variable name="row5_text_y" value="110" /> |
| 69 | <variable name="row6_text_y" value="132" /> |
| 70 | <variable name="row7_text_y" value="154" /> |
| 71 | <variable name="row8_text_y" value="176" /> |
| 72 | <variable name="row9_text_y" value="198" /> |
| 73 | <variable name="row10_text_y" value="220" /> |
| 74 | <variable name="row11_text_y" value="242" /> |
| 75 | <variable name="row12_text_y" value="284" /> |
| 76 | <variable name="row13_text_y" value="306" /> |
| 77 | <variable name="zip_status_y" value="300" /> |
| 78 | <variable name="backup_text_y" value="60" /> |
| 79 | <variable name="col_progressbar_x" value="34" /> |
| 80 | <variable name="row_progressbar_y" value="285" /> |
| 81 | <variable name="col1_medium_x" value="6" /> |
| 82 | <variable name="col2_medium_x" value="83" /> |
| 83 | <variable name="col3_medium_x" value="174" /> |
| 84 | <variable name="col4_medium_x" value="254" /> |
| 85 | <variable name="row1_medium_y" value="24" /> |
| 86 | <variable name="row2_medium_y" value="40" /> |
| 87 | <variable name="row3_medium_y" value="56" /> |
| 88 | <variable name="row4_medium_y" value="72" /> |
| 89 | <variable name="row5_medium_y" value="88" /> |
| 90 | <variable name="row6_medium_y" value="104" /> |
| 91 | <variable name="row7_medium_y" value="120" /> |
| 92 | <variable name="slider_x" value="45" /> |
| 93 | <variable name="slider_y" value="268" /> |
| 94 | <variable name="slider_text_y" value="294" /> |
| 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" /> |
| 99 | <variable name="highlight_color" value="#90909080" /> |
| 100 | <variable name="caps_highlight_color" value="#33B5E580" /> |
| 101 | <variable name="home_button_x" value="3" /> |
| 102 | <variable name="home_button_y" value="300" /> |
| 103 | <variable name="back_button_x" value="280" /> |
| 104 | <variable name="back_button_y" value="300" /> |
| 105 | <variable name="sort_text_x" value="20" /> |
| 106 | <variable name="sort_asc_text_y" value="232" /> |
| 107 | <variable name="sort_asc_button_y" value="230" /> |
| 108 | <variable name="sort_desc_text_y" value="262" /> |
| 109 | <variable name="sort_desc_button_y" value="260" /> |
| 110 | <variable name="sort_col1_button_x" value="135" /> |
| 111 | <variable name="sort_col2_button_x" value="195" /> |
| 112 | <variable name="sort_col3_button_x" value="255" /> |
| 113 | <variable name="input_width" value="308" /> |
| 114 | <variable name="input_width_conf" value="10" /> |
| 115 | <variable name="input_height" value="18" /> |
| 116 | <variable name="input_background_color" value="#303030" /> |
| 117 | <variable name="input_cursor_color" value="#33B5E5" /> |
| 118 | <variable name="input_cursor_width" value="2" /> |
| 119 | <variable name="console_x" value="0" /> |
| 120 | <variable name="console_width" value="320" /> |
| 121 | <variable name="console_foreground" value="#A0A0A0" /> |
| 122 | <variable name="warning" value="#F8F8A0" /> |
| 123 | <variable name="error" value="#FF4040" /> |
| 124 | <variable name="highlight" value="#33B5E5" /> |
| 125 | <variable name="console_background" value="#303030" /> |
| 126 | <variable name="console_scroll" value="#303030" /> |
| 127 | <variable name="console_action_height" value="160" /> |
| 128 | <variable name="console_install_height" value="160" /> |
| 129 | <variable name="console_installdone_height" value="160" /> |
| 130 | <variable name="fileselector_x" value="0" /> |
| 131 | <variable name="fileselector_y" value="44" /> |
| 132 | <variable name="fileselector_width" value="320" /> |
| 133 | <variable name="fileselector_install_height" value="182" /> |
| 134 | <variable name="fileselector_header_background" value="#202020" /> |
| 135 | <variable name="fileselector_header_textcolor" value="#AAAAAA" /> |
| 136 | <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> |
| 137 | <variable name="fileselector_header_separatorheight" value="2" /> |
| 138 | <variable name="fileselector_separatorcolor" value="#505050" /> |
| 139 | <variable name="fileselector_separatorheight" value="1" /> |
| 140 | <variable name="fileselector_background" value="#303030" /> |
| 141 | <variable name="fileselector_highlight_color" value="#505050" /> |
| 142 | <variable name="fileselector_highlight_font_color" value="#33B5E5" /> |
| 143 | <variable name="fileselector_spacing" value="12" /> |
| 144 | <variable name="fastscroll_linecolor" value="#808080" /> |
| 145 | <variable name="fastscroll_rectcolor" value="#808080" /> |
| 146 | <variable name="fastscroll_w" value="32" /> |
| 147 | <variable name="fastscroll_linew" value="1" /> |
| 148 | <variable name="fastscroll_rectw" value="18" /> |
| 149 | <variable name="fastscroll_recth" value="31" /> |
| 150 | <variable name="listbox_x" value="0" /> |
| 151 | <variable name="listbox_width" value="320" /> |
| 152 | <variable name="listbox_background" value="#303030" /> |
| 153 | <variable name="listbox_spacing" value="12" /> |
| 154 | <variable name="sd_plus_x" value="174" /> |
| 155 | <variable name="sdext_text_x" value="56" /> |
| 156 | <variable name="sdext_text_y" value="18" /> |
| 157 | <variable name="sdswap_button_y" value="45" /> |
| 158 | <variable name="sdswap_text_x" value="56" /> |
| 159 | <variable name="sdswap_text_y" value="47" /> |
| 160 | <variable name="sdfilesystem_text_y" value="92" /> |
| 161 | <variable name="sdfilesystem_button_y" value="120" /> |
Ethan Yonker | e2b2902 | 2014-07-30 09:32:59 -0500 | [diff] [blame] | 162 | <variable name="lock_x" value="96" /> |
| 163 | <variable name="lock_y" value="70" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 164 | <variable name="filemanager_select_x" value="130" /> |
| 165 | <variable name="filemanager_select_y" value="280" /> |
| 166 | <variable name="terminal_console_height" value="126" /> |
| 167 | <variable name="terminal_text_y" value="128" /> |
| 168 | <variable name="terminal_button_y" value="300" /> |
| 169 | <variable name="listbox_tz_height" value="159" /> |
| 170 | <variable name="row_dst_text_y" value="162" /> |
| 171 | <variable name="row_offset_text_y" value="184" /> |
| 172 | <variable name="row_offset_medium_y" value="206" /> |
| 173 | <variable name="tz_set_y" value="271" /> |
| 174 | <variable name="tz_current_y" value="249" /> |
| 175 | <variable name="button_fill_color" value="#303030" /> |
| 176 | <variable name="button_fill_full_width" value="308" /> |
| 177 | <variable name="button_fill_main_width" value="150" /> |
| 178 | <variable name="button_fill_med_width" value="72" /> |
| 179 | <variable name="button_fill_small_width" value="36" /> |
| 180 | <variable name="button_fill_main_height" value="44" /> |
| 181 | <variable name="button_fill_half_height" value="22" /> |
| 182 | <variable name="button_fill_quarter_height" value="22" /> |
| 183 | <variable name="button_refresh_x" value="152" /> |
| 184 | <variable name="backup_list_y" value="26" /> |
| 185 | <variable name="backup_list_height" value="184" /> |
| 186 | <variable name="restore_list_height" value="206" /> |
| 187 | <variable name="backup_button_row1" value="214" /> |
| 188 | <variable name="backup_button_row2" value="242" /> |
| 189 | <variable name="mount_list_height" value="190" /> |
| 190 | <variable name="mount_storage_row" value="200" /> |
| 191 | <variable name="storage_list_height" value="134" /> |
| 192 | <variable name="wipe_list_height" value="216" /> |
| 193 | <variable name="wipe_button_y" value="170" /> |
| 194 | <variable name="slidervalue_w" value="308" /> |
| 195 | <variable name="slidervalue_line_clr" value="#FFFFFF" /> |
| 196 | <variable name="slidervalue_slider_clr" value="#33B5E5" /> |
| 197 | <variable name="slidervalue_lineh" value="1" /> |
| 198 | <variable name="slidervalue_padding" value="8" /> |
| 199 | <variable name="slidervalue_sliderw" value="4" /> |
| 200 | <variable name="slidervalue_sliderh" value="20" /> |
| 201 | <variable name="wipe_button_row1" value="240" /> |
| 202 | <variable name="invalid_partition_y" value="218" /> |
| 203 | </variables> |
| 204 | |
| 205 | <templates> |
| 206 | <template name="twrpheader"> |
| 207 | <object type="image"> |
| 208 | <image resource="top_bar" /> |
| 209 | <placement x="0" y="0" /> |
| 210 | </object> |
| 211 | |
| 212 | <object type="text" color="%text_color%"> |
| 213 | <font resource="font" /> |
| 214 | <placement x="3" y="3" /> |
| 215 | <text>TWRP v%tw_version%</text> |
| 216 | </object> |
| 217 | |
| 218 | <object type="text" color="%text_fail_color%"> |
| 219 | <condition var1="tw_simulate_actions" var2="1" /> |
| 220 | <font resource="font" /> |
| 221 | <placement x="3" y="21" /> |
| 222 | <text>SIMULATION</text> |
| 223 | </object> |
| 224 | |
| 225 | <object type="text" color="%text_color%"> |
| 226 | <font resource="font" /> |
Ethan Yonker | e2b2902 | 2014-07-30 09:32:59 -0500 | [diff] [blame] | 227 | <placement x="200" y="3" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 228 | <text>%tw_time%</text> |
| 229 | </object> |
| 230 | |
| 231 | <object type="text" color="%text_color%"> |
| 232 | <font resource="font" /> |
Ethan Yonker | e2b2902 | 2014-07-30 09:32:59 -0500 | [diff] [blame] | 233 | <placement x="316" y="3" placement="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 234 | <conditions> |
| 235 | <condition var1="tw_no_battery_percent" var2="0" /> |
| 236 | <condition var1="tw_battery" op=">" var2="0" /> |
| 237 | <condition var1="tw_battery" op="<" var2="101" /> |
| 238 | </conditions> |
| 239 | <text>%tw_battery%</text> |
| 240 | </object> |
| 241 | </template> |
| 242 | |
| 243 | <template name="header"> |
| 244 | <background color="#000000FF" /> |
| 245 | |
| 246 | <object type="button"> |
| 247 | <placement x="%home_button_x%" y="%home_button_y%" /> |
| 248 | <font resource="font" color="%button_text_color%" /> |
| 249 | <text></text> |
| 250 | <image resource="home_icon" /> |
| 251 | <condition var1="tw_busy" var2="0" /> |
| 252 | <action function="key">home</action> |
| 253 | </object> |
| 254 | |
| 255 | <object type="button"> |
| 256 | <placement x="%back_button_x%" y="%back_button_y%" /> |
| 257 | <font resource="font" color="%button_text_color%" /> |
| 258 | <text></text> |
| 259 | <image resource="back_icon" /> |
| 260 | <condition var1="tw_busy" var2="0" /> |
| 261 | <action function="key">back</action> |
| 262 | </object> |
| 263 | |
| 264 | <object type="action"> |
| 265 | <touch key="power" /> |
| 266 | <action function="overlay">lock</action> |
| 267 | </object> |
| 268 | |
| 269 | <object type="action"> |
| 270 | <touch key="power+voldown" /> |
| 271 | <action function="screenshot" /> |
| 272 | </object> |
| 273 | </template> |
| 274 | |
| 275 | <template name="progress_bar"> |
| 276 | <object type="progressbar"> |
| 277 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 278 | <resource empty="progress_empty" full="progress_full" /> |
| 279 | <data name="ui_progress" /> |
| 280 | </object> |
| 281 | |
| 282 | <object type="animation"> |
| 283 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 284 | <resource name="progress" /> |
| 285 | <speed fps="15" render="2" /> |
| 286 | <loop frame="1" /> |
| 287 | </object> |
| 288 | </template> |
| 289 | |
| 290 | <template name="action_page_console"> |
| 291 | <object type="console"> |
| 292 | <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" /> |
| 293 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 294 | <font resource="fixed" /> |
| 295 | </object> |
| 296 | </template> |
| 297 | |
| 298 | <template name="sort_options"> |
| 299 | <object type="text" color="%text_color%"> |
| 300 | <font resource="mediumfont" /> |
| 301 | <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> |
| 302 | <text>Sort Ascending:</text> |
| 303 | </object> |
| 304 | |
| 305 | <object type="button"> |
| 306 | <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> |
| 307 | <font resource="mediumfont" color="%button_text_color%" /> |
| 308 | <text>Name</text> |
| 309 | <image resource="sort_button" /> |
| 310 | <action function="set">tw_gui_sort_order=1</action> |
| 311 | </object> |
| 312 | |
| 313 | <object type="button"> |
| 314 | <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> |
| 315 | <font resource="mediumfont" color="%button_text_color%" /> |
| 316 | <text>Date</text> |
| 317 | <image resource="sort_button" /> |
| 318 | <action function="set">tw_gui_sort_order=2</action> |
| 319 | </object> |
| 320 | |
| 321 | <object type="button"> |
| 322 | <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> |
| 323 | <font resource="mediumfont" color="%button_text_color%" /> |
| 324 | <text>Size</text> |
| 325 | <image resource="sort_button" /> |
| 326 | <action function="set">tw_gui_sort_order=3</action> |
| 327 | </object> |
| 328 | |
| 329 | <object type="text" color="%text_color%"> |
| 330 | <font resource="mediumfont" /> |
| 331 | <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> |
| 332 | <text>Sort Descending:</text> |
| 333 | </object> |
| 334 | |
| 335 | <object type="button"> |
| 336 | <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> |
| 337 | <font resource="mediumfont" color="%button_text_color%" /> |
| 338 | <text>Name</text> |
| 339 | <image resource="sort_button" /> |
| 340 | <action function="set">tw_gui_sort_order=-1</action> |
| 341 | </object> |
| 342 | |
| 343 | <object type="button"> |
| 344 | <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> |
| 345 | <font resource="mediumfont" color="%button_text_color%" /> |
| 346 | <text>Date</text> |
| 347 | <image resource="sort_button" /> |
| 348 | <action function="set">tw_gui_sort_order=-2</action> |
| 349 | </object> |
| 350 | |
| 351 | <object type="button"> |
| 352 | <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> |
| 353 | <font resource="mediumfont" color="%button_text_color%" /> |
| 354 | <text>Size</text> |
| 355 | <image resource="sort_button" /> |
| 356 | <action function="set">tw_gui_sort_order=-3</action> |
| 357 | </object> |
| 358 | </template> |
| 359 | |
| 360 | <template name="footer"> |
| 361 | <object type="console"> |
| 362 | <slideout resource="slideout" x="130" y="288" /> |
| 363 | <placement x="%console_x%" y="0" w="%console_width%" h="288" /> |
| 364 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 365 | <font resource="fixed" /> |
| 366 | </object> |
| 367 | </template> |
| 368 | |
| 369 | <template name="keyboardtemplate"> |
| 370 | <object type="keyboard"> |
| 371 | <placement x="0" y="150" /> |
| 372 | <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> |
| 373 | <highlight color="%highlight_color%" /> |
| 374 | <capshighlight color="%caps_highlight_color%" /> |
| 375 | <layout1> |
| 376 | <keysize height="36" width="32" /> |
| 377 | <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" /> |
| 378 | <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" /> |
| 379 | <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" /> |
| 380 | <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:a:action" /> |
| 381 | </layout1> |
| 382 | <layout2> |
| 383 | <keysize height="36" width="32" capslock="0" revert_layout="1" /> |
| 384 | <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" /> |
| 385 | <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" /> |
| 386 | <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" /> |
| 387 | <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:action" /> |
| 388 | </layout2> |
| 389 | <layout3> |
| 390 | <keysize height="36" width="32" /> |
| 391 | <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> |
| 392 | <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> |
| 393 | <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" /> |
| 394 | <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" /> |
| 395 | </layout3> |
| 396 | <layout4> |
| 397 | <keysize height="36" width="32" /> |
| 398 | <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" /> |
| 399 | <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" /> |
| 400 | <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8" /> |
| 401 | <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" /> |
| 402 | </layout4> |
| 403 | </object> |
| 404 | </template> |
| 405 | </templates> |
| 406 | </recovery> |