blob: e36d0ae767f142dcadd2108f261acf5d0e13e3d1 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1920" height="1200" />
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="landscape.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="30" fallback="Roboto-Regular-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040018 <resource name="base" type="image" filename="background.jpg" />
Dees_Troy51a0e822012-09-05 15:24:24 -040019 <resource name="main_button" type="image" filename="button" />
20 <resource name="file_icon" type="image" filename="file" />
21 <resource name="folder_icon" type="image" filename="folder" />
22 <resource name="progress" type="animation" filename="indeterminate" />
23 <resource name="progress_empty" type="image" filename="progress_empty" />
24 <resource name="progress_full" type="image" filename="progress_fill" />
25 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
26 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
27 <resource name="radio_false" type="image" filename="radio_empty" />
28 <resource name="radio_true" type="image" filename="radio_selected" />
29 <resource name="medium_button" type="image" filename="medium-button" />
30 <resource name="mediumwide_button" type="image" filename="mediumwide-button" />
31 <resource name="sort_button" type="image" filename="sort-button" />
32 <resource name="minus_button" type="image" filename="minus-button" />
33 <resource name="plus_button" type="image" filename="plus-button" />
34 <resource name="home_icon" type="image" filename="home-icon" />
35 <resource name="back_icon" type="image" filename="back-icon" />
36 <resource name="console_button" type="image" filename="console-toggle" />
37 <resource name="slider" type="image" filename="slider" />
38 <resource name="slider-used" type="image" filename="slider-used" />
39 <resource name="slider-touch" type="image" filename="slider-touch" />
40 <resource name="unlock-icon" type="image" filename="unlock" />
41 <resource name="keyboard1" type="image" filename="keyboard1" />
42 <resource name="keyboard2" type="image" filename="keyboard2" />
43 <resource name="keyboard3" type="image" filename="keyboard3" />
44 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010045 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040046 </resources>
47
48 <variables>
49 <variable name="col1_x" value="210" />
50 <variable name="col2_x" value="590" />
51 <variable name="col3_x" value="970" />
52 <variable name="col4_x" value="1350" />
53 <variable name="row1_y" value="220" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060054 <variable name="row2_y" value="680" />
Dees_Troy51a0e822012-09-05 15:24:24 -040055 <variable name="col_center_x" value="780" />
56 <variable name="center_x" value="960" />
57 <variable name="screen_width" value="1920" />
58 <variable name="screen_height" value="1200" />
59 <variable name="col_progressbar_x" value="771" />
60 <variable name="row_progressbar_y" value="1100" />
61 <variable name="col1_medium_x" value="570" />
62 <variable name="col2_medium_x" value="770" />
63 <variable name="col3_medium_x" value="970" />
64 <variable name="col4_medium_x" value="1170" />
65 <variable name="row1_medium_y" value="105" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060066 <variable name="row2_medium_y" value="365" />
Dees_Troy51a0e822012-09-05 15:24:24 -040067 <variable name="row3_medium_y" value="245" />
Dees_Troy2f9117a2013-02-17 19:52:09 -060068 <variable name="row4_medium_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040069 <variable name="row5_medium_y" value="700" />
70 <variable name="row1_text_y" value="90" />
71 <variable name="row2_text_y" value="140" />
72 <variable name="row3_text_y" value="190" />
73 <variable name="row4_text_y" value="240" />
74 <variable name="row5_text_y" value="290" />
75 <variable name="row6_text_y" value="340" />
76 <variable name="row7_text_y" value="390" />
77 <variable name="row8_text_y" value="440" />
78 <variable name="row9_text_y" value="490" />
79 <variable name="row10_text_y" value="540" />
80 <variable name="row11_text_y" value="590" />
81 <variable name="row12_text_y" value="640" />
82 <variable name="row13_text_y" value="690" />
83 <variable name="row14_text_y" value="740" />
84 <variable name="row15_text_y" value="790" />
85 <variable name="row16_text_y" value="840" />
86 <variable name="row17_text_y" value="890" />
87 <variable name="row18_text_y" value="940" />
88 <variable name="row_offsetmedium_y" value="775" />
89 <variable name="home_button_x" value="1620" />
90 <variable name="home_button_y" value="5" />
91 <variable name="back_button_x" value="1720" />
92 <variable name="back_button_y" value="5" />
93 <variable name="console_button_x" value="1820" />
94 <variable name="console_button_y" value="5" />
95 <variable name="nandcheck_col1" value="328" />
96 <variable name="nandcheck_col2" value="800" />
97 <variable name="nandcheck_row1" value="200" />
98 <variable name="nandcheck_row2" value="275" />
99 <variable name="nandcheck_row3" value="350" />
100 <variable name="nandcheck_row4" value="425" />
101 <variable name="nandcheck_row5" value="500" />
102 <variable name="nandcheck_row6" value="575" />
103 <variable name="nandcheck_row7" value="650" />
104 <variable name="button_text_color" value="#AAAAAA" />
105 <variable name="text_color" value="#A0A0A0" />
106 <variable name="text_success_color" value="#33B5E5" />
107 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600108 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600109 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400110 <variable name="slider_x" value="630" />
111 <variable name="slider_y" value="1000" />
112 <variable name="slider_text_y" value="1075" />
113 <variable name="sort_text_x" value="400" />
114 <variable name="sort_asc_text_y" value="1045" />
115 <variable name="sort_asc_button_y" value="1040" />
116 <variable name="sort_desc_text_y" value="1105" />
117 <variable name="sort_desc_button_y" value="1100" />
118 <variable name="sort_col1_button_x" value="670" />
119 <variable name="sort_col2_button_x" value="770" />
120 <variable name="sort_col3_button_x" value="870" />
121 <variable name="col1_sdext_x" value="720" />
122 <variable name="col2_sdext_x" value="1100" />
123 <variable name="row1_sdext_y" value="180" />
124 <variable name="row2_sdext_y" value="265" />
125 <variable name="row_extsize_y" value="175" />
126 <variable name="row_swapsize_y" value="260" />
127 <variable name="input_x" value="50" />
128 <variable name="input_width" value="1820" />
129 <variable name="input_height" value="50" />
130 <variable name="input_background_color" value="#303030" />
131 <variable name="input_cursor_color" value="#33B5E5" />
132 <variable name="input_cursor_width" value="3" />
133 <variable name="console_x" value="50" />
134 <variable name="console_width" value="1820" />
135 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500136 <variable name="warning" value="#F8F8A0" />
137 <variable name="error" value="#FF4040" />
138 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400139 <variable name="console_background" value="#303030" />
140 <variable name="console_scroll" value="#303030" />
141 <variable name="console_action_height" value="320" />
142 <variable name="console_install_height" value="440" />
143 <variable name="console_installdone_height" value="300" />
144 <variable name="fileselector_folder_x" value="50" />
145 <variable name="fileselector_folder_width" value="610" />
146 <variable name="fileselector_folderonly_width" value="800" />
147 <variable name="fileselector_file_x" value="700" />
148 <variable name="fileselector_file_width" value="1170" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500149 <variable name="fileselector_install_y" value="205" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400150 <variable name="fileselector_install_height" value="800" />
151 <variable name="fileselector_header_background" value="#202020" />
152 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
153 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
154 <variable name="fileselector_header_separatorheight" value="3" />
155 <variable name="fileselector_separatorcolor" value="#505050" />
156 <variable name="fileselector_separatorheight" value="2" />
157 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600158 <variable name="fileselector_highlight_color" value="#505050" />
159 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400160 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100161 <variable name="fastscroll_linecolor" value="#808080" />
162 <variable name="fastscroll_rectcolor" value="#808080" />
163 <variable name="fastscroll_w" value="60" />
164 <variable name="fastscroll_linew" value="3" />
165 <variable name="fastscroll_rectw" value="45" />
166 <variable name="fastscroll_recth" value="75" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400167 <variable name="zipstorage_text_y" value="130" />
168 <variable name="listbox_x" value="560" />
169 <variable name="listbox_y" value="150" />
170 <variable name="listbox_width" value="800" />
171 <variable name="listbox_tz_height" value="400" />
172 <variable name="listbox_background" value="#303030" />
173 <variable name="listbox_spacing" value="18" />
174 <variable name="sd_plus_x" value="408" />
175 <variable name="lock_x" value="660" />
176 <variable name="lock_y" value="300" />
177 <variable name="filemanager_select_x" value="1500" />
178 <variable name="filemanager_select_y" value="980" />
179 <variable name="backup_name_text_y" value="440" />
180 <variable name="backup_name_button_y" value="390" />
181 <variable name="col_right_x" value="1870" />
182 <variable name="cancel_button_y" value="240" />
183 <variable name="terminal_console_y" value="0" />
184 <variable name="terminal_console_height" value="610" />
185 <variable name="terminal_text_y" value="624" />
186 <variable name="terminal_button_y" value="615" />
187 <variable name="terminal_input_width" value="1550" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500188 <variable name="button_fill_color" value="#303030" />
189 <variable name="button_fill_full_width" value="960" />
190 <variable name="button_fill_main_width" value="900" />
191 <variable name="button_fill_main_height" value="240" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000192 <variable name="button_fill_half_height" value="80" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500193 <variable name="button_fill_quarter_height" value="60" />
194 <variable name="button_full_center_x" value="480" />
195 <variable name="backup_list_x" value="50" />
196 <variable name="backup_list_y" value="160" />
197 <variable name="backup_list_width" value="900" />
198 <variable name="backup_list_height" value="660" />
199 <variable name="backup_storage_y" value="405" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000200 <variable name="backup_encrypt_y" value="495" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500201 <variable name="restore_list_y" value="190" />
202 <variable name="restore_list_height" value="600" />
203 <variable name="mount_list_height" value="900" />
204 <variable name="mount_storage_row" value="850" />
205 <variable name="wipe_list_height" value="850" />
206 <variable name="wipe_button_y" value="375" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200207 <variable name="slidervalue_x" value="540" />
208 <variable name="slidervalue_w" value="960" />
209 <variable name="slidervalue_line_clr" value="#FFFFFF" />
210 <variable name="slidervalue_slider_clr" value="#33B5E5" />
211 <variable name="slidervalue_lineh" value="3" />
212 <variable name="slidervalue_padding" value="0" />
213 <variable name="slidervalue_sliderw" value="20" />
214 <variable name="slidervalue_sliderh" value="80" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400215 </variables>
216
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100217 <mousecursor>
218 <placement w="15" h="15" />
219 <background color="#FFFF00FF" resource="cursor" />
220 <speed multiplier="2.5" />
221 </mousecursor>
222
Dees_Troy51a0e822012-09-05 15:24:24 -0400223 <templates>
224 <template name="header">
225 <background color="#000000FF" />
226
227 <object type="image">
Dees_Troy51a0e822012-09-05 15:24:24 -0400228 <image resource="base" />
229 <placement x="0" y="0" />
230 </object>
231
Dees_Troy51a0e822012-09-05 15:24:24 -0400232 <object type="text" color="%text_color%">
233 <font resource="font" />
234 <placement x="250" y="5" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000235 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400236 </object>
237
238 <object type="text" color="%text_color%">
239 <font resource="font" />
240 <placement x="250" y="40" />
241 <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 Level: %tw_battery%</text>
247 </object>
248
249 <object type="text" color="%text_color%">
250 <font resource="font" />
251 <placement x="600" y="40" />
252 <text>%tw_time%</text>
253 </object>
254
255 <object type="text" color="%text_color%">
Jenkins1710bf22014-10-02 20:22:21 -0400256 <font resource="font" />
257 <placement x="1150" y="40" />
258 <conditions>
259 <condition var1="tw_no_cpu_temp" var2="0" />
260 </conditions>
261 <text>CPU: %tw_cpu_temp% C</text>
262 </object>
263
264 <object type="text" color="%text_color%">
Dees_Troy51a0e822012-09-05 15:24:24 -0400265 <condition var1="tw_simulate_actions" var2="1" />
266 <font resource="font" />
Jenkins1710bf22014-10-02 20:22:21 -0400267 <placement x="750" y="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400268 <text>SIMULATING ACTIONS</text>
269 </object>
270
271 <object type="button">
272 <placement x="%home_button_x%" y="%home_button_y%" />
273 <font resource="font" color="%button_text_color%" />
274 <text></text>
275 <image resource="home_icon" />
276 <condition var1="tw_busy" var2="0" />
277 <action function="key">home</action>
278 </object>
279
280 <object type="button">
281 <placement x="%back_button_x%" y="%back_button_y%" />
282 <font resource="font" color="%button_text_color%" />
283 <text></text>
284 <image resource="back_icon" />
285 <condition var1="tw_busy" var2="0" />
286 <action function="key">back</action>
287 </object>
288
289 <object type="action">
290 <touch key="power" />
291 <action function="overlay">lock</action>
292 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100293
294 <object type="action">
295 <touch key="power+voldown" />
296 <action function="screenshot" />
297 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -0400298 </template>
299
300 <template name="progress_bar">
301 <object type="progressbar">
302 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500303 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400304 <data name="ui_progress" />
305 </object>
306
307 <object type="animation">
308 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
309 <resource name="progress" />
310 <speed fps="15" render="6" />
311 <loop frame="1" />
312 </object>
313 </template>
314
315 <template name="sort_options">
316 <object type="text" color="%text_color%">
317 <font resource="font" />
318 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
319 <text>Sort Ascending:</text>
320 </object>
321
322 <object type="button">
323 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
324 <font resource="font" color="%button_text_color%" />
325 <text>Name</text>
326 <image resource="sort_button" />
327 <action function="set">tw_gui_sort_order=1</action>
328 </object>
329
330 <object type="button">
331 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
332 <font resource="font" color="%button_text_color%" />
333 <text>Date</text>
334 <image resource="sort_button" />
335 <action function="set">tw_gui_sort_order=2</action>
336 </object>
337
338 <object type="button">
339 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
340 <font resource="font" color="%button_text_color%" />
341 <text>Size</text>
342 <image resource="sort_button" />
343 <action function="set">tw_gui_sort_order=3</action>
344 </object>
345
346 <object type="text" color="%text_color%">
347 <font resource="font" />
348 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
349 <text>Sort Descending:</text>
350 </object>
351
352 <object type="button">
353 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
354 <font resource="font" color="%button_text_color%" />
355 <text>Name</text>
356 <image resource="sort_button" />
357 <action function="set">tw_gui_sort_order=-1</action>
358 </object>
359
360 <object type="button">
361 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
362 <font resource="font" color="%button_text_color%" />
363 <text>Date</text>
364 <image resource="sort_button" />
365 <action function="set">tw_gui_sort_order=-2</action>
366 </object>
367
368 <object type="button">
369 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
370 <font resource="font" color="%button_text_color%" />
371 <text>Size</text>
372 <image resource="sort_button" />
373 <action function="set">tw_gui_sort_order=-3</action>
374 </object>
375 </template>
376
377 <template name="flash_zip_console">
378 <object type="console">
379 <placement x="%console_x%" y="140" w="%console_width%" h="700" />
380 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
381 <font resource="fixed" />
382 </object>
383 </template>
384
385 <template name="action_page_console">
386 <object type="console">
387 <placement x="%console_x%" y="400" w="%console_width%" h="600" />
388 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
389 <font resource="fixed" />
390 </object>
391 </template>
392
393 <template name="footer">
394 <object type="console">
395 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
396 <placement x="%console_x%" y="150" w="%console_width%" h="1000" />
397 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
398 <font resource="fixed" />
399 </object>
400 </template>
401
402 <template name="keyboardtemplate">
403 <object type="keyboard">
404 <placement x="0" y="684" />
405 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600406 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600407 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400408 <layout1>
409 <keysize height="129" width="159" />
410 <row1 key01="153:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="177:c:8" />
411 <row2 key01="213:layout3" key02="156:a" key03="156:s" key04="156:d" key05="156:f" key06="156:g" key07="156:h" key08="156:j" key09="k" key10="156:l" key11="303:action" />
412 <row3 key01="269:layout2" key02="154:z" key03="154:x" key04="154:c" key05="154:v" key06="154:b" key07="154:n" key08="154:m" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout2" />
413 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
414 </layout1>
415 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600416 <keysize height="129" width="159" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400417 <row1 key01="153:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="177:c:8" />
418 <row2 key01="213:layout3" key02="156:A" key03="156:S" key04="156:D" key05="156:F" key06="156:G" key07="156:H" key08="156:J" key09="156:K" key10="156:L" key11="303:action" />
419 <row3 key01="269:layout1" key02="154:Z" key03="154:X" key04="154:C" key05="154:V" key06="154:B" key07="154:N" key08="154:M" key09="154:," long09="!" key10="154:." long10="?" key11="265:layout1" />
420 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
421 </layout2>
422 <layout3>
423 <keysize height="129" width="159" />
424 <row1 key01="153:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="177:c:8" />
425 <row2 key01="213:layout1" key02="156:#" key03="156:$" key04="156:%" key05="156:&" key06="156:*" key07="156:-" key08="156:+" key09="156:(" key10="156:)" key11="303:action" />
426 <row3 key01="269:layout4" key02="154:<" key03="154:>" key04="154:=" key05="154:'" key06="154:;" key07="154:," key08="154:." key09="154:!" key10="154:?" key11="265:layout4" />
427 <row4 key01="282:" key02="/" key03="@" key04="720: " key05="159:c:34" key06="_" />
428 </layout3>
429 <layout4>
430 <keysize height="129" width="159" />
431 <row1 key01="153:" key02="~" key03="`" key04="|" key05="159:" key06="159:" key07="159:" key08="159:" key09="159:" key10="159:" key11="159:" key12="177:c:8" />
432 <row2 key01="213:layout1" key02="156:" key03="156:" key04="156:" key05="156:" key06="156:^" key07="156:" key08="156:" key09="156:{" key10="156:}" key11="303:action" />
433 <row3 key01="269:layout3" key02="154:\" key03="154:" key04="154:" key05="154:" key06="154:" key07="154:[" key08="154:]" key09="154:!" key10="154:?" key11="265:layout3" />
434 <row4 key01="600:" key02="720: " />
435 </layout4>
436 </object>
437 </template>
438 </templates>
Dees_Troy51a0e822012-09-05 15:24:24 -0400439</recovery>