blob: 4fc6996457405f7797aa0d8d30f5e91b9d729e72 [file] [log] [blame]
big biffba535e32014-07-29 00:44:47 +00001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1440" height="2560" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
Jenkins1710bf22014-10-02 20:22:21 -040012 <include>
13 <xmlfile name="portrait.xml" />
14 </include>
big biffba535e32014-07-29 00:44:47 +000015
16 <resources>
Vojtech Bocek76ee9032014-09-07 15:01:56 +020017 <resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="50" fallback="Roboto-Condensed-50" />
18 <resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="50" fallback="Roboto-Condensed-50" />
19 <resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="50" fallback="Roboto-Condensed-50" />
big biffba535e32014-07-29 00:44:47 +000020 <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" />
46 <resource name="cursor" type="image" filename="cursor" />
47 </resources>
48
49 <variables>
50 <variable name="col1_x" value="0" />
51 <variable name="col2_x" value="780" />
52 <variable name="col_center_x" value="410" />
Ethan Yonkerfb7a2da2014-12-18 12:10:04 -060053 <variable name="col_center_medium_x" value="593" />
big biffba535e32014-07-29 00:44:47 +000054 <variable name="center_x" value="720" />
55 <variable name="row1_y" value="339" />
56 <variable name="row2_y" value="915" />
57 <variable name="row3_y" value="1480" />
58 <variable name="row4_y" value="2052" />
59 <variable name="col1_center_x" value="238" />
60 <variable name="col2_center_x" value="734" />
61 <variable name="row1_text2_y" value="412" />
62 <variable name="row2_text2_y" value="732" />
63 <variable name="row_queue_y" value="1516" />
64 <variable name="row1_header_y" value="239" />
65 <variable name="row1_text_y" value="339" />
66 <variable name="row2_text_y" value="439" />
67 <variable name="row3_text_y" value="539" />
68 <variable name="row4_text_y" value="638" />
69 <variable name="row5_text_y" value="738" />
70 <variable name="row6_text_y" value="838" />
71 <variable name="row7_text_y" value="938" />
72 <variable name="row8_text_y" value="1037" />
73 <variable name="row9_text_y" value="1137" />
74 <variable name="row10_text_y" value="1237" />
75 <variable name="row11_text_y" value="1337" />
76 <variable name="row12_text_y" value="1436" />
77 <variable name="row13_text_y" value="1536" />
78 <variable name="row14_text_y" value="1636" />
79 <variable name="row15_text_y" value="1741" />
80 <variable name="row16_text_y" value="1835" />
81 <variable name="row17_text_y" value="1935" />
82 <variable name="row18_text_y" value="2035" />
83 <variable name="zip_status_y" value="1375" />
84 <variable name="tz_selected_y" value="319" />
85 <variable name="tz_set_y" value="1995" />
86 <variable name="tz_current_y" value="1895" />
87 <variable name="col_progressbar_x" value="`0" />
Ethan Yonkerfb7a2da2014-12-18 12:10:04 -060088 <variable name="row_progressbar_y" value="2250" />
big biffba535e32014-07-29 00:44:47 +000089 <variable name="col1_medium_x" value="13" />
90 <variable name="col2_medium_x" value="370" />
91 <variable name="col3_medium_x" value="730" />
92 <variable name="col4_medium_x" value="1080" />
93 <variable name="row1_medium_y" value="259" />
94 <variable name="row2_medium_y" value="459" />
95 <variable name="row3_medium_y" value="521" />
96 <variable name="row4_medium_y" value="858" />
97 <variable name="row5_medium_y" value="1057" />
98 <variable name="row6_medium_y" value="1676" />
99 <variable name="row7_medium_y" value="971" />
100 <variable name="slider_x" value="40" />
101 <variable name="slider_y" value="2025" />
102 <variable name="slider_text_y" value="2149" />
103 <variable name="button_text_color" value="#AAAAAA" />
104 <variable name="text_color" value="#FFFFFF" />
105 <variable name="text_success_color" value="#33B5E5" />
106 <variable name="text_fail_color" value="#FF0101" />
107 <variable name="highlight_color" value="#90909080" />
108 <variable name="caps_highlight_color" value="#33B5E580" />
109 <variable name="home_button_x" value="40" />
110 <variable name="home_button_y" value="2446" />
111 <variable name="back_button_x" value="1250" />
112 <variable name="back_button_y" value="2446" />
113 <variable name="sort_text_x" value="13" />
114 <variable name="sort_asc_text_y" value="2175" />
115 <variable name="sort_asc_button_y" value="2155" />
116 <variable name="sort_desc_text_y" value="2294" />
117 <variable name="sort_desc_button_y" value="2274" />
118 <variable name="sort_col1_button_x" value="510" />
119 <variable name="sort_col2_button_x" value="720" />
120 <variable name="sort_col3_button_x" value="920" />
121 <variable name="input_width" value="1569" />
122 <variable name="input_height" value="100" />
123 <variable name="input_background_color" value="#303030" />
124 <variable name="input_cursor_color" value="#33B5E5" />
125 <variable name="input_cursor_width" value="4" />
126 <variable name="console_x" value="0" />
127 <variable name="console_width" value="1440" />
128 <variable name="console_foreground" value="#A0A0A0" />
129 <variable name="warning" value="#F8F8A0" />
130 <variable name="error" value="#FF4040" />
131 <variable name="highlight" value="#33B5E5" />
132 <variable name="console_background" value="#303030" />
133 <variable name="console_scroll" value="#303030" />
134 <variable name="console_action_height" value="938" />
135 <variable name="console_install_height" value="1200" />
136 <variable name="console_installdone_height" value="950" />
137 <variable name="fileselector_x" value="6" />
138 <variable name="fileselector_width" value="1420" />
139 <variable name="fileselector_install_height" value="1556" />
140 <variable name="fileselector_header_background" value="#1c1c1c" />
141 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
142 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
143 <variable name="fileselector_header_separatorheight" value="5" />
144 <variable name="fileselector_separatorcolor" value="#505050" />
145 <variable name="fileselector_separatorheight" value="4" />
146 <variable name="fileselector_background" value="#303030" />
147 <variable name="fileselector_highlight_color" value="#505050" />
148 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
149 <variable name="fileselector_spacing" value="64" />
150 <variable name="fastscroll_linecolor" value="#808080" />
151 <variable name="fastscroll_rectcolor" value="#808080" />
152 <variable name="fastscroll_w" value="120" />
153 <variable name="fastscroll_linew" value="4" />
154 <variable name="fastscroll_rectw" value="80" />
155 <variable name="fastscroll_recth" value="140" />
156 <variable name="listbox_x" value="6" />
157 <variable name="listbox_width" value="1583" />
158 <variable name="listbox_tz_height" value="1177" />
159 <variable name="listbox_background" value="#303030" />
160 <variable name="listbox_spacing" value="62" />
161 <variable name="sd_plus_x" value="698" />
162 <variable name="sdext_text_x" value="219" />
163 <variable name="sdext_text_y" value="360" />
164 <variable name="sdswap_button_y" value="519" />
165 <variable name="sdswap_text_x" value="220" />
166 <variable name="sdswap_text_y" value="539" />
167 <variable name="sdfilesystem_text_y" value="678" />
168 <variable name="sdfilesystem_button_y" value="758" />
169 <variable name="lock_x" value="420" />
170 <variable name="lock_y" value="800" />
171 <variable name="filemanager_select_x" value="1117" />
172 <variable name="filemanager_select_y" value="2155" />
173 <variable name="backup_name_y" value="1097" />
174 <variable name="terminal_console_height" value="1303" />
175 <variable name="terminal_text_y" value="1363" />
176 <variable name="terminal_button_y" value="1397" />
177 <variable name="row_dst_text_y" value="1436" />
178 <variable name="row_offset_text_y" value="1536" />
179 <variable name="row_offset_medium_y" value="1676" />
180 <variable name="button_fill_color" value="#303030" />
181 <variable name="button_fill_full_width" value="1569" />
182 <variable name="button_fill_main_width" value="751" />
183 <variable name="button_fill_main_height" value="431" />
184 <variable name="button_fill_half_height" value="216" />
185 <variable name="button_fill_quarter_height" value="108" />
186 <variable name="backup_list_height" value="1037" />
187 <variable name="backup_button_row1" value="1487" />
188 <variable name="backup_button_row2" value="1623" />
189 <variable name="mount_list_height" value="1377" />
190 <variable name="mount_storage_row" value="1649" />
191 <variable name="storage_list_height" value="1330" />
192 <variable name="wipe_list_height" value="1320" />
193 <variable name="wipe_button_row1" value="1684" />
194 <variable name="wipe_button_y" value="1298" />
195 <variable name="slidervalue_w" value="1569" />
196 <variable name="slidervalue_line_clr" value="#FFFFFF" />
197 <variable name="slidervalue_slider_clr" value="#33B5E5" />
198 <variable name="slidervalue_lineh" value="3" />
199 <variable name="slidervalue_padding" value="30" />
200 <variable name="slidervalue_sliderw" value="15" />
201 <variable name="slidervalue_sliderh" value="90" />
202 </variables>
203
204 <mousecursor>
205 <placement w="15" h="15" />
206 <background color="#FFFF00FF" resource="cursor" />
207 <speed multiplier="2.5" />
208 </mousecursor>
209
210 <templates>
211 <template name="header">
212 <background color="#000000FF" />
213
214 <object type="image">
215 <image resource="top_bar" />
216 <placement x="0" y="0" />
217 </object>
218
219 <object type="text" color="%text_color%">
220 <font resource="font" />
221 <placement x="239" y="20" />
222 <text>Team Win Recovery Project v%tw_version%</text>
223 </object>
224
225 <object type="text" color="%text_color%">
226 <condition var1="tw_simulate_actions" var2="1" />
227 <font resource="font" />
228 <placement x="239" y="80" />
229 <text>SIMULATING ACTIONS</text>
230 </object>
231
232 <object type="text" color="%text_color%">
233 <font resource="font" />
234 <placement x="239" y="132" />
235 <text>%tw_time%</text>
236 </object>
237
238 <object type="text" color="%text_color%">
239 <font resource="font" />
bigbiffb38de7e2014-11-27 11:41:38 -0500240 <placement x="489" y="132" />
big biffba535e32014-07-29 00:44:47 +0000241 <conditions>
242 <condition var1="tw_no_battery_percent" var2="0" />
243 <condition var1="tw_battery" op=">" var2="0" />
244 <condition var1="tw_battery" op="<" var2="101" />
245 </conditions>
246 <text>Battery: %tw_battery%</text>
247 </object>
248
Jenkins1710bf22014-10-02 20:22:21 -0400249 <object type="text" color="%text_color%">
250 <font resource="font" />
bigbiffb38de7e2014-11-27 11:41:38 -0500251 <placement x="819" y="132" />
Jenkins1710bf22014-10-02 20:22:21 -0400252 <conditions>
253 <condition var1="tw_no_cpu_temp" var2="0" />
254 </conditions>
255 <text>CPU: %tw_cpu_temp% C</text>
256 </object>
257
big biffba535e32014-07-29 00:44:47 +0000258 <object type="button">
259 <highlight color="%highlight_color%" />
260 <placement x="%home_button_x%" y="%home_button_y%" />
261 <font resource="font" color="%button_text_color%" />
262 <text></text>
263 <image resource="home_icon" />
264 <condition var1="tw_busy" var2="0" />
265 <action function="key">home</action>
266 </object>
267
268 <object type="button">
269 <highlight color="%highlight_color%" />
270 <placement x="%back_button_x%" y="%back_button_y%" />
271 <font resource="font" color="%button_text_color%" />
272 <text></text>
273 <image resource="back_icon" />
274 <condition var1="tw_busy" var2="0" />
275 <action function="key">back</action>
276 </object>
277
278 <object type="action">
279 <touch key="power" />
280 <action function="overlay">lock</action>
281 </object>
282
283 <object type="action">
284 <touch key="power+voldown" />
285 <action function="screenshot" />
286 </object>
287 </template>
288
289 <template name="progress_bar">
290 <object type="progressbar">
291 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
292 <resource empty="progress_empty" full="progress_full" />
293 <data name="ui_progress" />
294 </object>
295
296 <object type="animation">
297 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
298 <resource name="progress" />
299 <speed fps="15" render="2" />
300 <loop frame="1" />
301 </object>
302 </template>
303
304 <template name="sort_options">
305 <object type="text" color="%text_color%">
306 <font resource="font" />
307 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
308 <text>Sort Ascending:</text>
309 </object>
310
311 <object type="button">
312 <highlight color="%highlight_color%" />
313 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
314 <font resource="font" color="%button_text_color%" />
315 <text>Name</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=1</action>
318 </object>
319
320 <object type="button">
321 <highlight color="%highlight_color%" />
322 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
323 <font resource="font" color="%button_text_color%" />
324 <text>Date</text>
325 <image resource="sort_button" />
326 <action function="set">tw_gui_sort_order=2</action>
327 </object>
328
329 <object type="button">
330 <highlight color="%highlight_color%" />
331 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
332 <font resource="font" color="%button_text_color%" />
333 <text>Size</text>
334 <image resource="sort_button" />
335 <action function="set">tw_gui_sort_order=3</action>
336 </object>
337
338 <object type="text" color="%text_color%">
339 <font resource="font" />
340 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
341 <text>Sort Descending:</text>
342 </object>
343
344 <object type="button">
345 <highlight color="%highlight_color%" />
346 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
347 <font resource="font" color="%button_text_color%" />
348 <text>Name</text>
349 <image resource="sort_button" />
350 <action function="set">tw_gui_sort_order=-1</action>
351 </object>
352
353 <object type="button">
354 <highlight color="%highlight_color%" />
355 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
356 <font resource="font" color="%button_text_color%" />
357 <text>Date</text>
358 <image resource="sort_button" />
359 <action function="set">tw_gui_sort_order=-2</action>
360 </object>
361
362 <object type="button">
363 <highlight color="%highlight_color%" />
364 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
365 <font resource="font" 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="action_page_console">
373 <object type="console">
374 <placement x="0" y="%row2_y%" w="1440" h="938" />
375 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
376 <font resource="fixed" />
377 </object>
378 </template>
379
380 <template name="footer">
381 <object type="console">
382 <slideout resource="slideout" x="650" y="2448" />
383 <placement x="%console_x%" y="0" w="%console_width%" h="2448" />
384 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
385 <font resource="fixed" />
386 </object>
387 </template>
388
389 <template name="keyboardtemplate">
390 <object type="keyboard">
391 <placement x="0" y="1440" />
392 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
393 <highlight color="%highlight_color%" />
394 <capshighlight color="%caps_highlight_color%" />
395 <layout1>
bigbiff bigbiff13baad22014-08-04 21:23:41 -0400396 <keysize height="215" width="144" />
big biffba535e32014-07-29 00:44:47 +0000397 <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" />
bigbiff bigbiff13baad22014-08-04 21:23:41 -0400398 <row2 key01="216:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="216:l" long09="_" />
399 <row3 key01="216:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="216:c:8" />
400 <row4 key01="216:layout3" key02="/" key03="720: " key04="." key05="216:action" />
big biffba535e32014-07-29 00:44:47 +0000401 </layout1>
402 <layout2>
bigbiff bigbiff13baad22014-08-04 21:23:41 -0400403 <keysize height="214" width="144" capslock="0" revert_layout="1" />
big biffba535e32014-07-29 00:44:47 +0000404 <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" />
bigbiff bigbiff13baad22014-08-04 21:23:41 -0400405 <row2 key01="216:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="216:L" long09="_" />
406 <row3 key01="216:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="216:c:8" />
407 <row4 key01="216:layout3" key02="/" key03="720: " key04="." key05="216:action" />
big biffba535e32014-07-29 00:44:47 +0000408 </layout2>
409 <layout3>
bigbiff bigbiff13baad22014-08-04 21:23:41 -0400410 <keysize height="215" width="144" />
big biffba535e32014-07-29 00:44:47 +0000411 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
412 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
bigbiff bigbiff13baad22014-08-04 21:23:41 -0400413 <row3 key01="216:layout4" key02="!" key03="144:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="216:c:8" />
414 <row4 key01="216:layout1" key02="," key03="720: " key04="." key05="216:action" />
big biffba535e32014-07-29 00:44:47 +0000415 </layout3>
416 <layout4>
bigbiff bigbiff13baad22014-08-04 21:23:41 -0400417 <keysize height="214" width="144" />
418 <row1 key01="~" key02="`" key03="|" key04="144:" key05="144:" key06="144:" key07="144:" key08="144:" key09="{" key10="}" />
419 <row2 key01="144:" key02="144:" key03="144:" key04="144:" key05="144:" key06="^" key07="_" key08="=" key09="[" key10="]" />
420 <row3 key01="216:layout3" key02="144:" key03="144:" key04="144:" key05="144:" key06="\" key07="<" key08=">" key09="216:c:8" />
421 <row4 key01="216:layout1" key02="144:c:34" key03="720: " key04="." key05="216:action" />
big biffba535e32014-07-29 00:44:47 +0000422 </layout4>
423 </object>
424 </template>
425 </templates>
426</recovery>