blob: eb6d671bce9f06a5f942c69a9ed5d1230651c1fc [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="540" height="960" />
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="20" fallback="Roboto-Regular-20" />
18 <resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="20" fallback="Roboto-Regular-20" />
19 <resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="20" fallback="Roboto-Regular-25" />
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="qhd-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="qhd-medium-button" />
33 <resource name="sort_button" type="image" filename="qhd-sort-button" />
34 <resource name="minus_button" type="image" filename="qhd-minus-button" />
35 <resource name="plus_button" type="image" filename="qhd-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>
50 <variable name="col1_x" value="10" />
51 <variable name="col2_x" value="277" />
52 <variable name="col_center_x" value="143" />
Dees_Troyc51f1f92012-09-20 15:32:13 -040053 <variable name="col_center_medium_x" value="206" />
Dees_Troy51a0e822012-09-05 15:24:24 -040054 <variable name="center_x" value="270" />
55 <variable name="row1_y" value="140" />
56 <variable name="row2_y" value="332" />
57 <variable name="row3_y" value="524" />
58 <variable name="row4_y" value="716" />
59 <variable name="row_queue_y" value="625" />
60 <variable name="row1_header_y" value="110" />
61 <variable name="row1_text_y" value="140" />
62 <variable name="row2_text_y" value="180" />
63 <variable name="row3_text_y" value="220" />
64 <variable name="row4_text_y" value="260" />
65 <variable name="row5_text_y" value="300" />
66 <variable name="row6_text_y" value="340" />
67 <variable name="row7_text_y" value="380" />
68 <variable name="row8_text_y" value="420" />
69 <variable name="row9_text_y" value="460" />
70 <variable name="row10_text_y" value="500" />
71 <variable name="row11_text_y" value="540" />
72 <variable name="row12_text_y" value="580" />
73 <variable name="row13_text_y" value="620" />
74 <variable name="row14_text_y" value="660" />
75 <variable name="row15_text_y" value="700" />
76 <variable name="row16_text_y" value="740" />
77 <variable name="row17_text_y" value="780" />
78 <variable name="row18_text_y" value="820" />
79 <variable name="zip_status_y" value="696" />
Ethan Yonker96af84a2015-01-05 14:58:36 -060080 <variable name="flash_list_height" value="260" />
Dees_Troy51a0e822012-09-05 15:24:24 -040081 <variable name="tz_selected_y" value="110" />
82 <variable name="tz_set_y" value="720" />
83 <variable name="tz_current_y" value="895" />
84 <variable name="col_progressbar_x" value="144" />
85 <variable name="row_progressbar_y" value="850" />
86 <variable name="col1_medium_x" value="10" />
87 <variable name="col2_medium_x" value="145" />
88 <variable name="col3_medium_x" value="280" />
89 <variable name="col4_medium_x" value="415" />
90 <variable name="row1_medium_y" value="130" />
91 <variable name="row2_medium_y" value="230" />
92 <variable name="row3_medium_y" value="330" />
93 <variable name="row4_medium_y" value="430" />
94 <variable name="row5_medium_y" value="530" />
95 <variable name="row6_medium_y" value="630" />
96 <variable name="row7_medium_y" value="730" />
97 <variable name="slider_x" value="50" />
98 <variable name="slider_y" value="820" />
99 <variable name="slider_text_y" value="870" />
100 <variable name="button_text_color" value="#AAAAAA" />
101 <variable name="text_color" value="#FFFFFF" />
102 <variable name="text_success_color" value="#33B5E5" />
103 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600104 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600105 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400106 <variable name="home_button_x" value="10" />
107 <variable name="home_button_y" value="919" />
108 <variable name="back_button_x" value="466" />
109 <variable name="back_button_y" value="919" />
110 <variable name="sort_asc_text_y" value="830" />
111 <variable name="sort_asc_button_y" value="820" />
112 <variable name="sort_desc_text_y" value="880" />
113 <variable name="sort_desc_button_y" value="870" />
114 <variable name="sort_col1_button_x" value="180" />
115 <variable name="sort_col2_button_x" value="255" />
116 <variable name="sort_col3_button_x" value="330" />
117 <variable name="input_width" value="520" />
118 <variable name="input_height" value="40" />
119 <variable name="input_background_color" value="#303030" />
120 <variable name="input_cursor_color" value="#33B5E5" />
121 <variable name="input_cursor_width" value="3" />
122 <variable name="console_x" value="0" />
123 <variable name="console_width" value="540" />
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="380" />
131 <variable name="console_install_height" value="580" />
132 <variable name="console_installdone_height" value="380" />
133 <variable name="fileselector_x" value="5" />
134 <variable name="fileselector_width" value="530" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500135 <variable name="fileselector_install_height" value="590" />
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="3" />
140 <variable name="fileselector_separatorcolor" value="#505050" />
141 <variable name="fileselector_separatorheight" value="2" />
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="18" />
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="45" />
149 <variable name="fastscroll_linew" value="2" />
150 <variable name="fastscroll_rectw" value="30" />
151 <variable name="fastscroll_recth" value="52" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400152 <variable name="listbox_x" value="5" />
153 <variable name="listbox_width" value="530" />
Dees_Troyeead9852013-02-15 14:31:06 -0600154 <variable name="listbox_tz_height" value="420" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="listbox_background" value="#303030" />
156 <variable name="listbox_spacing" value="18" />
157 <variable name="sd_plus_x" value="280" />
158 <variable name="sdext_text_x" value="84" />
159 <variable name="sdext_text_y" value="150" />
160 <variable name="sdswap_button_y" value="185" />
161 <variable name="sdswap_text_x" value="84" />
162 <variable name="sdswap_text_y" value="195" />
163 <variable name="sdfilesystem_text_y" value="240" />
164 <variable name="sdfilesystem_button_y" value="280" />
165 <variable name="lock_x" value="70" />
166 <variable name="lock_y" value="250" />
167 <variable name="filemanager_select_x" value="405" />
168 <variable name="filemanager_select_y" value="825" />
169 <variable name="backup_name_y" value="420" />
170 <variable name="terminal_console_height" value="530" />
171 <variable name="terminal_text_y" value="550" />
172 <variable name="terminal_button_y" value="525" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400173 <variable name="row_dst_text_y" value="540" />
174 <variable name="row_offset_text_y" value="580" />
175 <variable name="row_offset_medium_y" value="630" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500176 <variable name="button_fill_color" value="#303030" />
177 <variable name="button_fill_full_width" value="520" />
178 <variable name="button_fill_main_width" value="253" />
179 <variable name="button_fill_main_height" value="162" />
180 <variable name="button_fill_half_height" value="81" />
181 <variable name="button_fill_quarter_height" value="40" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000182 <variable name="backup_list_height" value="410" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500183 <variable name="backup_button_row1" value="600" />
184 <variable name="backup_button_row2" value="645" />
185 <variable name="mount_list_height" value="500" />
186 <variable name="mount_storage_row" value="630" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000187 <variable name="storage_list_height" value="575" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500188 <variable name="wipe_list_height" value="570" />
189 <variable name="wipe_button_row1" value="700" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500190 <variable name="wipe_button_y" value="475" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200191 <variable name="slidervalue_w" value="520" />
192 <variable name="slidervalue_line_clr" value="#FFFFFF" />
193 <variable name="slidervalue_slider_clr" value="#33B5E5" />
194 <variable name="slidervalue_lineh" value="2" />
195 <variable name="slidervalue_padding" value="15" />
196 <variable name="slidervalue_sliderw" value="8" />
197 <variable name="slidervalue_sliderh" value="45" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400198 </variables>
199
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100200 <mousecursor>
201 <placement w="15" h="15" />
202 <background color="#FFFF00FF" resource="cursor" />
203 <speed multiplier="1.5" />
204 </mousecursor>
205
Dees_Troy51a0e822012-09-05 15:24:24 -0400206 <templates>
207 <template name="header">
208 <background color="#000000FF" />
209
210 <object type="image">
211 <image resource="top_bar" />
212 <placement x="0" y="0" />
213 </object>
214
215 <object type="text" color="%text_color%">
216 <font resource="font" />
217 <placement x="100" y="10" />
218 <text>Team Win Recovery Project v%tw_version%</text>
219 </object>
220
221 <object type="text" color="%text_color%">
222 <condition var1="tw_simulate_actions" var2="1" />
223 <font resource="font" />
224 <placement x="100" y="40" />
225 <text>SIMULATING ACTIONS</text>
226 </object>
227
228 <object type="text" color="%text_color%">
229 <font resource="font" />
230 <placement x="100" y="70" />
231 <text>%tw_time%</text>
232 </object>
233
234 <object type="text" color="%text_color%">
235 <font resource="font" />
Jenkins1710bf22014-10-02 20:22:21 -0400236 <placement x="200" y="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400237 <conditions>
238 <condition var1="tw_no_battery_percent" var2="0" />
239 <condition var1="tw_battery" op=">" var2="0" />
240 <condition var1="tw_battery" op="<" var2="101" />
241 </conditions>
242 <text>Battery: %tw_battery%</text>
243 </object>
244
Jenkins1710bf22014-10-02 20:22:21 -0400245 <object type="text" color="%text_color%">
246 <font resource="font" />
247 <placement x="400" y="70" />
248 <conditions>
249 <condition var1="tw_no_cpu_temp" var2="0" />
250 </conditions>
251 <text>CPU: %tw_cpu_temp% C</text>
252 </object>
253
Dees_Troy51a0e822012-09-05 15:24:24 -0400254 <object type="button">
255 <placement x="%home_button_x%" y="%home_button_y%" />
256 <font resource="font" color="%button_text_color%" />
257 <text></text>
258 <image resource="home_icon" />
259 <condition var1="tw_busy" var2="0" />
260 <action function="key">home</action>
261 </object>
262
263 <object type="button">
264 <placement x="%back_button_x%" y="%back_button_y%" />
265 <font resource="font" color="%button_text_color%" />
266 <text></text>
267 <image resource="back_icon" />
268 <condition var1="tw_busy" var2="0" />
269 <action function="key">back</action>
270 </object>
271
272 <object type="action">
273 <touch key="power" />
274 <action function="overlay">lock</action>
275 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100276
277 <object type="action">
278 <touch key="power+voldown" />
279 <action function="screenshot" />
280 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -0400281 </template>
282
283 <template name="progress_bar">
284 <object type="progressbar">
285 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500286 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400287 <data name="ui_progress" />
288 </object>
289
290 <object type="animation">
291 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
292 <resource name="progress" />
293 <speed fps="15" render="2" />
294 <loop frame="1" />
295 </object>
296 </template>
297
298 <template name="action_page_console">
299 <object type="console">
300 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
301 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
302 <font resource="fixed" />
303 </object>
304 </template>
305
306 <template name="sort_options">
307 <object type="text" color="%text_color%">
308 <font resource="font" />
309 <placement x="%col1_x%" y="%sort_asc_text_y%" />
310 <text>Sort Ascending:</text>
311 </object>
312
313 <object type="button">
314 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600315 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400316 <text>Name</text>
317 <image resource="sort_button" />
318 <action function="set">tw_gui_sort_order=1</action>
319 </object>
320
321 <object type="button">
322 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600323 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400324 <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 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600331 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400332 <text>Size</text>
333 <image resource="sort_button" />
334 <action function="set">tw_gui_sort_order=3</action>
335 </object>
336
337 <object type="text" color="%text_color%">
338 <font resource="font" />
339 <placement x="%col1_x%" y="%sort_desc_text_y%" />
340 <text>Sort Descending:</text>
341 </object>
342
343 <object type="button">
344 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600345 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400346 <text>Name</text>
347 <image resource="sort_button" />
348 <action function="set">tw_gui_sort_order=-1</action>
349 </object>
350
351 <object type="button">
352 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600353 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400354 <text>Date</text>
355 <image resource="sort_button" />
356 <action function="set">tw_gui_sort_order=-2</action>
357 </object>
358
359 <object type="button">
360 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600361 <font resource="mediumfont" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400362 <text>Size</text>
363 <image resource="sort_button" />
364 <action function="set">tw_gui_sort_order=-3</action>
365 </object>
366 </template>
367
368 <template name="footer">
369 <object type="console">
370 <slideout resource="slideout" x="240" y="920" />
371 <placement x="%console_x%" y="0" w="%console_width%" h="920" />
372 <color foreground="#A0A0A0" background="#303030" scroll="#303030" />
373 <font resource="fixed" />
374 </object>
375 </template>
376
377 <template name="keyboardtemplate">
378 <object type="keyboard">
379 <placement x="0" y="600" />
380 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600381 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600382 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400383 <layout1>
384 <keysize height="78" width="54" />
385 <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" />
386 <row2 key01="81:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="81:l" />
387 <row3 key01="81:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="81:c:8" />
388 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:a:action" />
389 </layout1>
390 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600391 <keysize height="78" width="54" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400392 <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" />
393 <row2 key01="81:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="81:L" />
394 <row3 key01="81:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="81:c:8" />
395 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:action" />
396 </layout2>
397 <layout3>
398 <keysize height="78" width="54" />
399 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
400 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
401 <row3 key01="81:layout4" key02="!" key03="54:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="81:c:8" />
402 <row4 key01="81:layout1" key02="54:," key03="270: " key04="54:." key05="81:action" />
403 </layout3>
404 <layout4>
405 <keysize height="78" width="54" />
406 <row1 key01="~" key02="`" key03="|" key04="54:" key05="54:" key06="54:" key07="%" key08="54:" key09="{" key10="}" />
407 <row2 key01="54:" key02="54:" key03="54:" key04="54:" key05="54:" key06="^" key07="_" key08="=" key09="[" key10="]" />
408 <row3 key01="81:layout3" key02="54:" key03="54:" key04="54:" key05="54:" key06="\" key07="<" key08=">" key09="81:c:8" />
409 <row4 key01="81:layout1" key02="54:c:34" key03="270: " key04="54:." key05="81:action" />
410 </layout4>
411 </object>
412 </template>
413 </templates>
Dees_Troy51a0e822012-09-05 15:24:24 -0400414</recovery>