blob: f1cd4611094f83ea3cee91b5eac6207986ceb561 [file] [log] [blame]
masteroftimeb58e6d22014-01-15 20:16:17 +00001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="240" height="240" />
6 <author>masteroftime</author>
7 <title>TWRP x201</title>
8 <description>tDPI Smartwatch Theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
Ethan Yonkerd9b72002014-07-30 08:46:28 -050012 <include>
13 <xmlfile name="watch.xml" />
14 </include>
15
masteroftimeb58e6d22014-01-15 20:16:17 +000016 <resources>
Vojtech Bocek76ee9032014-09-07 15:01:56 +020017 <resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="12" fallback="Roboto-Condensed-12" />
18 <resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="12" fallback="Roboto-Condensed-12" />
19 <resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="12" fallback="Roboto-Condensed-12" />
masteroftimeb58e6d22014-01-15 20:16:17 +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" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -050032 <resource name="medium_button" type="image" filename="medium-button" />
masteroftimeb58e6d22014-01-15 20:16:17 +000033 <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 </resources>
47
48 <variables>
49 <variable name="col1_x" value="6" />
50 <variable name="col2_x" value="126" />
masteroftimeb58e6d22014-01-15 20:16:17 +000051 <variable name="col_center_x" value="62" />
52 <variable name="col_center_medium_x" value="122" />
53 <variable name="center_x" value="120" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -050054 <variable name="row1_home_y" value="40" />
55 <variable name="row2_home_y" value="80" />
56 <variable name="row3_home_y" value="120" />
57 <variable name="row4_home_y" value="160" />
58 <variable name="row1_y" value="20" />
59 <variable name="row2_y" value="65" />
60 <variable name="row3_y" value="110" />
61 <variable name="row4_y" value="155" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -050062 <variable name="row_queue_y" value="134" />
63 <variable name="row1_header_y" value="0" />
64 <variable name="row1_text_y" value="16" />
65 <variable name="row2_text_y" value="32" />
66 <variable name="row3_text_y" value="48" />
67 <variable name="row4_text_y" value="64" />
68 <variable name="row5_text_y" value="80" />
69 <variable name="row6_text_y" value="96" />
70 <variable name="row7_text_y" value="112" />
71 <variable name="row8_text_y" value="128" />
72 <variable name="row9_text_y" value="144" />
73 <variable name="row10_text_y" value="160" />
74 <variable name="row11_text_y" value="176" />
75 <variable name="row12_text_y" value="192" />
76 <variable name="row13_text_y" value="208" />
77 <variable name="zip_status_y" value="224" />
Ethan Yonker96af84a2015-01-05 14:58:36 -060078 <variable name="flash_list_height" value="120" />
masteroftimeb58e6d22014-01-15 20:16:17 +000079 <variable name="backup_text_y" value="60" />
masteroftimeb58e6d22014-01-15 20:16:17 +000080 <variable name="tz_set_y" value="200" />
81 <variable name="tz_current_y" value="184" />
82 <variable name="col_progressbar_x" value="25" />
83 <variable name="row_progressbar_y" value="200" />
84 <variable name="col1_medium_x" value="6" />
85 <variable name="col2_medium_x" value="70" />
86 <variable name="col3_medium_x" value="134" />
87 <variable name="col4_medium_x" value="198" />
88 <variable name="row1_medium_y" value="24" />
89 <variable name="row2_medium_y" value="40" />
90 <variable name="row3_medium_y" value="56" />
91 <variable name="row4_medium_y" value="72" />
92 <variable name="row5_medium_y" value="88" />
93 <variable name="row6_medium_y" value="104" />
94 <variable name="row7_medium_y" value="120" />
95 <variable name="slider_x" value="34" />
96 <variable name="slider_y" value="200" />
97 <variable name="slider_text_y" value="218" />
98 <variable name="button_text_color" value="#AAAAAA" />
99 <variable name="text_color" value="#FFFFFF" />
100 <variable name="text_success_color" value="#33B5E5" />
101 <variable name="text_fail_color" value="#FF0101" />
102 <variable name="highlight_color" value="#90909080" />
Dees Troy54a69f42014-03-06 14:22:28 +0000103 <variable name="caps_highlight_color" value="#33B5E580" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000104 <variable name="home_button_x" value="3" />
105 <variable name="home_button_y" value="220" />
106 <variable name="back_button_x" value="209" />
107 <variable name="back_button_y" value="220" />
108 <variable name="sort_text_x" value="8" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500109 <variable name="sort_asc_text_y" value="174" />
110 <variable name="sort_asc_button_y" value="173" />
111 <variable name="sort_desc_text_y" value="198" />
112 <variable name="sort_desc_button_y" value="197" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000113 <variable name="sort_col1_button_x" value="120" />
114 <variable name="sort_col2_button_x" value="160" />
115 <variable name="sort_col3_button_x" value="200" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500116 <variable name="input_width" value="228" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000117 <variable name="input_width_conf" value="10" />
118 <variable name="input_height" value="18" />
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="240" />
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" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000128 <variable name="console_background" value="#303030" />
129 <variable name="console_scroll" value="#303030" />
130 <variable name="console_action_height" value="120" />
131 <variable name="console_install_height" value="120" />
132 <variable name="console_installdone_height" value="120" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500133 <variable name="fileselector_x" value="0" />
134 <variable name="fileselector_y" value="38" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000135 <variable name="fileselector_width" value="240" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500136 <variable name="fileselector_install_height" value="132" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000137 <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="2" />
141 <variable name="fileselector_separatorcolor" value="#505050" />
142 <variable name="fileselector_separatorheight" value="1" />
143 <variable name="fileselector_background" value="#303030" />
144 <variable name="fileselector_highlight_color" value="#505050" />
145 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
146 <variable name="fileselector_spacing" value="12" />
147 <variable name="fastscroll_linecolor" value="#808080" />
148 <variable name="fastscroll_rectcolor" value="#808080" />
149 <variable name="fastscroll_w" value="32" />
150 <variable name="fastscroll_linew" value="1" />
151 <variable name="fastscroll_rectw" value="18" />
152 <variable name="fastscroll_recth" value="31" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500153 <variable name="listbox_x" value="0" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000154 <variable name="listbox_width" value="240" />
155 <variable name="listbox_tz_height" value="114" />
156 <variable name="listbox_background" value="#303030" />
157 <variable name="listbox_spacing" value="12" />
158 <variable name="sd_plus_x" value="174" />
159 <variable name="sdext_text_x" value="56" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500160 <variable name="sdext_text_y" value="18" />
161 <variable name="sdswap_button_y" value="45" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000162 <variable name="sdswap_text_x" value="56" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500163 <variable name="sdswap_text_y" value="47" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000164 <variable name="sdfilesystem_text_y" value="92" />
165 <variable name="sdfilesystem_button_y" value="120" />
166 <variable name="lock_x" value="72" />
167 <variable name="lock_y" value="46" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500168 <variable name="filemanager_select_x" value="98" />
169 <variable name="filemanager_select_y" value="210" />
170 <variable name="terminal_console_height" value="71" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000171 <variable name="terminal_text_y" value="72" />
172 <variable name="terminal_button_y" value="220" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500173 <variable name="row_dst_text_y" value="116" />
174 <variable name="row_offset_text_y" value="132" />
175 <variable name="row_offset_medium_y" value="148" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000176 <variable name="button_fill_color" value="#303030" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500177 <variable name="button_fill_full_width" value="228" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000178 <variable name="button_fill_main_width" value="110" />
179 <variable name="button_fill_med_width" value="72" />
180 <variable name="button_fill_small_width" value="24" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500181 <variable name="button_fill_main_height" value="38" />
182 <variable name="button_fill_half_height" value="19" />
183 <variable name="button_fill_quarter_height" value="19" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000184 <variable name="button_refresh_x" value="152" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500185 <variable name="backup_list_y" value="26" />
186 <variable name="backup_list_height" value="129" />
187 <variable name="restore_list_height" value="155" />
188 <variable name="backup_button_row1" value="159" />
189 <variable name="backup_button_row2" value="180" />
190 <variable name="mount_list_height" value="146" />
191 <variable name="mount_storage_row" value="195" />
192 <variable name="storage_list_height" value="134" />
193 <variable name="wipe_list_height" value="170" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000194 <variable name="wipe_button_y" value="136" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500195 <variable name="slidervalue_w" value="228" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000196 <variable name="slidervalue_line_clr" value="#FFFFFF" />
197 <variable name="slidervalue_slider_clr" value="#33B5E5" />
198 <variable name="slidervalue_lineh" value="1" />
199 <variable name="slidervalue_padding" value="8" />
200 <variable name="slidervalue_sliderw" value="4" />
201 <variable name="slidervalue_sliderh" value="20" />
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500202 <variable name="wipe_button_row1" value="180" />
203 <variable name="invalid_partition_y" value="167" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000204 </variables>
205
206 <templates>
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500207 <template name="twrpheader">
masteroftimeb58e6d22014-01-15 20:16:17 +0000208 <object type="image">
209 <image resource="top_bar" />
210 <placement x="0" y="0" />
211 </object>
212
213 <object type="text" color="%text_color%">
214 <font resource="font" />
Jenkins1710bf22014-10-02 20:22:21 -0400215 <placement x="1" y="3" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000216 <text>TWRP v%tw_version%</text>
217 </object>
218
219 <object type="text" color="%text_fail_color%">
220 <condition var1="tw_simulate_actions" var2="1" />
221 <font resource="font" />
222 <placement x="3" y="21" />
223 <text>SIMULATION</text>
224 </object>
225
226 <object type="text" color="%text_color%">
227 <font resource="font" />
Jenkins1710bf22014-10-02 20:22:21 -0400228 <placement x="89" y="3" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000229 <text>%tw_time%</text>
230 </object>
231
232 <object type="text" color="%text_color%">
233 <font resource="font" />
Ethan Yonkere2b29022014-07-30 09:32:59 -0500234 <placement x="236" y="3" placement="1" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000235 <conditions>
236 <condition var1="tw_no_battery_percent" var2="0" />
237 <condition var1="tw_battery" op=">" var2="0" />
238 <condition var1="tw_battery" op="<" var2="101" />
239 </conditions>
240 <text>%tw_battery%</text>
241 </object>
Jenkins1710bf22014-10-02 20:22:21 -0400242
243 <object type="text" color="%text_color%">
244 <font resource="font" />
245 <placement x="145" y="3" />
246 <conditions>
247 <condition var1="tw_no_cpu_temp" var2="0" />
248 </conditions>
249 <text>%tw_cpu_temp% C</text>
250 </object>
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500251 </template>
252
253 <template name="header">
254 <background color="#000000FF" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000255
256 <object type="button">
257 <placement x="%home_button_x%" y="%home_button_y%" />
258 <font resource="font" color="%button_text_color%" />
259 <text></text>
260 <image resource="home_icon" />
261 <condition var1="tw_busy" var2="0" />
262 <action function="key">home</action>
263 </object>
264
265 <object type="button">
266 <placement x="%back_button_x%" y="%back_button_y%" />
267 <font resource="font" color="%button_text_color%" />
268 <text></text>
269 <image resource="back_icon" />
270 <condition var1="tw_busy" var2="0" />
271 <action function="key">back</action>
272 </object>
273
274 <object type="action">
275 <touch key="power" />
Vojtech Bocek8360a342015-01-07 20:40:56 +0100276 <action function="key">back</action>
masteroftimeb58e6d22014-01-15 20:16:17 +0000277 </object>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100278
279 <object type="action">
280 <touch key="power+voldown" />
281 <action function="screenshot" />
282 </object>
masteroftimeb58e6d22014-01-15 20:16:17 +0000283 </template>
284
285 <template name="progress_bar">
286 <object type="progressbar">
287 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500288 <resource empty="progress_empty" full="progress_full" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000289 <data name="ui_progress" />
290 </object>
291
292 <object type="animation">
293 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
294 <resource name="progress" />
295 <speed fps="15" render="2" />
296 <loop frame="1" />
297 </object>
298 </template>
299
300 <template name="action_page_console">
301 <object type="console">
302 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
303 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
304 <font resource="fixed" />
305 </object>
306 </template>
307
308 <template name="sort_options">
309 <object type="text" color="%text_color%">
310 <font resource="mediumfont" />
311 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
312 <text>Sort Ascending:</text>
313 </object>
314
315 <object type="button">
316 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
317 <font resource="mediumfont" color="%button_text_color%" />
318 <text>Name</text>
319 <image resource="sort_button" />
320 <action function="set">tw_gui_sort_order=1</action>
321 </object>
322
323 <object type="button">
324 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
325 <font resource="mediumfont" color="%button_text_color%" />
326 <text>Date</text>
327 <image resource="sort_button" />
328 <action function="set">tw_gui_sort_order=2</action>
329 </object>
330
331 <object type="button">
332 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
333 <font resource="mediumfont" color="%button_text_color%" />
334 <text>Size</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=3</action>
337 </object>
338
339 <object type="text" color="%text_color%">
340 <font resource="mediumfont" />
341 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
342 <text>Sort Descending:</text>
343 </object>
344
345 <object type="button">
346 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
347 <font resource="mediumfont" 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 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
355 <font resource="mediumfont" color="%button_text_color%" />
356 <text>Date</text>
357 <image resource="sort_button" />
358 <action function="set">tw_gui_sort_order=-2</action>
359 </object>
360
361 <object type="button">
362 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
363 <font resource="mediumfont" color="%button_text_color%" />
364 <text>Size</text>
365 <image resource="sort_button" />
366 <action function="set">tw_gui_sort_order=-3</action>
367 </object>
368 </template>
369
370 <template name="footer">
371 <object type="console">
Ethan Yonkerc49a3662014-07-29 11:40:07 -0500372 <slideout resource="slideout" x="97" y="220" />
373 <placement x="%console_x%" y="0" w="%console_width%" h="220" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000374 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
375 <font resource="fixed" />
376 </object>
377 </template>
378
379 <template name="keyboardtemplate">
380 <object type="keyboard">
381 <placement x="0" y="90" />
382 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
383 <highlight color="%highlight_color%" />
Dees Troy54a69f42014-03-06 14:22:28 +0000384 <capshighlight color="%caps_highlight_color%" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000385 <layout1>
386 <keysize height="32" width="24" />
387 <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" />
388 <row2 key01="36:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="36:l" />
389 <row3 key01="36:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="36:c:8" />
390 <row4 key01="36:layout3" key02="24:" key03="120: " key04="24:." key05="36:a:action" />
391 </layout1>
392 <layout2>
Dees Troy54a69f42014-03-06 14:22:28 +0000393 <keysize height="32" width="24" capslock="0" revert_layout="1" />
masteroftimeb58e6d22014-01-15 20:16:17 +0000394 <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" />
395 <row2 key01="36:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="36:L" />
396 <row3 key01="36:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="36:c:8" />
397 <row4 key01="36:layout3" key02="32:" key03="120: " key04="32:." key05="36:action" />
398 </layout2>
399 <layout3>
400 <keysize height="32" width="24" />
401 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
402 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
403 <row3 key01="36:layout4" key02="!" key03="24:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="36:c:8" />
404 <row4 key01="36:layout1" key02="24:," key03="120: " key04="24:." key05="36:action" />
405 </layout3>
406 <layout4>
407 <keysize height="32" width="24" />
408 <row1 key01="~" key02="`" key03="|" key04="24:" key05="24:" key06="24:" key07="%" key08="24:" key09="{" key10="}" />
409 <row2 key01="24:" key02="24:" key03="24:" key04="24:" key05="24:" key06="^" key07="_" key08="=" key09="[" key10="]" />
410 <row3 key01="36:layout3" key02="24:" key03="24:" key04="24:" key05="24:" key06="\" key07="<" key08=">" key09="36:c:8" />
411 <row4 key01="36:layout1" key02="24:c:34" key03="120: " key04="24:." key05="36:action" />
412 </layout4>
413 </object>
414 </template>
415 </templates>
masteroftimeb58e6d22014-01-15 20:16:17 +0000416</recovery>