blob: 5495b771731fa817c43b90b1eaec210c0d6a6a91 [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" />
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" />
177 <variable name="button_fill_color" value="#303030" />
178 <variable name="button_fill_full_width" value="308" />
179 <variable name="button_fill_main_width" value="150" />
180 <variable name="button_fill_med_width" value="72" />
181 <variable name="button_fill_small_width" value="36" />
182 <variable name="button_fill_main_height" value="44" />
183 <variable name="button_fill_half_height" value="22" />
184 <variable name="button_fill_quarter_height" value="22" />
185 <variable name="button_refresh_x" value="152" />
186 <variable name="backup_list_y" value="26" />
187 <variable name="backup_list_height" value="184" />
188 <variable name="restore_list_height" value="206" />
189 <variable name="backup_button_row1" value="214" />
190 <variable name="backup_button_row2" value="242" />
191 <variable name="mount_list_height" value="190" />
192 <variable name="mount_storage_row" value="200" />
193 <variable name="storage_list_height" value="134" />
194 <variable name="wipe_list_height" value="216" />
195 <variable name="wipe_button_y" value="170" />
196 <variable name="slidervalue_w" value="308" />
197 <variable name="slidervalue_line_clr" value="#FFFFFF" />
198 <variable name="slidervalue_slider_clr" value="#33B5E5" />
199 <variable name="slidervalue_lineh" value="1" />
200 <variable name="slidervalue_padding" value="8" />
201 <variable name="slidervalue_sliderw" value="4" />
202 <variable name="slidervalue_sliderh" value="20" />
203 <variable name="wipe_button_row1" value="240" />
204 <variable name="invalid_partition_y" value="218" />
Vojtech Bocek7e11ac52015-03-05 23:21:49 +0100205 <variable name="pattern_x" value="70" />
206 <variable name="pattern_y" value="22" />
207 <variable name="pattern_width" value="180" />
208 <variable name="pattern_dot_color" value="#33B5E5" />
209 <variable name="pattern_dot_color_active" value="#FFFFFF" />
210 <variable name="pattern_dot_radius" value="7" />
211 <variable name="pattern_line_color" value="#33B5E5" />
212 <variable name="pattern_line_width" value="4" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500213 </variables>
214
215 <templates>
216 <template name="twrpheader">
Ethan Yonker591b9202015-03-11 11:17:15 -0500217 <object type="fill" color="%button_fill_color%">
218 <placement x="0" y="0" w="320" h="26" />
219 </object>
220
221 <object type="fill" color="%highlight%">
222 <placement x="0" y="26" w="320" h="1" />
223 </object>
224
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500225 <object type="image">
Ethan Yonker591b9202015-03-11 11:17:15 -0500226 <image resource="twrplogo" />
227 <placement x="13" y="13" placement="4" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500228 </object>
229
230 <object type="text" color="%text_color%">
231 <font resource="font" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500232 <placement x="25" y="3" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500233 <text>TWRP v%tw_version%</text>
234 </object>
235
236 <object type="text" color="%text_fail_color%">
237 <condition var1="tw_simulate_actions" var2="1" />
238 <font resource="font" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500239 <placement x="25" y="21" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500240 <text>SIMULATION</text>
241 </object>
242
243 <object type="text" color="%text_color%">
244 <font resource="font" />
Ethan Yonker591b9202015-03-11 11:17:15 -0500245 <placement x="160" y="3" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500246 <text>%tw_time%</text>
247 </object>
248
249 <object type="text" color="%text_color%">
250 <font resource="font" />
Ethan Yonkere2b29022014-07-30 09:32:59 -0500251 <placement x="316" y="3" placement="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500252 <conditions>
253 <condition var1="tw_no_battery_percent" var2="0" />
Matt Mower82931532015-02-27 14:19:59 -0600254 <condition var1="tw_battery" op="&gt;" var2="0" />
255 <condition var1="tw_battery" op="&lt;" var2="101" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500256 </conditions>
257 <text>%tw_battery%</text>
258 </object>
Jenkins1710bf22014-10-02 20:22:21 -0400259
260 <object type="text" color="%text_color%">
261 <font resource="font" />
262 <placement x="190" y="3" />
263 <conditions>
264 <condition var1="tw_no_cpu_temp" var2="0" />
265 </conditions>
266 <text>CPU: %tw_cpu_temp% C</text>
267 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500268 </template>
269
270 <template name="header">
271 <background color="#000000FF" />
272
273 <object type="button">
274 <placement x="%home_button_x%" y="%home_button_y%" />
275 <font resource="font" color="%button_text_color%" />
276 <text></text>
277 <image resource="home_icon" />
278 <condition var1="tw_busy" var2="0" />
279 <action function="key">home</action>
280 </object>
281
282 <object type="button">
Ethan Yonker591b9202015-03-11 11:17:15 -0500283 <placement x="%back_button_x%" y="%back_button_y%" placement="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500284 <font resource="font" color="%button_text_color%" />
285 <text></text>
286 <image resource="back_icon" />
287 <condition var1="tw_busy" var2="0" />
288 <action function="key">back</action>
289 </object>
290
291 <object type="action">
292 <touch key="power" />
Vojtech Bocek8360a342015-01-07 20:40:56 +0100293 <action function="key">back</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500294 </object>
295
296 <object type="action">
297 <touch key="power+voldown" />
298 <action function="screenshot" />
299 </object>
300 </template>
301
302 <template name="progress_bar">
303 <object type="progressbar">
304 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
305 <resource empty="progress_empty" full="progress_full" />
306 <data name="ui_progress" />
307 </object>
308
309 <object type="animation">
310 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
311 <resource name="progress" />
312 <speed fps="15" render="2" />
313 <loop frame="1" />
314 </object>
315 </template>
316
317 <template name="action_page_console">
318 <object type="console">
319 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
320 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
321 <font resource="fixed" />
322 </object>
323 </template>
324
325 <template name="sort_options">
326 <object type="text" color="%text_color%">
327 <font resource="mediumfont" />
328 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
329 <text>Sort Ascending:</text>
330 </object>
331
332 <object type="button">
333 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
334 <font resource="mediumfont" color="%button_text_color%" />
335 <text>Name</text>
336 <image resource="sort_button" />
337 <action function="set">tw_gui_sort_order=1</action>
338 </object>
339
340 <object type="button">
341 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
342 <font resource="mediumfont" color="%button_text_color%" />
343 <text>Date</text>
344 <image resource="sort_button" />
345 <action function="set">tw_gui_sort_order=2</action>
346 </object>
347
348 <object type="button">
349 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
350 <font resource="mediumfont" color="%button_text_color%" />
351 <text>Size</text>
352 <image resource="sort_button" />
353 <action function="set">tw_gui_sort_order=3</action>
354 </object>
355
356 <object type="text" color="%text_color%">
357 <font resource="mediumfont" />
358 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
359 <text>Sort Descending:</text>
360 </object>
361
362 <object type="button">
363 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
364 <font resource="mediumfont" color="%button_text_color%" />
365 <text>Name</text>
366 <image resource="sort_button" />
367 <action function="set">tw_gui_sort_order=-1</action>
368 </object>
369
370 <object type="button">
371 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
372 <font resource="mediumfont" color="%button_text_color%" />
373 <text>Date</text>
374 <image resource="sort_button" />
375 <action function="set">tw_gui_sort_order=-2</action>
376 </object>
377
378 <object type="button">
379 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
380 <font resource="mediumfont" color="%button_text_color%" />
381 <text>Size</text>
382 <image resource="sort_button" />
383 <action function="set">tw_gui_sort_order=-3</action>
384 </object>
385 </template>
386
387 <template name="footer">
388 <object type="console">
Ethan Yonker591b9202015-03-11 11:17:15 -0500389 <slideout resource="slideout" x="%center_x%" y="288" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500390 <placement x="%console_x%" y="0" w="%console_width%" h="288" />
391 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
392 <font resource="fixed" />
393 </object>
394 </template>
395
396 <template name="keyboardtemplate">
397 <object type="keyboard">
398 <placement x="0" y="150" />
399 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
400 <highlight color="%highlight_color%" />
401 <capshighlight color="%caps_highlight_color%" />
402 <layout1>
403 <keysize height="36" width="32" />
404 <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" />
405 <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" />
406 <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" />
407 <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:a:action" />
408 </layout1>
409 <layout2>
410 <keysize height="36" width="32" capslock="0" revert_layout="1" />
411 <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" />
412 <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" />
413 <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" />
414 <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:action" />
415 </layout2>
416 <layout3>
417 <keysize height="36" width="32" />
418 <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 -0600419 <row2 key01="@" key02="#" key03="$" key04="%" key05="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500420 <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" />
421 <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" />
422 </layout3>
423 <layout4>
424 <keysize height="36" width="32" />
425 <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" />
426 <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Matt Mower82931532015-02-27 14:19:59 -0600427 <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 -0500428 <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" />
429 </layout4>
430 </object>
431 </template>
432 </templates>
433</recovery>