blob: 77af05ba78191ec9c7dceaf58d1fccaa4dbdd2ce [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" />
28 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
29 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
30 <resource name="radio_false" type="image" filename="radio_empty" />
31 <resource name="radio_true" type="image" filename="radio_selected" />
32 <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" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010046 <resource name="cursor" type="image" filename="cursor" />
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" />
87 <variable name="tz_selected_y" value="240" />
88 <variable name="tz_set_y" value="1500" />
89 <variable name="tz_current_y" value="1425" />
90 <variable name="col_progressbar_x" value="411" />
91 <variable name="row_progressbar_y" value="1650" />
92 <variable name="col1_medium_x" value="10" />
93 <variable name="col2_medium_x" value="318" />
94 <variable name="col3_medium_x" value="626" />
95 <variable name="col4_medium_x" value="934" />
96 <variable name="row1_medium_y" value="195" />
97 <variable name="row2_medium_y" value="345" />
98 <variable name="row3_medium_y" value="392" />
99 <variable name="row4_medium_y" value="645" />
100 <variable name="row5_medium_y" value="795" />
101 <variable name="row6_medium_y" value="1260" />
102 <variable name="row7_medium_y" value="730" />
103 <variable name="slider_x" value="161" />
104 <variable name="slider_y" value="1575" />
105 <variable name="slider_text_y" value="1676" />
106 <variable name="button_text_color" value="#AAAAAA" />
107 <variable name="text_color" value="#FFFFFF" />
108 <variable name="text_success_color" value="#33B5E5" />
109 <variable name="text_fail_color" value="#FF0101" />
110 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600111 <variable name="caps_highlight_color" value="#33B5E580" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200112 <variable name="home_button_x" value="10" />
113 <variable name="home_button_y" value="1839" />
114 <variable name="back_button_x" value="1064" />
115 <variable name="back_button_y" value="1839" />
116 <variable name="sort_text_x" value="10" />
117 <variable name="sort_asc_text_y" value="1635" />
118 <variable name="sort_asc_button_y" value="1620" />
119 <variable name="sort_desc_text_y" value="1725" />
120 <variable name="sort_desc_button_y" value="1710" />
121 <variable name="sort_col1_button_x" value="390" />
122 <variable name="sort_col2_button_x" value="540" />
123 <variable name="sort_col3_button_x" value="690" />
124 <variable name="input_width" value="1180" />
125 <variable name="input_height" value="75" />
126 <variable name="input_background_color" value="#303030" />
127 <variable name="input_cursor_color" value="#33B5E5" />
128 <variable name="input_cursor_width" value="4" />
129 <variable name="console_x" value="0" />
130 <variable name="console_width" value="1200" />
131 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500132 <variable name="warning" value="#F8F8A0" />
133 <variable name="error" value="#FF4040" />
134 <variable name="highlight" value="#33B5E5" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200135 <variable name="console_background" value="#303030" />
136 <variable name="console_scroll" value="#303030" />
137 <variable name="console_action_height" value="705" />
138 <variable name="console_install_height" value="900" />
139 <variable name="console_installdone_height" value="660" />
140 <variable name="fileselector_x" value="5" />
141 <variable name="fileselector_width" value="1190" />
142 <variable name="fileselector_install_height" value="1170" />
143 <variable name="fileselector_header_background" value="#202020" />
144 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
145 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
146 <variable name="fileselector_header_separatorheight" value="4" />
147 <variable name="fileselector_separatorcolor" value="#505050" />
148 <variable name="fileselector_separatorheight" value="3" />
149 <variable name="fileselector_background" value="#303030" />
150 <variable name="fileselector_highlight_color" value="#505050" />
151 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
152 <variable name="fileselector_spacing" value="48" />
153 <variable name="fastscroll_linecolor" value="#808080" />
154 <variable name="fastscroll_rectcolor" value="#808080" />
155 <variable name="fastscroll_w" value="90" />
156 <variable name="fastscroll_linew" value="3" />
157 <variable name="fastscroll_rectw" value="60" />
158 <variable name="fastscroll_recth" value="105" />
159 <variable name="listbox_x" value="5" />
160 <variable name="listbox_width" value="1190" />
161 <variable name="listbox_tz_height" value="885" />
162 <variable name="listbox_background" value="#303030" />
163 <variable name="listbox_spacing" value="24" />
164 <variable name="sd_plus_x" value="525" />
165 <variable name="sdext_text_x" value="165" />
166 <variable name="sdext_text_y" value="270" />
167 <variable name="sdswap_button_y" value="390" />
168 <variable name="sdswap_text_x" value="165" />
169 <variable name="sdswap_text_y" value="405" />
170 <variable name="sdfilesystem_text_y" value="510" />
171 <variable name="sdfilesystem_button_y" value="570" />
172 <variable name="lock_x" value="240" />
173 <variable name="lock_y" value="600" />
174 <variable name="filemanager_select_x" value="840" />
175 <variable name="filemanager_select_y" value="1620" />
176 <variable name="backup_name_y" value="825" />
177 <variable name="terminal_console_height" value="980" />
178 <variable name="terminal_text_y" value="1025" />
179 <variable name="terminal_button_y" value="1050" />
180 <variable name="row_dst_text_y" value="1080" />
181 <variable name="row_offset_text_y" value="1155" />
182 <variable name="row_offset_medium_y" value="1260" />
183 <variable name="button_fill_color" value="#303030" />
184 <variable name="button_fill_full_width" value="1180" />
185 <variable name="button_fill_main_width" value="565" />
186 <variable name="button_fill_main_height" value="324" />
187 <variable name="button_fill_half_height" value="162" />
188 <variable name="button_fill_quarter_height" value="81" />
189 <variable name="backup_list_height" value="780" />
190 <variable name="backup_button_row1" value="1118" />
191 <variable name="backup_button_row2" value="1220" />
192 <variable name="mount_list_height" value="1035" />
193 <variable name="mount_storage_row" value="1240" />
194 <variable name="storage_list_height" value="1000" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500195 <variable name="wipe_list_height" value="1105" />
196 <variable name="wipe_button_row1" value="1350" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200197 <variable name="wipe_button_y" value="975" />
198 <variable name="slidervalue_w" value="1180" />
199 <variable name="slidervalue_line_clr" value="#FFFFFF" />
200 <variable name="slidervalue_slider_clr" value="#33B5E5" />
201 <variable name="slidervalue_lineh" value="3" />
202 <variable name="slidervalue_padding" value="30" />
203 <variable name="slidervalue_sliderw" value="15" />
204 <variable name="slidervalue_sliderh" value="90" />
205 </variables>
206
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100207 <mousecursor>
208 <placement w="15" h="15" />
209 <background color="#FFFF00FF" resource="cursor" />
210 <speed multiplier="2.5" />
211 </mousecursor>
212
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200213 <templates>
214 <template name="header">
215 <background color="#000000FF" />
216
217 <object type="image">
218 <image resource="top_bar" />
219 <placement x="0" y="0" />
220 </object>
221
222 <object type="text" color="%text_color%">
223 <font resource="font" />
224 <placement x="180" y="15" />
225 <text>Team Win Recovery Project v%tw_version%</text>
226 </object>
227
228 <object type="text" color="%text_color%">
229 <condition var1="tw_simulate_actions" var2="1" />
230 <font resource="font" />
231 <placement x="180" y="60" />
232 <text>SIMULATING ACTIONS</text>
233 </object>
234
235 <object type="text" color="%text_color%">
236 <font resource="font" />
237 <placement x="180" y="114" />
238 <text>%tw_time%</text>
239 </object>
240
241 <object type="text" color="%text_color%">
242 <font resource="font" />
243 <placement x="405" y="114" />
244 <conditions>
245 <condition var1="tw_no_battery_percent" var2="0" />
246 <condition var1="tw_battery" op=">" var2="0" />
247 <condition var1="tw_battery" op="<" var2="101" />
248 </conditions>
249 <text>Battery: %tw_battery%</text>
250 </object>
251
Jenkins1710bf22014-10-02 20:22:21 -0400252 <object type="text" color="%text_color%">
253 <font resource="font" />
254 <placement x="730" y="114" />
255 <conditions>
256 <condition var1="tw_no_cpu_temp" var2="0" />
257 </conditions>
258 <text>CPU: %tw_cpu_temp% C</text>
259 </object>
260
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200261 <object type="button">
262 <highlight color="%highlight_color%" />
263 <placement x="%home_button_x%" y="%home_button_y%" />
264 <font resource="font" color="%button_text_color%" />
265 <text></text>
266 <image resource="home_icon" />
267 <condition var1="tw_busy" var2="0" />
268 <action function="key">home</action>
269 </object>
270
271 <object type="button">
272 <highlight color="%highlight_color%" />
273 <placement x="%back_button_x%" y="%back_button_y%" />
274 <font resource="font" color="%button_text_color%" />
275 <text></text>
276 <image resource="back_icon" />
277 <condition var1="tw_busy" var2="0" />
278 <action function="key">back</action>
279 </object>
280
281 <object type="action">
282 <touch key="power" />
283 <action function="overlay">lock</action>
284 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100285
286 <object type="action">
287 <touch key="power+voldown" />
288 <action function="screenshot" />
289 </object>
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200290 </template>
291
292 <template name="progress_bar">
293 <object type="progressbar">
294 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500295 <resource empty="progress_empty" full="progress_full" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200296 <data name="ui_progress" />
297 </object>
298
299 <object type="animation">
300 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
301 <resource name="progress" />
302 <speed fps="15" render="2" />
303 <loop frame="1" />
304 </object>
305 </template>
306
307 <template name="sort_options">
308 <object type="text" color="%text_color%">
309 <font resource="font" />
310 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
311 <text>Sort Ascending:</text>
312 </object>
313
314 <object type="button">
315 <highlight color="%highlight_color%" />
316 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
317 <font resource="font" color="%button_text_color%" />
318 <text>Name</text>
319 <image resource="sort_button" />
320 <action function="set">tw_gui_sort_order=1</action>
321 </object>
322
323 <object type="button">
324 <highlight color="%highlight_color%" />
325 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
326 <font resource="font" color="%button_text_color%" />
327 <text>Date</text>
328 <image resource="sort_button" />
329 <action function="set">tw_gui_sort_order=2</action>
330 </object>
331
332 <object type="button">
333 <highlight color="%highlight_color%" />
334 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
335 <font resource="font" 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="font" />
343 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
344 <text>Sort Descending:</text>
345 </object>
346
347 <object type="button">
348 <highlight color="%highlight_color%" />
349 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
350 <font resource="font" color="%button_text_color%" />
351 <text>Name</text>
352 <image resource="sort_button" />
353 <action function="set">tw_gui_sort_order=-1</action>
354 </object>
355
356 <object type="button">
357 <highlight color="%highlight_color%" />
358 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
359 <font resource="font" color="%button_text_color%" />
360 <text>Date</text>
361 <image resource="sort_button" />
362 <action function="set">tw_gui_sort_order=-2</action>
363 </object>
364
365 <object type="button">
366 <highlight color="%highlight_color%" />
367 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
368 <font resource="font" color="%button_text_color%" />
369 <text>Size</text>
370 <image resource="sort_button" />
371 <action function="set">tw_gui_sort_order=-3</action>
372 </object>
373 </template>
374
375 <template name="action_page_console">
376 <object type="console">
377 <placement x="0" y="%row2_y%" w="1200" h="705" />
378 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
379 <font resource="fixed" />
380 </object>
381 </template>
382
383 <template name="footer">
384 <object type="console">
385 <slideout resource="slideout" x="540" y="1841" />
386 <placement x="%console_x%" y="0" w="%console_width%" h="1841" />
387 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
388 <font resource="fixed" />
389 </object>
390 </template>
391
392 <template name="keyboardtemplate">
393 <object type="keyboard">
394 <placement x="0" y="1129" />
395 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
396 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600397 <capshighlight color="%caps_highlight_color%" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200398 <layout1>
399 <keysize height="179" width="120" />
400 <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" />
401 <row2 key01="180:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="162:l" long09="_" />
402 <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" />
403 <row4 key01="180:layout3" key02="120:c:47" key03="600: " key04="." key05="180:action" />
404 </layout1>
405 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600406 <keysize height="179" width="120" capslock="0" revert_layout="1" />
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200407 <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" />
408 <row2 key01="180:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="162:L" long09="_" />
409 <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" />
410 <row4 key01="180:layout3" key02="120:c:47" key03="600: " key04="." key05="180:action" />
411 </layout2>
412 <layout3>
413 <keysize height="179" width="120" />
414 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
415 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
416 <row3 key01="180:layout4" key02="!" key03="120:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="180:c:8" />
417 <row4 key01="180:layout1" key02="," key03="600: " key04="." key05="180:action" />
418 </layout3>
419 <layout4>
420 <keysize height="179" width="120" />
421 <row1 key01="~" key02="`" key03="|" key04="120:" key05="120:" key06="120:" key07="%" key08="120:" key09="{" key10="}" />
422 <row2 key01="120:" key02="120:" key03="120:" key04="120:" key05="120:" key06="^" key07="_" key08="=" key09="[" key10="]" />
423 <row3 key01="180:layout3" key02="120:" key03="120:" key04="120:" key05="120:" key06="\" key07="<" key08=">" key09="180:c:8" />
424 <row4 key01="180:layout1" key02="120:c:34" key03="600: " key04="." key05="180:action" />
425 </layout4>
426 </object>
427 </template>
428 </templates>
Vojtech Bocek1239ee82013-09-04 16:51:33 +0200429</recovery>