blob: b9aa7be903a30024b2c8b503d6dfff9b44bf5850 [file] [log] [blame]
Vojtech Bocek1239ee82013-09-04 16:51:33 +02001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1200" height="1920" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
Ethan Yonker780cd392014-07-21 15:24:39 -050012 <include>
13 <xmlfile name="portrait.xml" />
14 </include>
15
Vojtech Bocek1239ee82013-09-04 16:51:33 +020016 <resources>
Vojtech Bocek76ee9032014-09-07 15:01:56 +020017 <resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="40" fallback="Roboto-Condensed-40" />
18 <resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="40" fallback="Roboto-Condensed-40" />
19 <resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="40" fallback="Roboto-Condensed-40" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +020020 <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" />
Ethan Yonker63e414f2015-02-06 15:44:39 -060028 <resource name="checkbox_false" type="image" filename="checkbox_empty" retainaspect="1" />
29 <resource name="checkbox_true" type="image" filename="checkbox_checked" retainaspect="1" />
30 <resource name="radio_false" type="image" filename="radio_empty" retainaspect="1" />
31 <resource name="radio_true" type="image" filename="radio_selected" retainaspect="1" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +020032 <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" />
Ethan Yonker63e414f2015-02-06 15:44:39 -060046 <resource name="cursor" type="image" filename="cursor" retainaspect="1" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +020047 </resources>
48
49 <variables>
50 <variable name="col1_x" value="10" />
51 <variable name="col2_x" value="624" />
52 <variable name="col_center_x" value="317" />
53 <variable name="col_center_medium_x" value="473" />
54 <variable name="center_x" value="600" />
55 <variable name="row1_y" value="255" />
56 <variable name="row2_y" value="615" />
57 <variable name="row3_y" value="975" />
58 <variable name="row4_y" value="1335" />
59
60 <!-- these two are unused? -->
61 <variable name="col1_center_x" value="179" />
62 <variable name="col2_center_x" value="552" />
63
64 <variable name="row1_text2_y" value="310" />
65 <variable name="row2_text2_y" value="550" />
66 <variable name="row_queue_y" value="1140" />
67 <variable name="row1_header_y" value="180" />
68 <variable name="row1_text_y" value="255" />
69 <variable name="row2_text_y" value="330" />
70 <variable name="row3_text_y" value="405" />
71 <variable name="row4_text_y" value="480" />
72 <variable name="row5_text_y" value="555" />
73 <variable name="row6_text_y" value="630" />
74 <variable name="row7_text_y" value="705" />
75 <variable name="row8_text_y" value="780" />
76 <variable name="row9_text_y" value="855" />
77 <variable name="row10_text_y" value="930" />
78 <variable name="row11_text_y" value="1005" />
79 <variable name="row12_text_y" value="1080" />
80 <variable name="row13_text_y" value="1155" />
81 <variable name="row14_text_y" value="1230" />
82 <variable name="row15_text_y" value="1305" />
83 <variable name="row16_text_y" value="1380" />
84 <variable name="row17_text_y" value="1455" />
85 <variable name="row18_text_y" value="1530" />
86 <variable name="zip_status_y" value="922" />
Ethan Yonker96af84a2015-01-05 14:58:36 -060087 <variable name="flash_list_height" value="500" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +020088 <variable name="tz_selected_y" value="240" />
89 <variable name="tz_set_y" value="1500" />
90 <variable name="tz_current_y" value="1425" />
91 <variable name="col_progressbar_x" value="411" />
92 <variable name="row_progressbar_y" value="1650" />
93 <variable name="col1_medium_x" value="10" />
94 <variable name="col2_medium_x" value="318" />
95 <variable name="col3_medium_x" value="626" />
96 <variable name="col4_medium_x" value="934" />
97 <variable name="row1_medium_y" value="195" />
98 <variable name="row2_medium_y" value="345" />
99 <variable name="row3_medium_y" value="392" />
100 <variable name="row4_medium_y" value="645" />
101 <variable name="row5_medium_y" value="795" />
102 <variable name="row6_medium_y" value="1260" />
103 <variable name="row7_medium_y" value="730" />
104 <variable name="slider_x" value="161" />
105 <variable name="slider_y" value="1575" />
106 <variable name="slider_text_y" value="1676" />
107 <variable name="button_text_color" value="#AAAAAA" />
108 <variable name="text_color" value="#FFFFFF" />
109 <variable name="text_success_color" value="#33B5E5" />
110 <variable name="text_fail_color" value="#FF0101" />
111 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600112 <variable name="caps_highlight_color" value="#33B5E580" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200113 <variable name="home_button_x" value="10" />
114 <variable name="home_button_y" value="1839" />
115 <variable name="back_button_x" value="1064" />
116 <variable name="back_button_y" value="1839" />
117 <variable name="sort_text_x" value="10" />
118 <variable name="sort_asc_text_y" value="1635" />
119 <variable name="sort_asc_button_y" value="1620" />
120 <variable name="sort_desc_text_y" value="1725" />
121 <variable name="sort_desc_button_y" value="1710" />
122 <variable name="sort_col1_button_x" value="390" />
123 <variable name="sort_col2_button_x" value="540" />
124 <variable name="sort_col3_button_x" value="690" />
125 <variable name="input_width" value="1180" />
126 <variable name="input_height" value="75" />
127 <variable name="input_background_color" value="#303030" />
128 <variable name="input_cursor_color" value="#33B5E5" />
129 <variable name="input_cursor_width" value="4" />
130 <variable name="console_x" value="0" />
131 <variable name="console_width" value="1200" />
132 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500133 <variable name="warning" value="#F8F8A0" />
134 <variable name="error" value="#FF4040" />
135 <variable name="highlight" value="#33B5E5" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200136 <variable name="console_background" value="#303030" />
137 <variable name="console_scroll" value="#303030" />
138 <variable name="console_action_height" value="705" />
139 <variable name="console_install_height" value="900" />
140 <variable name="console_installdone_height" value="660" />
141 <variable name="fileselector_x" value="5" />
142 <variable name="fileselector_width" value="1190" />
143 <variable name="fileselector_install_height" value="1170" />
144 <variable name="fileselector_header_background" value="#202020" />
145 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
146 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
147 <variable name="fileselector_header_separatorheight" value="4" />
148 <variable name="fileselector_separatorcolor" value="#505050" />
149 <variable name="fileselector_separatorheight" value="3" />
150 <variable name="fileselector_background" value="#303030" />
151 <variable name="fileselector_highlight_color" value="#505050" />
152 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
153 <variable name="fileselector_spacing" value="48" />
that18e13a92015-03-05 22:38:43 +0100154 <variable name="fastscroll_linecolor" value="#50505080" />
155 <variable name="fastscroll_rectcolor" value="#33B5E580" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200156 <variable name="fastscroll_w" value="90" />
157 <variable name="fastscroll_linew" value="3" />
that18e13a92015-03-05 22:38:43 +0100158 <variable name="fastscroll_rectw" value="21" />
159 <variable name="fastscroll_recth" value="60" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200160 <variable name="listbox_x" value="5" />
161 <variable name="listbox_width" value="1190" />
162 <variable name="listbox_tz_height" value="885" />
163 <variable name="listbox_background" value="#303030" />
164 <variable name="listbox_spacing" value="24" />
165 <variable name="sd_plus_x" value="525" />
166 <variable name="sdext_text_x" value="165" />
167 <variable name="sdext_text_y" value="270" />
168 <variable name="sdswap_button_y" value="390" />
169 <variable name="sdswap_text_x" value="165" />
170 <variable name="sdswap_text_y" value="405" />
171 <variable name="sdfilesystem_text_y" value="510" />
172 <variable name="sdfilesystem_button_y" value="570" />
173 <variable name="lock_x" value="240" />
174 <variable name="lock_y" value="600" />
175 <variable name="filemanager_select_x" value="840" />
176 <variable name="filemanager_select_y" value="1620" />
177 <variable name="backup_name_y" value="825" />
178 <variable name="terminal_console_height" value="980" />
179 <variable name="terminal_text_y" value="1025" />
180 <variable name="terminal_button_y" value="1050" />
181 <variable name="row_dst_text_y" value="1080" />
182 <variable name="row_offset_text_y" value="1155" />
183 <variable name="row_offset_medium_y" value="1260" />
184 <variable name="button_fill_color" value="#303030" />
185 <variable name="button_fill_full_width" value="1180" />
186 <variable name="button_fill_main_width" value="565" />
187 <variable name="button_fill_main_height" value="324" />
188 <variable name="button_fill_half_height" value="162" />
189 <variable name="button_fill_quarter_height" value="81" />
190 <variable name="backup_list_height" value="780" />
191 <variable name="backup_button_row1" value="1118" />
192 <variable name="backup_button_row2" value="1220" />
193 <variable name="mount_list_height" value="1035" />
194 <variable name="mount_storage_row" value="1240" />
195 <variable name="storage_list_height" value="1000" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500196 <variable name="wipe_list_height" value="1105" />
197 <variable name="wipe_button_row1" value="1350" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200198 <variable name="wipe_button_y" value="975" />
199 <variable name="slidervalue_w" value="1180" />
200 <variable name="slidervalue_line_clr" value="#FFFFFF" />
201 <variable name="slidervalue_slider_clr" value="#33B5E5" />
202 <variable name="slidervalue_lineh" value="3" />
203 <variable name="slidervalue_padding" value="30" />
204 <variable name="slidervalue_sliderw" value="15" />
205 <variable name="slidervalue_sliderh" value="90" />
206 </variables>
207
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100208 <mousecursor>
209 <placement w="15" h="15" />
210 <background color="#FFFF00FF" resource="cursor" />
211 <speed multiplier="2.5" />
212 </mousecursor>
213
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200214 <templates>
215 <template name="header">
216 <background color="#000000FF" />
217
218 <object type="image">
219 <image resource="top_bar" />
220 <placement x="0" y="0" />
221 </object>
222
223 <object type="text" color="%text_color%">
224 <font resource="font" />
225 <placement x="180" y="15" />
226 <text>Team Win Recovery Project v%tw_version%</text>
227 </object>
228
229 <object type="text" color="%text_color%">
230 <condition var1="tw_simulate_actions" var2="1" />
231 <font resource="font" />
232 <placement x="180" y="60" />
233 <text>SIMULATING ACTIONS</text>
234 </object>
235
236 <object type="text" color="%text_color%">
237 <font resource="font" />
238 <placement x="180" y="114" />
239 <text>%tw_time%</text>
240 </object>
241
242 <object type="text" color="%text_color%">
243 <font resource="font" />
244 <placement x="405" y="114" />
245 <conditions>
246 <condition var1="tw_no_battery_percent" var2="0" />
Matt Mower82931532015-02-27 14:19:59 -0600247 <condition var1="tw_battery" op="&gt;" var2="0" />
248 <condition var1="tw_battery" op="&lt;" var2="101" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200249 </conditions>
250 <text>Battery: %tw_battery%</text>
251 </object>
252
Jenkins1710bf22014-10-02 20:22:21 -0400253 <object type="text" color="%text_color%">
254 <font resource="font" />
255 <placement x="730" y="114" />
256 <conditions>
257 <condition var1="tw_no_cpu_temp" var2="0" />
258 </conditions>
259 <text>CPU: %tw_cpu_temp% C</text>
260 </object>
261
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200262 <object type="button">
263 <highlight color="%highlight_color%" />
264 <placement x="%home_button_x%" y="%home_button_y%" />
265 <font resource="font" color="%button_text_color%" />
266 <text></text>
267 <image resource="home_icon" />
268 <condition var1="tw_busy" var2="0" />
269 <action function="key">home</action>
270 </object>
271
272 <object type="button">
273 <highlight color="%highlight_color%" />
274 <placement x="%back_button_x%" y="%back_button_y%" />
275 <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" />
284 <action function="overlay">lock</action>
285 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100286
287 <object type="action">
288 <touch key="power+voldown" />
289 <action function="screenshot" />
290 </object>
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200291 </template>
292
293 <template name="progress_bar">
294 <object type="progressbar">
295 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500296 <resource empty="progress_empty" full="progress_full" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200297 <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="sort_options">
309 <object type="text" color="%text_color%">
310 <font resource="font" />
311 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
312 <text>Sort Ascending:</text>
313 </object>
314
315 <object type="button">
316 <highlight color="%highlight_color%" />
317 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
318 <font resource="font" color="%button_text_color%" />
319 <text>Name</text>
320 <image resource="sort_button" />
321 <action function="set">tw_gui_sort_order=1</action>
322 </object>
323
324 <object type="button">
325 <highlight color="%highlight_color%" />
326 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
327 <font resource="font" 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 <highlight color="%highlight_color%" />
335 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
336 <font resource="font" color="%button_text_color%" />
337 <text>Size</text>
338 <image resource="sort_button" />
339 <action function="set">tw_gui_sort_order=3</action>
340 </object>
341
342 <object type="text" color="%text_color%">
343 <font resource="font" />
344 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
345 <text>Sort Descending:</text>
346 </object>
347
348 <object type="button">
349 <highlight color="%highlight_color%" />
350 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
351 <font resource="font" color="%button_text_color%" />
352 <text>Name</text>
353 <image resource="sort_button" />
354 <action function="set">tw_gui_sort_order=-1</action>
355 </object>
356
357 <object type="button">
358 <highlight color="%highlight_color%" />
359 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
360 <font resource="font" color="%button_text_color%" />
361 <text>Date</text>
362 <image resource="sort_button" />
363 <action function="set">tw_gui_sort_order=-2</action>
364 </object>
365
366 <object type="button">
367 <highlight color="%highlight_color%" />
368 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
369 <font resource="font" color="%button_text_color%" />
370 <text>Size</text>
371 <image resource="sort_button" />
372 <action function="set">tw_gui_sort_order=-3</action>
373 </object>
374 </template>
375
376 <template name="action_page_console">
377 <object type="console">
378 <placement x="0" y="%row2_y%" w="1200" h="705" />
379 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
380 <font resource="fixed" />
381 </object>
382 </template>
383
384 <template name="footer">
385 <object type="console">
386 <slideout resource="slideout" x="540" y="1841" />
387 <placement x="%console_x%" y="0" w="%console_width%" h="1841" />
388 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
389 <font resource="fixed" />
390 </object>
391 </template>
392
393 <template name="keyboardtemplate">
394 <object type="keyboard">
395 <placement x="0" y="1129" />
396 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
397 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600398 <capshighlight color="%caps_highlight_color%" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200399 <layout1>
400 <keysize height="179" width="120" />
401 <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" />
Matt Mower82931532015-02-27 14:19:59 -0600402 <row2 key01="180:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&amp;" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="162:l" long09="_" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200403 <row3 key01="180:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="182:c:8" />
404 <row4 key01="180:layout3" key02="120:c:47" key03="600: " key04="." key05="180:action" />
405 </layout1>
406 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600407 <keysize height="179" width="120" capslock="0" revert_layout="1" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200408 <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" />
Matt Mower82931532015-02-27 14:19:59 -0600409 <row2 key01="180:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&amp;" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="162:L" long09="_" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200410 <row3 key01="180:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="180:c:8" />
411 <row4 key01="180:layout3" key02="120:c:47" key03="600: " key04="." key05="180:action" />
412 </layout2>
413 <layout3>
414 <keysize height="179" width="120" />
415 <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 -0600416 <row2 key01="@" key02="#" key03="$" key04="%" key05="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200417 <row3 key01="180:layout4" key02="!" key03="120:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="180:c:8" />
418 <row4 key01="180:layout1" key02="," key03="600: " key04="." key05="180:action" />
419 </layout3>
420 <layout4>
421 <keysize height="179" width="120" />
422 <row1 key01="~" key02="`" key03="|" key04="120:" key05="120:" key06="120:" key07="%" key08="120:" key09="{" key10="}" />
423 <row2 key01="120:" key02="120:" key03="120:" key04="120:" key05="120:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Matt Mower82931532015-02-27 14:19:59 -0600424 <row3 key01="180:layout3" key02="120:" key03="120:" key04="120:" key05="120:" key06="\" key07="&lt;" key08="&gt;" key09="180:c:8" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200425 <row4 key01="180:layout1" key02="120:c:34" key03="600: " key04="." key05="180:action" />
426 </layout4>
427 </object>
428 </template>
429 </templates>
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200430</recovery>