blob: b074931b646426356e07666bfca85a3f8fd19d9b [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="1280" />
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>
17 <resource name="font" type="font" filename="Roboto-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040018 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040019 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
20 <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_Troya13d74f2013-03-24 08:54:55 -050050 <variable name="col1_x" value="10" />
51 <variable name="col2_x" value="415" />
Dees_Troy51a0e822012-09-05 15:24:24 -040052 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040053 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040054 <variable name="center_x" value="400" />
55 <variable name="row1_y" value="185" />
56 <variable name="row2_y" value="425" />
57 <variable name="row3_y" value="665" />
58 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040059 <variable name="row_queue_y" value="710" />
60 <variable name="row1_header_y" value="131" />
Ethan Yonker96acb3d2014-08-05 09:20:30 -050061 <variable name="text_row_height" value="50" />
Dees_Troy51a0e822012-09-05 15:24:24 -040062 <variable name="row1_text_y" value="170" />
Ethan Yonker96acb3d2014-08-05 09:20:30 -050063 <variable name="row2_text_y" value="%row1_text_y%+%text_row_height%" />
64 <variable name="row3_text_y" value="%row2_text_y%+%text_row_height%" />
65 <variable name="row4_text_y" value="%row3_text_y%+%text_row_height%" />
66 <variable name="row5_text_y" value="%row4_text_y%+%text_row_height%" />
67 <variable name="row6_text_y" value="%row5_text_y%+%text_row_height%" />
68 <variable name="row7_text_y" value="%row6_text_y%+%text_row_height%" />
69 <variable name="row8_text_y" value="%row7_text_y%+%text_row_height%" />
70 <variable name="row9_text_y" value="%row8_text_y%+%text_row_height%" />
71 <variable name="row10_text_y" value="%row9_text_y%+%text_row_height%" />
72 <variable name="row11_text_y" value="%row10_text_y%+%text_row_height%" />
73 <variable name="row12_text_y" value="%row11_text_y%+%text_row_height%" />
74 <variable name="row13_text_y" value="%row12_text_y%+%text_row_height%" />
75 <variable name="row14_text_y" value="%row13_text_y%+%text_row_height%" />
76 <variable name="row15_text_y" value="%row14_text_y%+%text_row_height%" />
77 <variable name="row16_text_y" value="%row15_text_y%+%text_row_height%" />
78 <variable name="row17_text_y" value="%row16_text_y%+%text_row_height%" />
79 <variable name="row18_text_y" value="%row17_text_y%+%text_row_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -040080 <variable name="zip_status_y" value="640" />
81 <variable name="tz_selected_y" value="160" />
82 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040083 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040084 <variable name="col_progressbar_x" value="264" />
85 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040086 <variable name="col1_medium_x" value="10" />
87 <variable name="col2_medium_x" value="208" />
88 <variable name="col3_medium_x" value="406" />
89 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040090 <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="840" />
96 <variable name="row7_medium_y" value="730" />
97 <variable name="slider_x" value="98" />
98 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040099 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <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="50" />
107 <variable name="home_button_y" value="1226" />
108 <variable name="back_button_x" value="666" />
109 <variable name="back_button_y" value="1226" />
110 <variable name="sort_text_x" value="85" />
111 <variable name="sort_asc_text_y" value="1090" />
112 <variable name="sort_asc_button_y" value="1080" />
113 <variable name="sort_desc_text_y" value="1150" />
114 <variable name="sort_desc_button_y" value="1140" />
115 <variable name="sort_col1_button_x" value="330" />
116 <variable name="sort_col2_button_x" value="430" />
117 <variable name="sort_col3_button_x" value="530" />
118 <variable name="input_width" value="750" />
119 <variable name="input_height" value="50" />
120 <variable name="input_background_color" value="#303030" />
121 <variable name="input_cursor_color" value="#33B5E5" />
122 <variable name="input_cursor_width" value="3" />
123 <variable name="console_x" value="0" />
124 <variable name="console_width" value="800" />
125 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500126 <variable name="warning" value="#F8F8A0" />
127 <variable name="error" value="#FF4040" />
128 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400129 <variable name="console_background" value="#303030" />
130 <variable name="console_scroll" value="#303030" />
131 <variable name="console_action_height" value="470" />
132 <variable name="console_install_height" value="600" />
133 <variable name="console_installdone_height" value="440" />
134 <variable name="fileselector_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500135 <variable name="fileselector_width" value="790" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400136 <variable name="fileselector_install_height" value="750" />
137 <variable name="fileselector_header_background" value="#202020" />
138 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
139 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
140 <variable name="fileselector_header_separatorheight" value="3" />
141 <variable name="fileselector_separatorcolor" value="#505050" />
142 <variable name="fileselector_separatorheight" value="2" />
143 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600144 <variable name="fileselector_highlight_color" value="#505050" />
145 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="fileselector_spacing" value="36"/>
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100147 <variable name="fastscroll_linecolor" value="#808080" />
148 <variable name="fastscroll_rectcolor" value="#808080" />
149 <variable name="fastscroll_w" value="60" />
150 <variable name="fastscroll_linew" value="2" />
151 <variable name="fastscroll_rectw" value="40" />
152 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400153 <variable name="listbox_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500154 <variable name="listbox_width" value="790" />
Dees_Troyeead9852013-02-15 14:31:06 -0600155 <variable name="listbox_tz_height" value="580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400156 <variable name="listbox_background" value="#303030" />
157 <variable name="listbox_spacing" value="16" />
158 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400159 <variable name="sdext_text_x" value="115" />
160 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400161 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400162 <variable name="sdswap_text_x" value="115" />
163 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400164 <variable name="sdfilesystem_text_y" value="340" />
165 <variable name="sdfilesystem_button_y" value="380" />
166 <variable name="lock_x" value="200" />
167 <variable name="lock_y" value="400" />
168 <variable name="filemanager_select_x" value="320" />
169 <variable name="filemanager_select_y" value="950" />
170 <variable name="backup_name_y" value="550" />
171 <variable name="terminal_console_height" value="600" />
172 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400173 <variable name="terminal_button_y" value="620" />
174 <variable name="row_dst_text_y" value="720" />
175 <variable name="row_offset_text_y" value="800" />
176 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500177 <variable name="button_fill_color" value="#303030" />
178 <variable name="button_fill_full_width" value="780" />
179 <variable name="button_fill_main_width" value="375" />
180 <variable name="button_fill_main_height" value="240" />
181 <variable name="button_fill_half_height" value="120" />
182 <variable name="button_fill_quarter_height" value="54" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000183 <variable name="backup_list_height" value="520" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500184 <variable name="backup_button_row1" value="745" />
185 <variable name="backup_button_row2" value="810" />
186 <variable name="mount_list_height" value="690" />
187 <variable name="mount_storage_row" value="830" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000188 <variable name="storage_list_height" value="775" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500189 <variable name="wipe_list_height" value="670" />
190 <variable name="wipe_button_row1" value="900" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500191 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200192 <variable name="slidervalue_w" value="780" />
193 <variable name="slidervalue_line_clr" value="#FFFFFF" />
194 <variable name="slidervalue_slider_clr" value="#33B5E5" />
195 <variable name="slidervalue_lineh" value="2" />
196 <variable name="slidervalue_padding" value="20" />
197 <variable name="slidervalue_sliderw" value="10" />
198 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400199 </variables>
200
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100201 <mousecursor>
202 <placement w="15" h="15" />
203 <background color="#FFFF00FF" resource="cursor" />
204 <speed multiplier="2.5" />
205 </mousecursor>
206
Dees_Troy51a0e822012-09-05 15:24:24 -0400207 <templates>
208 <template name="header">
209 <background color="#000000FF" />
210
211 <object type="image">
212 <image resource="top_bar" />
213 <placement x="0" y="0" />
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="120" y="10" />
219 <text>Team Win Recovery Project v%tw_version%</text>
220 </object>
221
222 <object type="text" color="%text_color%">
223 <condition var1="tw_simulate_actions" var2="1" />
224 <font resource="font" />
225 <placement x="120" y="45" />
226 <text>SIMULATING ACTIONS</text>
227 </object>
228
229 <object type="text" color="%text_color%">
230 <font resource="font" />
231 <placement x="120" y="76" />
232 <text>%tw_time%</text>
233 </object>
234
235 <object type="text" color="%text_color%">
236 <font resource="font" />
237 <placement x="270" y="76" />
238 <conditions>
239 <condition var1="tw_no_battery_percent" var2="0" />
240 <condition var1="tw_battery" op=">" var2="0" />
241 <condition var1="tw_battery" op="<" var2="101" />
242 </conditions>
243 <text>Battery: %tw_battery%</text>
244 </object>
245
246 <object type="button">
247 <placement x="%home_button_x%" y="%home_button_y%" />
248 <font resource="font" color="%button_text_color%" />
249 <text></text>
250 <image resource="home_icon" />
251 <condition var1="tw_busy" var2="0" />
252 <action function="key">home</action>
253 </object>
254
255 <object type="button">
256 <placement x="%back_button_x%" y="%back_button_y%" />
257 <font resource="font" color="%button_text_color%" />
258 <text></text>
259 <image resource="back_icon" />
260 <condition var1="tw_busy" var2="0" />
261 <action function="key">back</action>
262 </object>
263
264 <object type="action">
265 <touch key="power" />
266 <action function="overlay">lock</action>
267 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100268
269 <object type="action">
270 <touch key="power+voldown" />
271 <action function="screenshot" />
272 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -0400273 </template>
274
275 <template name="progress_bar">
276 <object type="progressbar">
277 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500278 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400279 <data name="ui_progress" />
280 </object>
281
282 <object type="animation">
283 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
284 <resource name="progress" />
285 <speed fps="15" render="2" />
286 <loop frame="1" />
287 </object>
288 </template>
289
290 <template name="sort_options">
291 <object type="text" color="%text_color%">
292 <font resource="font" />
293 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
294 <text>Sort Ascending:</text>
295 </object>
296
297 <object type="button">
298 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
299 <font resource="font" color="%button_text_color%" />
300 <text>Name</text>
301 <image resource="sort_button" />
302 <action function="set">tw_gui_sort_order=1</action>
303 </object>
304
305 <object type="button">
306 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
307 <font resource="font" color="%button_text_color%" />
308 <text>Date</text>
309 <image resource="sort_button" />
310 <action function="set">tw_gui_sort_order=2</action>
311 </object>
312
313 <object type="button">
314 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
315 <font resource="font" color="%button_text_color%" />
316 <text>Size</text>
317 <image resource="sort_button" />
318 <action function="set">tw_gui_sort_order=3</action>
319 </object>
320
321 <object type="text" color="%text_color%">
322 <font resource="font" />
323 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
324 <text>Sort Descending:</text>
325 </object>
326
327 <object type="button">
328 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
329 <font resource="font" color="%button_text_color%" />
330 <text>Name</text>
331 <image resource="sort_button" />
332 <action function="set">tw_gui_sort_order=-1</action>
333 </object>
334
335 <object type="button">
336 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
337 <font resource="font" color="%button_text_color%" />
338 <text>Date</text>
339 <image resource="sort_button" />
340 <action function="set">tw_gui_sort_order=-2</action>
341 </object>
342
343 <object type="button">
344 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
345 <font resource="font" color="%button_text_color%" />
346 <text>Size</text>
347 <image resource="sort_button" />
348 <action function="set">tw_gui_sort_order=-3</action>
349 </object>
350 </template>
351
352 <template name="action_page_console">
353 <object type="console">
354 <placement x="0" y="%row3_text_y%" w="800" h="600" />
355 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
356 <font resource="fixed" />
357 </object>
358 </template>
359
360 <template name="footer">
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500361 <object type="console">
Dees_Troy51a0e822012-09-05 15:24:24 -0400362 <slideout resource="slideout" x="355" y="1220" />
363 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
364 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
365 <font resource="fixed" />
366 </object>
367 </template>
368
369 <template name="keyboardtemplate">
370 <object type="keyboard">
371 <placement x="0" y="740" />
372 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600373 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600374 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400375 <layout1>
376 <keysize height="115" width="80" />
377 <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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600378 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
379 <row3 key01="117:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="123:c:8" />
Dees_Troyddede4c2012-12-18 21:37:26 +0000380 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400381 </layout1>
382 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600383 <keysize height="116" width="80" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400384 <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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600385 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
386 <row3 key01="117:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400387 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
388 </layout2>
389 <layout3>
390 <keysize height="115" width="80" />
391 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
392 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600393 <row3 key01="117:layout4" key02="!" key03="80:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400394 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
395 </layout3>
396 <layout4>
397 <keysize height="116" width="80" />
398 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
399 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600400 <row3 key01="117:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400401 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
402 </layout4>
403 </object>
404 </template>
405 </templates>
Dees_Troy51a0e822012-09-05 15:24:24 -0400406</recovery>