blob: afe2509db3689f8703438e8c1f205a36d2ba5ceb [file] [log] [blame]
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="320" height="320" />
Ethan Yonker63e414f2015-02-06 15:44:39 -06006 <roundscreen offset_x="40" offset_y="40" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05007 <author>TeamWin</author>
8 <title>Backup Naowz</title>
9 <description>Default basic theme</description>
10 <preview>preview.jpg</preview>
11 </details>
12
13 <include>
14 <xmlfile name="watch.xml" />
15 </include>
16
17 <resources>
Ethan Yonker88037f42015-10-04 22:09:08 -050018 <resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="14" />
19 <resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="14" />
20 <resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="14" />
Matt Mower989709a2015-02-26 00:34:36 -060021 <resource name="fixed" type="font" filename="DroidSansMono.ttf" size="12" />
Ethan Yonker591b9202015-03-11 11:17:15 -050022 <resource name="twrplogo" type="image" filename="twrplogo" retainaspect="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050023 <resource name="main_button" type="image" filename="menu-button" />
Ethan Yonker591b9202015-03-11 11:17:15 -050024 <resource name="file_icon" type="image" filename="file" retainaspect="1" />
25 <resource name="folder_icon" type="image" filename="folder" retainaspect="1" />
26 <resource name="slideout" type="image" filename="slideout" retainaspect="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050027 <resource name="progress" type="animation" filename="indeterminate" />
28 <resource name="progress_empty" type="image" filename="progress_empty" />
29 <resource name="progress_full" type="image" filename="progress_fill" />
Ethan Yonker63e414f2015-02-06 15:44:39 -060030 <resource name="checkbox_false" type="image" filename="checkbox_empty" retainaspect="1" />
31 <resource name="checkbox_true" type="image" filename="checkbox_checked" retainaspect="1" />
32 <resource name="radio_false" type="image" filename="radio_empty" retainaspect="1" />
33 <resource name="radio_true" type="image" filename="radio_selected" retainaspect="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050034 <resource name="medium_button" type="image" filename="medium-button" />
35 <resource name="sort_button" type="image" filename="sort-button" />
36 <resource name="minus_button" type="image" filename="minus-button" />
37 <resource name="plus_button" type="image" filename="plus-button" />
Ethan Yonker591b9202015-03-11 11:17:15 -050038 <resource name="home_icon" type="image" filename="home-icon" retainaspect="1" />
39 <resource name="back_icon" type="image" filename="back-icon" retainaspect="1" />
40 <resource name="slider" type="image" filename="slider" retainaspect="1" />
41 <resource name="slider-used" type="image" filename="slider-used" retainaspect="1" />
42 <resource name="slider-touch" type="image" filename="slider-touch" retainaspect="1" />
43 <resource name="unlock-icon" type="image" filename="unlock" retainaspect="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050044 <resource name="keyboard1" type="image" filename="keyboard1" />
45 <resource name="keyboard2" type="image" filename="keyboard2" />
46 <resource name="keyboard3" type="image" filename="keyboard3" />
47 <resource name="keyboard4" type="image" filename="keyboard4" />
Ethan Yonker63e414f2015-02-06 15:44:39 -060048 <resource name="cursor" type="image" filename="cursor" retainaspect="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050049 </resources>
50
51 <variables>
52 <variable name="col1_x" value="6" />
53 <variable name="col2_x" value="170" />
54 <variable name="col_center_x" value="88" />
55 <variable name="col_center_medium_x" value="130" />
56 <variable name="center_x" value="160" />
57 <variable name="row1_home_y" value="50" />
58 <variable name="row2_home_y" value="110" />
59 <variable name="row3_home_y" value="170" />
60 <variable name="row4_home_y" value="230" />
61 <variable name="row1_y" value="30" />
62 <variable name="row2_y" value="100" />
63 <variable name="row3_y" value="170" />
64 <variable name="row4_y" value="240" />
65 <variable name="row_queue_y" value="184" />
66 <variable name="row1_header_y" value="0" />
67 <variable name="row1_text_y" value="22" />
68 <variable name="row2_text_y" value="44" />
69 <variable name="row3_text_y" value="66" />
70 <variable name="row4_text_y" value="88" />
71 <variable name="row5_text_y" value="110" />
72 <variable name="row6_text_y" value="132" />
73 <variable name="row7_text_y" value="154" />
74 <variable name="row8_text_y" value="176" />
75 <variable name="row9_text_y" value="198" />
76 <variable name="row10_text_y" value="220" />
77 <variable name="row11_text_y" value="242" />
78 <variable name="row12_text_y" value="284" />
79 <variable name="row13_text_y" value="306" />
80 <variable name="zip_status_y" value="300" />
Ethan Yonker96af84a2015-01-05 14:58:36 -060081 <variable name="flash_list_height" value="160" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050082 <variable name="backup_text_y" value="60" />
83 <variable name="col_progressbar_x" value="34" />
84 <variable name="row_progressbar_y" value="285" />
85 <variable name="col1_medium_x" value="6" />
86 <variable name="col2_medium_x" value="83" />
87 <variable name="col3_medium_x" value="174" />
88 <variable name="col4_medium_x" value="254" />
89 <variable name="row1_medium_y" value="24" />
90 <variable name="row2_medium_y" value="40" />
91 <variable name="row3_medium_y" value="56" />
92 <variable name="row4_medium_y" value="72" />
93 <variable name="row5_medium_y" value="88" />
94 <variable name="row6_medium_y" value="104" />
95 <variable name="row7_medium_y" value="120" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050096 <variable name="slider_y" value="268" />
97 <variable name="slider_text_y" value="294" />
98 <variable name="button_text_color" value="#AAAAAA" />
99 <variable name="text_color" value="#FFFFFF" />
100 <variable name="text_success_color" value="#33B5E5" />
101 <variable name="text_fail_color" value="#FF0101" />
102 <variable name="highlight_color" value="#90909080" />
103 <variable name="caps_highlight_color" value="#33B5E580" />
104 <variable name="home_button_x" value="3" />
105 <variable name="home_button_y" value="300" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500106 <variable name="back_button_x" value="317" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500107 <variable name="back_button_y" value="300" />
108 <variable name="sort_text_x" value="20" />
109 <variable name="sort_asc_text_y" value="232" />
110 <variable name="sort_asc_button_y" value="230" />
111 <variable name="sort_desc_text_y" value="262" />
112 <variable name="sort_desc_button_y" value="260" />
113 <variable name="sort_col1_button_x" value="135" />
114 <variable name="sort_col2_button_x" value="195" />
115 <variable name="sort_col3_button_x" value="255" />
116 <variable name="input_width" value="308" />
117 <variable name="input_width_conf" value="10" />
118 <variable name="input_height" value="18" />
119 <variable name="input_background_color" value="#303030" />
120 <variable name="input_cursor_color" value="#33B5E5" />
121 <variable name="input_cursor_width" value="2" />
122 <variable name="console_x" value="0" />
123 <variable name="console_width" value="320" />
124 <variable name="console_foreground" value="#A0A0A0" />
125 <variable name="warning" value="#F8F8A0" />
126 <variable name="error" value="#FF4040" />
127 <variable name="highlight" value="#33B5E5" />
128 <variable name="console_background" value="#303030" />
129 <variable name="console_scroll" value="#303030" />
130 <variable name="console_action_height" value="160" />
131 <variable name="console_install_height" value="160" />
132 <variable name="console_installdone_height" value="160" />
133 <variable name="fileselector_x" value="0" />
134 <variable name="fileselector_y" value="44" />
135 <variable name="fileselector_width" value="320" />
136 <variable name="fileselector_install_height" value="182" />
137 <variable name="fileselector_header_background" value="#202020" />
138 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
139 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
140 <variable name="fileselector_header_separatorheight" value="2" />
141 <variable name="fileselector_separatorcolor" value="#505050" />
142 <variable name="fileselector_separatorheight" value="1" />
143 <variable name="fileselector_background" value="#303030" />
144 <variable name="fileselector_highlight_color" value="#505050" />
145 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
146 <variable name="fileselector_spacing" value="12" />
that18e13a92015-03-05 22:38:43 +0100147 <variable name="fastscroll_linecolor" value="#50505080" />
148 <variable name="fastscroll_rectcolor" value="#33B5E580" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500149 <variable name="fastscroll_w" value="32" />
150 <variable name="fastscroll_linew" value="1" />
that18e13a92015-03-05 22:38:43 +0100151 <variable name="fastscroll_rectw" value="7" />
152 <variable name="fastscroll_recth" value="24" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500153 <variable name="listbox_x" value="0" />
154 <variable name="listbox_width" value="320" />
155 <variable name="listbox_background" value="#303030" />
156 <variable name="listbox_spacing" value="12" />
157 <variable name="sd_plus_x" value="174" />
158 <variable name="sdext_text_x" value="56" />
159 <variable name="sdext_text_y" value="18" />
160 <variable name="sdswap_button_y" value="45" />
161 <variable name="sdswap_text_x" value="56" />
162 <variable name="sdswap_text_y" value="47" />
163 <variable name="sdfilesystem_text_y" value="92" />
164 <variable name="sdfilesystem_button_y" value="120" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500165 <variable name="lock_y" value="120" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500166 <variable name="filemanager_select_x" value="130" />
167 <variable name="filemanager_select_y" value="280" />
168 <variable name="terminal_console_height" value="126" />
169 <variable name="terminal_text_y" value="128" />
170 <variable name="terminal_button_y" value="300" />
171 <variable name="listbox_tz_height" value="159" />
172 <variable name="row_dst_text_y" value="162" />
173 <variable name="row_offset_text_y" value="184" />
174 <variable name="row_offset_medium_y" value="206" />
175 <variable name="tz_set_y" value="271" />
176 <variable name="tz_current_y" value="249" />
Ethan Yonkereb32b1f2015-05-18 10:23:03 -0500177 <variable name="system_ro_y" value="216" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500178 <variable name="button_fill_color" value="#303030" />
179 <variable name="button_fill_full_width" value="308" />
180 <variable name="button_fill_main_width" value="150" />
181 <variable name="button_fill_med_width" value="72" />
182 <variable name="button_fill_small_width" value="36" />
183 <variable name="button_fill_main_height" value="44" />
184 <variable name="button_fill_half_height" value="22" />
185 <variable name="button_fill_quarter_height" value="22" />
186 <variable name="button_refresh_x" value="152" />
187 <variable name="backup_list_y" value="26" />
188 <variable name="backup_list_height" value="184" />
189 <variable name="restore_list_height" value="206" />
190 <variable name="backup_button_row1" value="214" />
191 <variable name="backup_button_row2" value="242" />
192 <variable name="mount_list_height" value="190" />
Ethan Yonkereb32b1f2015-05-18 10:23:03 -0500193 <variable name="mount_storage_row" value="193" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500194 <variable name="storage_list_height" value="134" />
195 <variable name="wipe_list_height" value="216" />
196 <variable name="wipe_button_y" value="170" />
197 <variable name="slidervalue_w" value="308" />
198 <variable name="slidervalue_line_clr" value="#FFFFFF" />
199 <variable name="slidervalue_slider_clr" value="#33B5E5" />
200 <variable name="slidervalue_lineh" value="1" />
201 <variable name="slidervalue_padding" value="8" />
202 <variable name="slidervalue_sliderw" value="4" />
203 <variable name="slidervalue_sliderh" value="20" />
204 <variable name="wipe_button_row1" value="240" />
205 <variable name="invalid_partition_y" value="218" />
Vojtech Bocek7e11ac52015-03-05 23:21:49 +0100206 <variable name="pattern_x" value="70" />
207 <variable name="pattern_y" value="22" />
208 <variable name="pattern_width" value="180" />
209 <variable name="pattern_dot_color" value="#33B5E5" />
210 <variable name="pattern_dot_color_active" value="#FFFFFF" />
211 <variable name="pattern_dot_radius" value="7" />
212 <variable name="pattern_line_color" value="#33B5E5" />
213 <variable name="pattern_line_width" value="4" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500214 </variables>
215
216 <templates>
217 <template name="twrpheader">
Ethan Yonker591b9202015-03-11 11:17:15 -0500218 <object type="fill" color="%button_fill_color%">
219 <placement x="0" y="0" w="320" h="26" />
220 </object>
221
222 <object type="fill" color="%highlight%">
223 <placement x="0" y="26" w="320" h="1" />
224 </object>
225
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500226 <object type="image">
Ethan Yonker591b9202015-03-11 11:17:15 -0500227 <image resource="twrplogo" />
228 <placement x="13" y="13" placement="4" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500229 </object>
230
231 <object type="text" color="%text_color%">
232 <font resource="font" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500233 <placement x="25" y="3" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500234 <text>TWRP v%tw_version%</text>
235 </object>
236
237 <object type="text" color="%text_fail_color%">
238 <condition var1="tw_simulate_actions" var2="1" />
239 <font resource="font" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500240 <placement x="25" y="21" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500241 <text>SIMULATION</text>
242 </object>
243
244 <object type="text" color="%text_color%">
245 <font resource="font" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500246 <placement x="160" y="3" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500247 <text>%tw_time%</text>
248 </object>
249
250 <object type="text" color="%text_color%">
251 <font resource="font" />
Ethan Yonkere2b29022014-07-30 09:32:59 -0500252 <placement x="316" y="3" placement="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500253 <conditions>
254 <condition var1="tw_no_battery_percent" var2="0" />
Matt Mower82931532015-02-27 14:19:59 -0600255 <condition var1="tw_battery" op="&gt;" var2="0" />
256 <condition var1="tw_battery" op="&lt;" var2="101" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500257 </conditions>
258 <text>%tw_battery%</text>
259 </object>
Jenkins1710bf22014-10-02 20:22:21 -0400260
261 <object type="text" color="%text_color%">
262 <font resource="font" />
263 <placement x="190" y="3" />
264 <conditions>
265 <condition var1="tw_no_cpu_temp" var2="0" />
266 </conditions>
Ketut Putu Kumajayaf13b8932015-08-05 20:40:24 +0200267 <text>CPU: %tw_cpu_temp% &#xB0;C</text>
Jenkins1710bf22014-10-02 20:22:21 -0400268 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500269 </template>
270
271 <template name="header">
272 <background color="#000000FF" />
273
274 <object type="button">
275 <placement x="%home_button_x%" y="%home_button_y%" />
276 <font resource="font" color="%button_text_color%" />
277 <text></text>
278 <image resource="home_icon" />
279 <condition var1="tw_busy" var2="0" />
280 <action function="key">home</action>
281 </object>
282
283 <object type="button">
Ethan Yonker591b9202015-03-11 11:17:15 -0500284 <placement x="%back_button_x%" y="%back_button_y%" placement="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500285 <font resource="font" color="%button_text_color%" />
286 <text></text>
287 <image resource="back_icon" />
288 <condition var1="tw_busy" var2="0" />
289 <action function="key">back</action>
290 </object>
291
292 <object type="action">
293 <touch key="power" />
Vojtech Bocek8360a342015-01-07 20:40:56 +0100294 <action function="key">back</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500295 </object>
296
297 <object type="action">
298 <touch key="power+voldown" />
299 <action function="screenshot" />
300 </object>
301 </template>
302
303 <template name="progress_bar">
304 <object type="progressbar">
305 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
306 <resource empty="progress_empty" full="progress_full" />
307 <data name="ui_progress" />
308 </object>
309
310 <object type="animation">
311 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
312 <resource name="progress" />
313 <speed fps="15" render="2" />
314 <loop frame="1" />
315 </object>
316 </template>
317
318 <template name="action_page_console">
319 <object type="console">
320 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
321 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
322 <font resource="fixed" />
323 </object>
324 </template>
325
326 <template name="sort_options">
327 <object type="text" color="%text_color%">
328 <font resource="mediumfont" />
329 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
330 <text>Sort Ascending:</text>
331 </object>
332
333 <object type="button">
334 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
335 <font resource="mediumfont" color="%button_text_color%" />
336 <text>Name</text>
337 <image resource="sort_button" />
338 <action function="set">tw_gui_sort_order=1</action>
339 </object>
340
341 <object type="button">
342 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
343 <font resource="mediumfont" color="%button_text_color%" />
344 <text>Date</text>
345 <image resource="sort_button" />
346 <action function="set">tw_gui_sort_order=2</action>
347 </object>
348
349 <object type="button">
350 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
351 <font resource="mediumfont" color="%button_text_color%" />
352 <text>Size</text>
353 <image resource="sort_button" />
354 <action function="set">tw_gui_sort_order=3</action>
355 </object>
356
357 <object type="text" color="%text_color%">
358 <font resource="mediumfont" />
359 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
360 <text>Sort Descending:</text>
361 </object>
362
363 <object type="button">
364 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
365 <font resource="mediumfont" color="%button_text_color%" />
366 <text>Name</text>
367 <image resource="sort_button" />
368 <action function="set">tw_gui_sort_order=-1</action>
369 </object>
370
371 <object type="button">
372 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
373 <font resource="mediumfont" color="%button_text_color%" />
374 <text>Date</text>
375 <image resource="sort_button" />
376 <action function="set">tw_gui_sort_order=-2</action>
377 </object>
378
379 <object type="button">
380 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
381 <font resource="mediumfont" color="%button_text_color%" />
382 <text>Size</text>
383 <image resource="sort_button" />
384 <action function="set">tw_gui_sort_order=-3</action>
385 </object>
386 </template>
387
388 <template name="footer">
389 <object type="console">
Ethan Yonker591b9202015-03-11 11:17:15 -0500390 <slideout resource="slideout" x="%center_x%" y="288" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500391 <placement x="%console_x%" y="0" w="%console_width%" h="288" />
392 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
393 <font resource="fixed" />
394 </object>
395 </template>
396
397 <template name="keyboardtemplate">
398 <object type="keyboard">
399 <placement x="0" y="150" />
400 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
401 <highlight color="%highlight_color%" />
402 <capshighlight color="%caps_highlight_color%" />
403 <layout1>
404 <keysize height="36" width="32" />
405 <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" />
406 <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" />
407 <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" />
408 <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:a:action" />
409 </layout1>
410 <layout2>
411 <keysize height="36" width="32" capslock="0" revert_layout="1" />
412 <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" />
413 <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" />
414 <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" />
415 <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:action" />
416 </layout2>
417 <layout3>
418 <keysize height="36" width="32" />
419 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
Matt Mower82931532015-02-27 14:19:59 -0600420 <row2 key01="@" key02="#" key03="$" key04="%" key05="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500421 <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" />
422 <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" />
423 </layout3>
424 <layout4>
425 <keysize height="36" width="32" />
426 <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" />
427 <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Matt Mower82931532015-02-27 14:19:59 -0600428 <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="&lt;" key08="&gt;" key09="48:c:8" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500429 <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" />
430 </layout4>
431 </object>
432 </template>
433 </templates>
434</recovery>