blob: cccd5b3b4622dfe14d848d29014bf2bf7095f65d [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="320" height="480" />
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
Dees_Troy51a0e822012-09-05 15:24:24 -040016 <resources>
Vojtech Bocek76ee9032014-09-07 15:01:56 +020017 <resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="14" fallback="Roboto-Condensed-16" />
18 <resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="14" fallback="Roboto-Condensed-14" />
19 <resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="14" fallback="Roboto-Condensed-14" />
Dees_Troy51a0e822012-09-05 15:24:24 -040020 <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" />
Dees_Troy51a0e822012-09-05 15:24:24 -040047 </resources>
48
49 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="col1_x" value="8" />
51 <variable name="col2_x" value="162" />
52 <variable name="col_center_x" value="85" />
Dees_Troybbb21012012-09-20 15:59:46 -040053 <variable name="col_center_medium_x" value="122" />
Dees_Troy51a0e822012-09-05 15:24:24 -040054 <variable name="center_x" value="160" />
55 <variable name="row1_y" value="84" />
56 <variable name="row2_y" value="174" />
57 <variable name="row3_y" value="270" />
58 <variable name="row4_y" value="366" />
59 <variable name="row_queue_y" value="306" />
60 <variable name="row1_header_y" value="64" />
61 <variable name="row1_text_y" value="85" />
62 <variable name="row2_text_y" value="104" />
63 <variable name="row3_text_y" value="123" />
64 <variable name="row4_text_y" value="142" />
65 <variable name="row5_text_y" value="161" />
66 <variable name="row6_text_y" value="180" />
67 <variable name="row7_text_y" value="199" />
68 <variable name="row8_text_y" value="218" />
69 <variable name="row9_text_y" value="237" />
70 <variable name="row10_text_y" value="256" />
71 <variable name="row11_text_y" value="275" />
Dees_Troyb46a6842012-09-25 11:06:46 -040072 <variable name="row12_text_y" value="294" />
73 <variable name="row13_text_y" value="313" />
74 <variable name="row14_text_y" value="332" />
75 <variable name="row15_text_y" value="351" />
76 <variable name="row16_text_y" value="370" />
77 <variable name="row17_text_y" value="389" />
78 <variable name="row18_text_y" value="408" />
Dees_Troy51a0e822012-09-05 15:24:24 -040079 <variable name="zip_status_y" value="350" />
80 <variable name="tz_selected_y" value="66" />
81 <variable name="tz_set_y" value="348" />
82 <variable name="tz_current_y" value="438" />
83 <variable name="col_progressbar_x" value="32" />
84 <variable name="row_progressbar_y" value="432" />
85 <variable name="col1_medium_x" value="7" />
86 <variable name="col2_medium_x" value="83" />
87 <variable name="col3_medium_x" value="160" />
88 <variable name="col4_medium_x" value="237" />
89 <variable name="row1_medium_y" value="78" />
90 <variable name="row2_medium_y" value="123" />
91 <variable name="row3_medium_y" value="168" />
92 <variable name="row4_medium_y" value="213" />
93 <variable name="row5_medium_y" value="258" />
94 <variable name="row6_medium_y" value="303" />
95 <variable name="row7_medium_y" value="348" />
96 <variable name="slider_x" value="39" />
97 <variable name="slider_y" value="400" />
98 <variable name="slider_text_y" value="425" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600103 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600104 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400105 <variable name="home_button_x" value="7" />
106 <variable name="home_button_y" value="460" />
107 <variable name="back_button_x" value="275" />
108 <variable name="back_button_y" value="460" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400109 <variable name="sort_text_x" value="8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400110 <variable name="sort_asc_text_y" value="411" />
111 <variable name="sort_asc_button_y" value="411" />
112 <variable name="sort_desc_text_y" value="435" />
113 <variable name="sort_desc_button_y" value="435" />
114 <variable name="sort_col1_button_x" value="120" />
115 <variable name="sort_col2_button_x" value="160" />
116 <variable name="sort_col3_button_x" value="200" />
117 <variable name="input_width" value="307" />
118 <variable name="input_height" value="24" />
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" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500125 <variable name="warning" value="#F8F8A0" />
126 <variable name="error" value="#FF4040" />
127 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400128 <variable name="console_background" value="#303030" />
129 <variable name="console_scroll" value="#303030" />
130 <variable name="console_action_height" value="192" />
131 <variable name="console_install_height" value="264" />
132 <variable name="console_installdone_height" value="180" />
133 <variable name="fileselector_x" value="3" />
134 <variable name="fileselector_width" value="313" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500135 <variable name="fileselector_install_height" value="284" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400136 <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" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600143 <variable name="fileselector_highlight_color" value="#505050" />
144 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="fileselector_spacing" value="12" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100146 <variable name="fastscroll_linecolor" value="#808080" />
147 <variable name="fastscroll_rectcolor" value="#808080" />
148 <variable name="fastscroll_w" value="27" />
149 <variable name="fastscroll_linew" value="1" />
150 <variable name="fastscroll_rectw" value="18" />
151 <variable name="fastscroll_recth" value="31" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400152 <variable name="listbox_x" value="3" />
153 <variable name="listbox_width" value="313" />
Dees_Troyeead9852013-02-15 14:31:06 -0600154 <variable name="listbox_tz_height" value="189" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="listbox_background" value="#303030" />
156 <variable name="listbox_spacing" value="12" />
157 <variable name="sd_plus_x" value="187" />
158 <variable name="sdext_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400159 <variable name="sdext_text_y" value="83" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400160 <variable name="sdswap_button_y" value="111" />
161 <variable name="sdswap_text_x" value="56" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400162 <variable name="sdswap_text_y" value="110" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400163 <variable name="sdfilesystem_text_y" value="144" />
164 <variable name="sdfilesystem_button_y" value="168" />
165 <variable name="lock_x" value="27" />
166 <variable name="lock_y" value="120" />
167 <variable name="filemanager_select_x" value="243" />
168 <variable name="filemanager_select_y" value="414" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400169 <variable name="terminal_console_height" value="220" />
170 <variable name="terminal_text_y" value="225" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400171 <variable name="terminal_button_y" value="220" />
172 <variable name="row_dst_text_y" value="256" />
173 <variable name="row_offset_text_y" value="275" />
174 <variable name="row_offset_medium_y" value="303" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500175 <variable name="button_fill_color" value="#303030" />
176 <variable name="button_fill_full_width" value="304" />
177 <variable name="button_fill_main_width" value="150" />
178 <variable name="button_fill_main_height" value="81" />
179 <variable name="button_fill_half_height" value="40" />
180 <variable name="button_fill_quarter_height" value="24" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000181 <variable name="backup_list_height" value="193" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500182 <variable name="backup_button_row1" value="300" />
183 <variable name="backup_button_row2" value="326" />
184 <variable name="mount_list_height" value="270" />
185 <variable name="mount_storage_row" value="340" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000186 <variable name="storage_list_height" value="290" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500187 <variable name="wipe_list_height" value="270" />
188 <variable name="wipe_button_row1" value="350" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500189 <variable name="wipe_button_y" value="270" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200190 <variable name="slidervalue_w" value="304" />
191 <variable name="slidervalue_line_clr" value="#FFFFFF" />
192 <variable name="slidervalue_slider_clr" value="#33B5E5" />
193 <variable name="slidervalue_lineh" value="1" />
194 <variable name="slidervalue_padding" value="8" />
195 <variable name="slidervalue_sliderw" value="4" />
196 <variable name="slidervalue_sliderh" value="20" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400197 </variables>
198
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100199 <mousecursor>
200 <placement w="15" h="15" />
201 <background color="#FFFF00FF" resource="cursor" />
202 <speed multiplier="1" />
203 </mousecursor>
204
Dees_Troy51a0e822012-09-05 15:24:24 -0400205 <templates>
206 <template name="header">
Dees_Troyb46a6842012-09-25 11:06:46 -0400207 <background color="#000000FF" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400208
209 <object type="image">
210 <image resource="top_bar" />
211 <placement x="0" y="0" />
212 </object>
213
214 <object type="text" color="%text_color%">
215 <font resource="font" />
216 <placement x="65" y="3" />
217 <text>TeamWin Recovery v%tw_version%</text>
218 </object>
219
220 <object type="text" color="%text_color%">
221 <condition var1="tw_simulate_actions" var2="1" />
222 <font resource="font" />
223 <placement x="65" y="21" />
224 <text>SIMULATING ACTIONS</text>
225 </object>
226
227 <object type="text" color="%text_color%">
228 <font resource="font" />
229 <placement x="65" y="39" />
230 <text>%tw_time%</text>
231 </object>
232
233 <object type="text" color="%text_color%">
234 <font resource="font" />
235 <placement x="165" y="39" />
236 <conditions>
237 <condition var1="tw_no_battery_percent" var2="0" />
238 <condition var1="tw_battery" op=">" var2="0" />
239 <condition var1="tw_battery" op="<" var2="101" />
240 </conditions>
241 <text>Battery: %tw_battery%</text>
242 </object>
243
244 <object type="button">
245 <placement x="%home_button_x%" y="%home_button_y%" />
246 <font resource="font" color="%button_text_color%" />
247 <text></text>
248 <image resource="home_icon" />
249 <condition var1="tw_busy" var2="0" />
250 <action function="key">home</action>
251 </object>
252
253 <object type="button">
254 <placement x="%back_button_x%" y="%back_button_y%" />
255 <font resource="font" color="%button_text_color%" />
256 <text></text>
257 <image resource="back_icon" />
258 <condition var1="tw_busy" var2="0" />
259 <action function="key">back</action>
260 </object>
261
262 <object type="action">
263 <touch key="power" />
264 <action function="overlay">lock</action>
265 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100266
267 <object type="action">
268 <touch key="power+voldown" />
269 <action function="screenshot" />
270 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -0400271 </template>
272
273 <template name="progress_bar">
274 <object type="progressbar">
275 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500276 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400277 <data name="ui_progress" />
278 </object>
279
280 <object type="animation">
281 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
282 <resource name="progress" />
283 <speed fps="15" render="2" />
284 <loop frame="1" />
285 </object>
286 </template>
287
288 <template name="action_page_console">
289 <object type="console">
290 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
291 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
292 <font resource="fixed" />
293 </object>
294 </template>
295
296 <template name="sort_options">
297 <object type="text" color="%text_color%">
298 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400299 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400300 <text>Sort Ascending:</text>
301 </object>
302
303 <object type="button">
304 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400305 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400306 <text>Name</text>
307 <image resource="sort_button" />
308 <action function="set">tw_gui_sort_order=1</action>
309 </object>
310
311 <object type="button">
312 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400313 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400314 <text>Date</text>
315 <image resource="sort_button" />
316 <action function="set">tw_gui_sort_order=2</action>
317 </object>
318
319 <object type="button">
320 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400321 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400322 <text>Size</text>
323 <image resource="sort_button" />
324 <action function="set">tw_gui_sort_order=3</action>
325 </object>
326
327 <object type="text" color="%text_color%">
328 <font resource="mediumfont" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400329 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400330 <text>Sort Descending:</text>
331 </object>
332
333 <object type="button">
334 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400335 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400336 <text>Name</text>
337 <image resource="sort_button" />
338 <action function="set">tw_gui_sort_order=-1</action>
339 </object>
340
341 <object type="button">
342 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400343 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400344 <text>Date</text>
345 <image resource="sort_button" />
346 <action function="set">tw_gui_sort_order=-2</action>
347 </object>
348
349 <object type="button">
350 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400351 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400352 <text>Size</text>
353 <image resource="sort_button" />
354 <action function="set">tw_gui_sort_order=-3</action>
355 </object>
356 </template>
357
358 <template name="footer">
359 <object type="console">
360 <slideout resource="slideout" x="140" y="456" />
361 <placement x="%console_x%" y="0" w="%console_width%" h="456" />
362 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
363 <font resource="fixed" />
364 </object>
365 </template>
366
367 <template name="keyboardtemplate">
368 <object type="keyboard">
369 <placement x="0" y="253" />
370 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600371 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600372 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400373 <layout1>
374 <keysize height="52" width="32" />
375 <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" />
376 <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" />
377 <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" />
378 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:a:action" />
379 </layout1>
380 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600381 <keysize height="52" width="32" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400382 <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" />
383 <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" />
384 <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" />
385 <row4 key01="48:layout3" key02="32:" key03="160: " key04="32:." key05="48:action" />
386 </layout2>
387 <layout3>
388 <keysize height="52" width="32" />
389 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
390 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
391 <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" />
392 <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" />
393 </layout3>
394 <layout4>
395 <keysize height="52" width="32" />
396 <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" />
397 <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" />
398 <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8" />
399 <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" />
400 </layout4>
401 </object>
402 </template>
403 </templates>
Dees_Troy51a0e822012-09-05 15:24:24 -0400404</recovery>