blob: a0b1c8a06aaa14b1f664b93d577fe8db5b1d4e58 [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>
Vojtech Bocek76ee9032014-09-07 15:01:56 +020018 <resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="14" fallback="Roboto-Condensed-14" />
19 <resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="14" fallback="Roboto-Condensed-14" />
20 <resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="14" fallback="Roboto-Condensed-14" />
Ethan Yonker591b9202015-03-11 11:17:15 -050021 <resource name="twrplogo" type="image" filename="twrplogo" retainaspect="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050022 <resource name="main_button" type="image" filename="menu-button" />
Ethan Yonker591b9202015-03-11 11:17:15 -050023 <resource name="file_icon" type="image" filename="file" retainaspect="1" />
24 <resource name="folder_icon" type="image" filename="folder" retainaspect="1" />
25 <resource name="slideout" type="image" filename="slideout" retainaspect="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050026 <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 Yonkerd9b72002014-07-30 08:46:28 -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" />
Ethan Yonker591b9202015-03-11 11:17:15 -050037 <resource name="home_icon" type="image" filename="home-icon" retainaspect="1" />
38 <resource name="back_icon" type="image" filename="back-icon" retainaspect="1" />
39 <resource name="slider" type="image" filename="slider" retainaspect="1" />
40 <resource name="slider-used" type="image" filename="slider-used" retainaspect="1" />
41 <resource name="slider-touch" type="image" filename="slider-touch" retainaspect="1" />
42 <resource name="unlock-icon" type="image" filename="unlock" retainaspect="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050043 <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 Yonkerd9b72002014-07-30 08:46:28 -050048 </resources>
49
50 <variables>
51 <variable name="col1_x" value="6" />
52 <variable name="col2_x" value="170" />
53 <variable name="col_center_x" value="88" />
54 <variable name="col_center_medium_x" value="130" />
55 <variable name="center_x" value="160" />
56 <variable name="row1_home_y" value="50" />
57 <variable name="row2_home_y" value="110" />
58 <variable name="row3_home_y" value="170" />
59 <variable name="row4_home_y" value="230" />
60 <variable name="row1_y" value="30" />
61 <variable name="row2_y" value="100" />
62 <variable name="row3_y" value="170" />
63 <variable name="row4_y" value="240" />
64 <variable name="row_queue_y" value="184" />
65 <variable name="row1_header_y" value="0" />
66 <variable name="row1_text_y" value="22" />
67 <variable name="row2_text_y" value="44" />
68 <variable name="row3_text_y" value="66" />
69 <variable name="row4_text_y" value="88" />
70 <variable name="row5_text_y" value="110" />
71 <variable name="row6_text_y" value="132" />
72 <variable name="row7_text_y" value="154" />
73 <variable name="row8_text_y" value="176" />
74 <variable name="row9_text_y" value="198" />
75 <variable name="row10_text_y" value="220" />
76 <variable name="row11_text_y" value="242" />
77 <variable name="row12_text_y" value="284" />
78 <variable name="row13_text_y" value="306" />
79 <variable name="zip_status_y" value="300" />
Ethan Yonker96af84a2015-01-05 14:58:36 -060080 <variable name="flash_list_height" value="160" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050081 <variable name="backup_text_y" value="60" />
82 <variable name="col_progressbar_x" value="34" />
83 <variable name="row_progressbar_y" value="285" />
84 <variable name="col1_medium_x" value="6" />
85 <variable name="col2_medium_x" value="83" />
86 <variable name="col3_medium_x" value="174" />
87 <variable name="col4_medium_x" value="254" />
88 <variable name="row1_medium_y" value="24" />
89 <variable name="row2_medium_y" value="40" />
90 <variable name="row3_medium_y" value="56" />
91 <variable name="row4_medium_y" value="72" />
92 <variable name="row5_medium_y" value="88" />
93 <variable name="row6_medium_y" value="104" />
94 <variable name="row7_medium_y" value="120" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -050095 <variable name="slider_y" value="268" />
96 <variable name="slider_text_y" value="294" />
97 <variable name="button_text_color" value="#AAAAAA" />
98 <variable name="text_color" value="#FFFFFF" />
99 <variable name="text_success_color" value="#33B5E5" />
100 <variable name="text_fail_color" value="#FF0101" />
101 <variable name="highlight_color" value="#90909080" />
102 <variable name="caps_highlight_color" value="#33B5E580" />
103 <variable name="home_button_x" value="3" />
104 <variable name="home_button_y" value="300" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500105 <variable name="back_button_x" value="317" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500106 <variable name="back_button_y" value="300" />
107 <variable name="sort_text_x" value="20" />
108 <variable name="sort_asc_text_y" value="232" />
109 <variable name="sort_asc_button_y" value="230" />
110 <variable name="sort_desc_text_y" value="262" />
111 <variable name="sort_desc_button_y" value="260" />
112 <variable name="sort_col1_button_x" value="135" />
113 <variable name="sort_col2_button_x" value="195" />
114 <variable name="sort_col3_button_x" value="255" />
115 <variable name="input_width" value="308" />
116 <variable name="input_width_conf" value="10" />
117 <variable name="input_height" value="18" />
118 <variable name="input_background_color" value="#303030" />
119 <variable name="input_cursor_color" value="#33B5E5" />
120 <variable name="input_cursor_width" value="2" />
121 <variable name="console_x" value="0" />
122 <variable name="console_width" value="320" />
123 <variable name="console_foreground" value="#A0A0A0" />
124 <variable name="warning" value="#F8F8A0" />
125 <variable name="error" value="#FF4040" />
126 <variable name="highlight" value="#33B5E5" />
127 <variable name="console_background" value="#303030" />
128 <variable name="console_scroll" value="#303030" />
129 <variable name="console_action_height" value="160" />
130 <variable name="console_install_height" value="160" />
131 <variable name="console_installdone_height" value="160" />
132 <variable name="fileselector_x" value="0" />
133 <variable name="fileselector_y" value="44" />
134 <variable name="fileselector_width" value="320" />
135 <variable name="fileselector_install_height" value="182" />
136 <variable name="fileselector_header_background" value="#202020" />
137 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
138 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
139 <variable name="fileselector_header_separatorheight" value="2" />
140 <variable name="fileselector_separatorcolor" value="#505050" />
141 <variable name="fileselector_separatorheight" value="1" />
142 <variable name="fileselector_background" value="#303030" />
143 <variable name="fileselector_highlight_color" value="#505050" />
144 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
145 <variable name="fileselector_spacing" value="12" />
that18e13a92015-03-05 22:38:43 +0100146 <variable name="fastscroll_linecolor" value="#50505080" />
147 <variable name="fastscroll_rectcolor" value="#33B5E580" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500148 <variable name="fastscroll_w" value="32" />
149 <variable name="fastscroll_linew" value="1" />
that18e13a92015-03-05 22:38:43 +0100150 <variable name="fastscroll_rectw" value="7" />
151 <variable name="fastscroll_recth" value="24" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500152 <variable name="listbox_x" value="0" />
153 <variable name="listbox_width" value="320" />
154 <variable name="listbox_background" value="#303030" />
155 <variable name="listbox_spacing" value="12" />
156 <variable name="sd_plus_x" value="174" />
157 <variable name="sdext_text_x" value="56" />
158 <variable name="sdext_text_y" value="18" />
159 <variable name="sdswap_button_y" value="45" />
160 <variable name="sdswap_text_x" value="56" />
161 <variable name="sdswap_text_y" value="47" />
162 <variable name="sdfilesystem_text_y" value="92" />
163 <variable name="sdfilesystem_button_y" value="120" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500164 <variable name="lock_y" value="120" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500165 <variable name="filemanager_select_x" value="130" />
166 <variable name="filemanager_select_y" value="280" />
167 <variable name="terminal_console_height" value="126" />
168 <variable name="terminal_text_y" value="128" />
169 <variable name="terminal_button_y" value="300" />
170 <variable name="listbox_tz_height" value="159" />
171 <variable name="row_dst_text_y" value="162" />
172 <variable name="row_offset_text_y" value="184" />
173 <variable name="row_offset_medium_y" value="206" />
174 <variable name="tz_set_y" value="271" />
175 <variable name="tz_current_y" value="249" />
176 <variable name="button_fill_color" value="#303030" />
177 <variable name="button_fill_full_width" value="308" />
178 <variable name="button_fill_main_width" value="150" />
179 <variable name="button_fill_med_width" value="72" />
180 <variable name="button_fill_small_width" value="36" />
181 <variable name="button_fill_main_height" value="44" />
182 <variable name="button_fill_half_height" value="22" />
183 <variable name="button_fill_quarter_height" value="22" />
184 <variable name="button_refresh_x" value="152" />
185 <variable name="backup_list_y" value="26" />
186 <variable name="backup_list_height" value="184" />
187 <variable name="restore_list_height" value="206" />
188 <variable name="backup_button_row1" value="214" />
189 <variable name="backup_button_row2" value="242" />
190 <variable name="mount_list_height" value="190" />
191 <variable name="mount_storage_row" value="200" />
192 <variable name="storage_list_height" value="134" />
193 <variable name="wipe_list_height" value="216" />
194 <variable name="wipe_button_y" value="170" />
195 <variable name="slidervalue_w" value="308" />
196 <variable name="slidervalue_line_clr" value="#FFFFFF" />
197 <variable name="slidervalue_slider_clr" value="#33B5E5" />
198 <variable name="slidervalue_lineh" value="1" />
199 <variable name="slidervalue_padding" value="8" />
200 <variable name="slidervalue_sliderw" value="4" />
201 <variable name="slidervalue_sliderh" value="20" />
202 <variable name="wipe_button_row1" value="240" />
203 <variable name="invalid_partition_y" value="218" />
204 </variables>
205
206 <templates>
207 <template name="twrpheader">
Ethan Yonker591b9202015-03-11 11:17:15 -0500208 <object type="fill" color="%button_fill_color%">
209 <placement x="0" y="0" w="320" h="26" />
210 </object>
211
212 <object type="fill" color="%highlight%">
213 <placement x="0" y="26" w="320" h="1" />
214 </object>
215
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500216 <object type="image">
Ethan Yonker591b9202015-03-11 11:17:15 -0500217 <image resource="twrplogo" />
218 <placement x="13" y="13" placement="4" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500219 </object>
220
221 <object type="text" color="%text_color%">
222 <font resource="font" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500223 <placement x="25" y="3" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500224 <text>TWRP v%tw_version%</text>
225 </object>
226
227 <object type="text" color="%text_fail_color%">
228 <condition var1="tw_simulate_actions" var2="1" />
229 <font resource="font" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500230 <placement x="25" y="21" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500231 <text>SIMULATION</text>
232 </object>
233
234 <object type="text" color="%text_color%">
235 <font resource="font" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500236 <placement x="160" y="3" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500237 <text>%tw_time%</text>
238 </object>
239
240 <object type="text" color="%text_color%">
241 <font resource="font" />
Ethan Yonkere2b29022014-07-30 09:32:59 -0500242 <placement x="316" y="3" placement="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500243 <conditions>
244 <condition var1="tw_no_battery_percent" var2="0" />
Matt Mower82931532015-02-27 14:19:59 -0600245 <condition var1="tw_battery" op="&gt;" var2="0" />
246 <condition var1="tw_battery" op="&lt;" var2="101" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500247 </conditions>
248 <text>%tw_battery%</text>
249 </object>
Jenkins1710bf22014-10-02 20:22:21 -0400250
251 <object type="text" color="%text_color%">
252 <font resource="font" />
253 <placement x="190" y="3" />
254 <conditions>
255 <condition var1="tw_no_cpu_temp" var2="0" />
256 </conditions>
257 <text>CPU: %tw_cpu_temp% C</text>
258 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500259 </template>
260
261 <template name="header">
262 <background color="#000000FF" />
263
264 <object type="button">
265 <placement x="%home_button_x%" y="%home_button_y%" />
266 <font resource="font" color="%button_text_color%" />
267 <text></text>
268 <image resource="home_icon" />
269 <condition var1="tw_busy" var2="0" />
270 <action function="key">home</action>
271 </object>
272
273 <object type="button">
Ethan Yonker591b9202015-03-11 11:17:15 -0500274 <placement x="%back_button_x%" y="%back_button_y%" placement="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500275 <font resource="font" color="%button_text_color%" />
276 <text></text>
277 <image resource="back_icon" />
278 <condition var1="tw_busy" var2="0" />
279 <action function="key">back</action>
280 </object>
281
282 <object type="action">
283 <touch key="power" />
Vojtech Bocek8360a342015-01-07 20:40:56 +0100284 <action function="key">back</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500285 </object>
286
287 <object type="action">
288 <touch key="power+voldown" />
289 <action function="screenshot" />
290 </object>
291 </template>
292
293 <template name="progress_bar">
294 <object type="progressbar">
295 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
296 <resource empty="progress_empty" full="progress_full" />
297 <data name="ui_progress" />
298 </object>
299
300 <object type="animation">
301 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
302 <resource name="progress" />
303 <speed fps="15" render="2" />
304 <loop frame="1" />
305 </object>
306 </template>
307
308 <template name="action_page_console">
309 <object type="console">
310 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
311 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
312 <font resource="fixed" />
313 </object>
314 </template>
315
316 <template name="sort_options">
317 <object type="text" color="%text_color%">
318 <font resource="mediumfont" />
319 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
320 <text>Sort Ascending:</text>
321 </object>
322
323 <object type="button">
324 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
325 <font resource="mediumfont" color="%button_text_color%" />
326 <text>Name</text>
327 <image resource="sort_button" />
328 <action function="set">tw_gui_sort_order=1</action>
329 </object>
330
331 <object type="button">
332 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
333 <font resource="mediumfont" color="%button_text_color%" />
334 <text>Date</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=2</action>
337 </object>
338
339 <object type="button">
340 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
341 <font resource="mediumfont" color="%button_text_color%" />
342 <text>Size</text>
343 <image resource="sort_button" />
344 <action function="set">tw_gui_sort_order=3</action>
345 </object>
346
347 <object type="text" color="%text_color%">
348 <font resource="mediumfont" />
349 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
350 <text>Sort Descending:</text>
351 </object>
352
353 <object type="button">
354 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
355 <font resource="mediumfont" color="%button_text_color%" />
356 <text>Name</text>
357 <image resource="sort_button" />
358 <action function="set">tw_gui_sort_order=-1</action>
359 </object>
360
361 <object type="button">
362 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
363 <font resource="mediumfont" color="%button_text_color%" />
364 <text>Date</text>
365 <image resource="sort_button" />
366 <action function="set">tw_gui_sort_order=-2</action>
367 </object>
368
369 <object type="button">
370 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
371 <font resource="mediumfont" color="%button_text_color%" />
372 <text>Size</text>
373 <image resource="sort_button" />
374 <action function="set">tw_gui_sort_order=-3</action>
375 </object>
376 </template>
377
378 <template name="footer">
379 <object type="console">
Ethan Yonker591b9202015-03-11 11:17:15 -0500380 <slideout resource="slideout" x="%center_x%" y="288" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500381 <placement x="%console_x%" y="0" w="%console_width%" h="288" />
382 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
383 <font resource="fixed" />
384 </object>
385 </template>
386
387 <template name="keyboardtemplate">
388 <object type="keyboard">
389 <placement x="0" y="150" />
390 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
391 <highlight color="%highlight_color%" />
392 <capshighlight color="%caps_highlight_color%" />
393 <layout1>
394 <keysize height="36" width="32" />
395 <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" />
396 <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" />
397 <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" />
398 <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:a:action" />
399 </layout1>
400 <layout2>
401 <keysize height="36" width="32" capslock="0" revert_layout="1" />
402 <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" />
403 <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" />
404 <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" />
405 <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:action" />
406 </layout2>
407 <layout3>
408 <keysize height="36" width="32" />
409 <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 -0600410 <row2 key01="@" key02="#" key03="$" key04="%" key05="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500411 <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" />
412 <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" />
413 </layout3>
414 <layout4>
415 <keysize height="36" width="32" />
416 <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" />
417 <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Matt Mower82931532015-02-27 14:19:59 -0600418 <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 -0500419 <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" />
420 </layout4>
421 </object>
422 </template>
423 </templates>
424</recovery>