blob: ab034253056972c0434353f99a94bd5975465339 [file] [log] [blame]
Ethan Yonker3d49ea72014-08-04 09:14:12 -05001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="280" height="280" />
Ethan Yonker63e414f2015-02-06 15:44:39 -06006 <roundscreen offset_x="35" offset_y="35" />
Ethan Yonker3d49ea72014-08-04 09:14:12 -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>
Vojtech Bocek76ee9032014-09-07 15:01:56 +020018 <resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="12" fallback="Roboto-Condensed-12" />
19 <resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="12" fallback="Roboto-Condensed-12" />
20 <resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="12" fallback="Roboto-Condensed-12" />
Ethan Yonker3d49ea72014-08-04 09:14:12 -050021 <resource name="top_bar" type="image" filename="top-bar.jpg" />
22 <resource name="main_button" type="image" filename="menu-button" />
23 <resource name="file_icon" type="image" filename="file" />
24 <resource name="folder_icon" type="image" filename="folder" />
25 <resource name="slideout" type="image" filename="slideout" />
26 <resource name="progress" type="animation" filename="indeterminate" />
27 <resource name="progress_empty" type="image" filename="progress_empty" />
28 <resource name="progress_full" type="image" filename="progress_fill" />
Ethan Yonker63e414f2015-02-06 15:44:39 -060029 <resource name="checkbox_false" type="image" filename="checkbox_empty" retainaspect="1" />
30 <resource name="checkbox_true" type="image" filename="checkbox_checked" retainaspect="1" />
31 <resource name="radio_false" type="image" filename="radio_empty" retainaspect="1" />
32 <resource name="radio_true" type="image" filename="radio_selected" retainaspect="1" />
Ethan Yonker3d49ea72014-08-04 09:14:12 -050033 <resource name="medium_button" type="image" filename="medium-button" />
34 <resource name="sort_button" type="image" filename="sort-button" />
35 <resource name="minus_button" type="image" filename="minus-button" />
36 <resource name="plus_button" type="image" filename="plus-button" />
37 <resource name="home_icon" type="image" filename="home-icon" />
38 <resource name="back_icon" type="image" filename="back-icon" />
39 <resource name="slider" type="image" filename="slider" />
40 <resource name="slider-used" type="image" filename="slider-used" />
41 <resource name="slider-touch" type="image" filename="slider-touch" />
42 <resource name="unlock-icon" type="image" filename="unlock" />
43 <resource name="keyboard1" type="image" filename="keyboard1" />
44 <resource name="keyboard2" type="image" filename="keyboard2" />
45 <resource name="keyboard3" type="image" filename="keyboard3" />
46 <resource name="keyboard4" type="image" filename="keyboard4" />
Ethan Yonker63e414f2015-02-06 15:44:39 -060047 <resource name="cursor" type="image" filename="cursor" retainaspect="1" />
Ethan Yonker3d49ea72014-08-04 09:14:12 -050048 </resources>
49
50 <variables>
51 <variable name="col1_x" value="6" />
52 <variable name="col2_x" value="148" />
53 <variable name="col_center_x" value="77" />
54 <variable name="col_center_medium_x" value="115" />
55 <variable name="center_x" value="140" />
56 <variable name="row1_home_y" value="40" />
57 <variable name="row2_home_y" value="95" />
58 <variable name="row3_home_y" value="150" />
59 <variable name="row4_home_y" value="205" />
60 <variable name="row1_y" value="25" />
61 <variable name="row2_y" value="85" />
62 <variable name="row3_y" value="145" />
63 <variable name="row4_y" value="205" />
64 <variable name="row_queue_y" value="164" />
65 <variable name="row1_header_y" value="0" />
66 <variable name="row1_text_y" value="19" />
67 <variable name="row2_text_y" value="38" />
68 <variable name="row3_text_y" value="57" />
69 <variable name="row4_text_y" value="76" />
70 <variable name="row5_text_y" value="95" />
71 <variable name="row6_text_y" value="114" />
72 <variable name="row7_text_y" value="133" />
73 <variable name="row8_text_y" value="152" />
74 <variable name="row9_text_y" value="171" />
75 <variable name="row10_text_y" value="190" />
76 <variable name="row11_text_y" value="209" />
77 <variable name="row12_text_y" value="228" />
78 <variable name="row13_text_y" value="237" />
Ethan Yonker96af84a2015-01-05 14:58:36 -060079 <variable name="flash_list_height" value="140" />
Ethan Yonker3d49ea72014-08-04 09:14:12 -050080 <variable name="zip_status_y" value="265" />
81 <variable name="backup_text_y" value="50" />
82 <variable name="col_progressbar_x" value="31" />
83 <variable name="row_progressbar_y" value="250" />
84 <variable name="col1_medium_x" value="6" />
85 <variable name="col2_medium_x" value="79" />
86 <variable name="col3_medium_x" value="150" />
87 <variable name="col4_medium_x" value="223" />
88 <variable name="row1_medium_y" value="24" />
89 <variable name="row2_medium_y" value="64" />
90 <variable name="row3_medium_y" value="104" />
91 <variable name="row4_medium_y" value="144" />
92 <variable name="row5_medium_y" value="184" />
93 <variable name="row6_medium_y" value="224" />
94 <variable name="row7_medium_y" value="264" />
95 <variable name="slider_x" value="40" />
96 <variable name="slider_y" value="234" />
97 <variable name="slider_text_y" value="254" />
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="262" />
106 <variable name="back_button_x" value="244" />
107 <variable name="back_button_y" value="262" />
108 <variable name="sort_text_x" value="16" />
109 <variable name="sort_asc_text_y" value="205" />
110 <variable name="sort_asc_button_y" value="203" />
111 <variable name="sort_desc_text_y" value="230" />
112 <variable name="sort_desc_button_y" value="228" />
113 <variable name="sort_col1_button_x" value="125" />
114 <variable name="sort_col2_button_x" value="175" />
115 <variable name="sort_col3_button_x" value="225" />
116 <variable name="input_width" value="268" />
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="280" />
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="140" />
131 <variable name="console_install_height" value="140" />
132 <variable name="console_installdone_height" value="140" />
133 <variable name="fileselector_x" value="0" />
134 <variable name="fileselector_y" value="44" />
135 <variable name="fileselector_width" value="280" />
136 <variable name="fileselector_install_height" value="152" />
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 Yonker3d49ea72014-08-04 09:14:12 -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 Yonker3d49ea72014-08-04 09:14:12 -0500153 <variable name="listbox_x" value="0" />
154 <variable name="listbox_width" value="280" />
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="30" />
160 <variable name="sdswap_button_y" value="60" />
161 <variable name="sdswap_text_x" value="56" />
162 <variable name="sdswap_text_y" value="63" />
163 <variable name="sdfilesystem_text_y" value="92" />
164 <variable name="sdfilesystem_button_y" value="120" />
165 <variable name="lock_x" value="96" />
166 <variable name="lock_y" value="70" />
167 <variable name="filemanager_select_x" value="115" />
168 <variable name="filemanager_select_y" value="250" />
169 <variable name="terminal_console_height" value="114" />
170 <variable name="terminal_text_y" value="116" />
171 <variable name="terminal_button_y" value="250" />
172 <variable name="listbox_tz_height" value="139" />
173 <variable name="row_dst_text_y" value="142" />
174 <variable name="row_offset_text_y" value="163" />
175 <variable name="row_offset_medium_y" value="179" />
176 <variable name="tz_set_y" value="237" />
177 <variable name="tz_current_y" value="221" />
178 <variable name="button_fill_color" value="#303030" />
179 <variable name="button_fill_full_width" value="268" />
180 <variable name="button_fill_main_width" value="126" />
181 <variable name="button_fill_med_width" value="65" />
182 <variable name="button_fill_small_width" value="32" />
183 <variable name="button_fill_main_height" value="40" />
184 <variable name="button_fill_half_height" value="20" />
185 <variable name="button_fill_quarter_height" value="20" />
186 <variable name="button_refresh_x" value="152" />
187 <variable name="backup_list_y" value="26" />
188 <variable name="backup_list_height" value="154" />
189 <variable name="restore_list_height" value="180" />
190 <variable name="backup_button_row1" value="184" />
191 <variable name="backup_button_row2" value="208" />
192 <variable name="mount_list_height" value="170" />
193 <variable name="mount_storage_row" value="175" />
194 <variable name="storage_list_height" value="134" />
195 <variable name="wipe_list_height" value="194" />
196 <variable name="wipe_button_y" value="170" />
197 <variable name="slidervalue_w" value="268" />
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="210" />
205 <variable name="invalid_partition_y" value="195" />
206 </variables>
207
208 <templates>
209 <template name="twrpheader">
210 <object type="image">
211 <image resource="top_bar" />
212 <placement x="0" y="0" />
213 </object>
214
215 <object type="text" color="%text_color%">
216 <font resource="font" />
217 <placement x="3" y="3" />
218 <text>TWRP v%tw_version%</text>
219 </object>
220
221 <object type="text" color="%text_fail_color%">
222 <condition var1="tw_simulate_actions" var2="1" />
223 <font resource="font" />
224 <placement x="3" y="21" />
225 <text>SIMULATION</text>
226 </object>
227
228 <object type="text" color="%text_color%">
229 <font resource="font" />
Jenkins1710bf22014-10-02 20:22:21 -0400230 <placement x="95" y="3" />
Ethan Yonker3d49ea72014-08-04 09:14:12 -0500231 <text>%tw_time%</text>
232 </object>
233
234 <object type="text" color="%text_color%">
235 <font resource="font" />
236 <placement x="277" y="3" placement="1" />
237 <conditions>
238 <condition var1="tw_no_battery_percent" var2="0" />
Matt Mower82931532015-02-27 14:19:59 -0600239 <condition var1="tw_battery" op="&gt;" var2="0" />
240 <condition var1="tw_battery" op="&lt;" var2="101" />
Ethan Yonker3d49ea72014-08-04 09:14:12 -0500241 </conditions>
242 <text>%tw_battery%</text>
243 </object>
Jenkins1710bf22014-10-02 20:22:21 -0400244
245 <object type="text" color="%text_color%">
246 <font resource="font" />
247 <placement x="160" y="3" />
248 <conditions>
249 <condition var1="tw_no_cpu_temp" var2="0" />
250 </conditions>
251 <text>CPU: %tw_cpu_temp% C</text>
252 </object>
Ethan Yonker3d49ea72014-08-04 09:14:12 -0500253 </template>
254
255 <template name="header">
256 <background color="#000000FF" />
257
258 <object type="button">
259 <placement x="%home_button_x%" y="%home_button_y%" />
260 <font resource="font" color="%button_text_color%" />
261 <text></text>
262 <image resource="home_icon" />
263 <condition var1="tw_busy" var2="0" />
264 <action function="key">home</action>
265 </object>
266
267 <object type="button">
268 <placement x="%back_button_x%" y="%back_button_y%" />
269 <font resource="font" color="%button_text_color%" />
270 <text></text>
271 <image resource="back_icon" />
272 <condition var1="tw_busy" var2="0" />
273 <action function="key">back</action>
274 </object>
275
276 <object type="action">
277 <touch key="power" />
Vojtech Bocek8360a342015-01-07 20:40:56 +0100278 <action function="key">back</action>
Ethan Yonker3d49ea72014-08-04 09:14:12 -0500279 </object>
280
281 <object type="action">
282 <touch key="power+voldown" />
283 <action function="screenshot" />
284 </object>
285 </template>
286
287 <template name="progress_bar">
288 <object type="progressbar">
289 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
290 <resource empty="progress_empty" full="progress_full" />
291 <data name="ui_progress" />
292 </object>
293
294 <object type="animation">
295 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
296 <resource name="progress" />
297 <speed fps="15" render="2" />
298 <loop frame="1" />
299 </object>
300 </template>
301
302 <template name="action_page_console">
303 <object type="console">
304 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
305 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
306 <font resource="fixed" />
307 </object>
308 </template>
309
310 <template name="sort_options">
311 <object type="text" color="%text_color%">
312 <font resource="mediumfont" />
313 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
314 <text>Sort Ascending:</text>
315 </object>
316
317 <object type="button">
318 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
319 <font resource="mediumfont" color="%button_text_color%" />
320 <text>Name</text>
321 <image resource="sort_button" />
322 <action function="set">tw_gui_sort_order=1</action>
323 </object>
324
325 <object type="button">
326 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
327 <font resource="mediumfont" color="%button_text_color%" />
328 <text>Date</text>
329 <image resource="sort_button" />
330 <action function="set">tw_gui_sort_order=2</action>
331 </object>
332
333 <object type="button">
334 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
335 <font resource="mediumfont" color="%button_text_color%" />
336 <text>Size</text>
337 <image resource="sort_button" />
338 <action function="set">tw_gui_sort_order=3</action>
339 </object>
340
341 <object type="text" color="%text_color%">
342 <font resource="mediumfont" />
343 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
344 <text>Sort Descending:</text>
345 </object>
346
347 <object type="button">
348 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
349 <font resource="mediumfont" color="%button_text_color%" />
350 <text>Name</text>
351 <image resource="sort_button" />
352 <action function="set">tw_gui_sort_order=-1</action>
353 </object>
354
355 <object type="button">
356 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
357 <font resource="mediumfont" color="%button_text_color%" />
358 <text>Date</text>
359 <image resource="sort_button" />
360 <action function="set">tw_gui_sort_order=-2</action>
361 </object>
362
363 <object type="button">
364 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
365 <font resource="mediumfont" color="%button_text_color%" />
366 <text>Size</text>
367 <image resource="sort_button" />
368 <action function="set">tw_gui_sort_order=-3</action>
369 </object>
370 </template>
371
372 <template name="footer">
373 <object type="console">
374 <slideout resource="slideout" x="113" y="255" />
375 <placement x="%console_x%" y="0" w="%console_width%" h="255" />
376 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
377 <font resource="fixed" />
378 </object>
379 </template>
380
381 <template name="keyboardtemplate">
382 <object type="keyboard">
383 <placement x="0" y="136" />
384 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
385 <highlight color="%highlight_color%" />
386 <capshighlight color="%caps_highlight_color%" />
387 <layout1>
388 <keysize height="32" width="28" />
389 <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" />
390 <row2 key01="42:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="42:l" />
391 <row3 key01="42:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="42:c:8" />
392 <row4 key01="42:layout3" key02="28:," key03="140: " key04="28:." key05="42:a:action" />
393 </layout1>
394 <layout2>
395 <keysize height="32" width="28" capslock="0" revert_layout="1" />
396 <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" />
397 <row2 key01="42:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="42:L" />
398 <row3 key01="42:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="42:c:8" />
399 <row4 key01="42:layout3" key02="28:," key03="140: " key04="28:." key05="42:action" />
400 </layout2>
401 <layout3>
402 <keysize height="32" width="28" />
403 <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 -0600404 <row2 key01="@" key02="#" key03="$" key04="%" key05="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")" />
Ethan Yonker3d49ea72014-08-04 09:14:12 -0500405 <row3 key01="42:layout4" key02="!" key03="28:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="42:c:8" />
406 <row4 key01="42:layout1" key02="28:," key03="140: " key04="28:." key05="42:action" />
407 </layout3>
408 <layout4>
409 <keysize height="32" width="28" />
410 <row1 key01="~" key02="`" key03="|" key04="28:" key05="28:" key06="28:" key07="%" key08="28:" key09="{" key10="}" />
411 <row2 key01="28:" key02="28:" key03="28:" key04="28:" key05="28:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Matt Mower82931532015-02-27 14:19:59 -0600412 <row3 key01="42:layout3" key02="28:" key03="28:" key04="28:" key05="28:" key06="\" key07="&lt;" key08="&gt;" key09="42:c:8" />
Ethan Yonker3d49ea72014-08-04 09:14:12 -0500413 <row4 key01="42:layout1" key02="28:c:34" key03="140: " key04="28:." key05="42:action" />
414 </layout4>
415 </object>
416 </template>
417 </templates>
418</recovery>