blob: 850a32f01c5bfb13b5fb7deb9e5accf4d66b8d06 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="320" height="320" />
6 <roundscreen offset_x="40" offset_y="40" />
7 <author>TeamWin</author>
8 <title>Backup Naowz</title>
9 <description>Default basic theme</description>
10 <preview>preview.jpg</preview>
11 </details>
12
13 <include>
14 <xmlfile name="watch.xml" />
15 </include>
16
17 <resources>
18 <resource name="font_l" type="font" filename="RobotoCondensed-Regular.ttf" size="24" />
19 <resource name="font_m" type="font" filename="RobotoCondensed-Regular.ttf" size="14" />
20 <resource name="font_s" type="font" filename="RobotoCondensed-Regular.ttf" size="12" />
21 <resource name="fixed" type="font" filename="DroidSansMono.ttf" size="14" />
22
23 <resource name="keylabel" type="font" filename="RobotoCondensed-Regular.ttf" size="18" />
24 <resource name="keylabel-small" type="font" filename="RobotoCondensed-Regular.ttf" size="14" />
25 <resource name="keylabel-longpress" type="font" filename="RobotoCondensed-Regular.ttf" size="12" />
26
27 <resource name="main_button" type="image" filename="main_button" />
28 <resource name="main_button_half_height" type="image" filename="main_button_half_height" />
29 <resource name="main_button_full_width" type="image" filename="main_button_full_width" />
30 <resource name="main_button_quarter_width" type="image" filename="main_button_quarter_width" />
31 <resource name="q_btn_arrow_right" type="image" filename="q_btn_arrow_right" retainaspect="1" />
32 <resource name="q_btn_arrow_left" type="image" filename="q_btn_arrow_left" retainaspect="1" />
33 <resource name="q_btn_storage" type="image" filename="q_btn_storage" retainaspect="1" />
34 <resource name="q_btn_refresh" type="image" filename="q_btn_refresh" retainaspect="1" />
35 <resource name="q_btn_accept" type="image" filename="q_btn_accept" retainaspect="1" />
36 <resource name="q_btn_accept_transp" type="image" filename="q_btn_accept_transp" retainaspect="1" />
37 <resource name="q_btn_addzip" type="image" filename="q_btn_addzip" retainaspect="1" />
38 <resource name="q_btn_encryption_dis" type="image" filename="q_btn_encryption_dis" retainaspect="1" />
39 <resource name="q_btn_encryption_en" type="image" filename="q_btn_encryption_en" retainaspect="1" />
40 <resource name="q_btn_delete" type="image" filename="q_btn_delete" retainaspect="1" />
41 <resource name="q_btn_reset" type="image" filename="q_btn_reset" retainaspect="1" />
42 <resource name="q_btn_folder" type="image" filename="q_btn_folder" retainaspect="1" />
43 <resource name="file" type="image" filename="file" retainaspect="1" />
44 <resource name="folder" type="image" filename="folder" retainaspect="1" />
45 <resource name="unlock_icon" type="image" filename="unlock_icon" retainaspect="1" />
46 <resource name="home" type="image" filename="home" retainaspect="1" />
47 <resource name="back" type="image" filename="back" retainaspect="1" />
48 <resource name="console" type="image" filename="console" retainaspect="1" />
Aleksa Saraib25a1832015-12-31 17:36:00 +010049 <resource name="grid_less" type="image" filename="grid_less" retainaspect="1" />
50 <resource name="grid_more" type="image" filename="grid_more" retainaspect="1" />
z31s1g28f0a922015-11-07 18:50:22 +010051 <resource name="checkbox_false" type="image" filename="checkbox_false" retainaspect="1" />
52 <resource name="checkbox_false_small" type="image" filename="checkbox_false_small" retainaspect="1" />
53 <resource name="checkbox_true" type="image" filename="checkbox_true" retainaspect="1" />
54 <resource name="checkbox_true_small" type="image" filename="checkbox_true_small" retainaspect="1" />
55 <resource name="radio_false" type="image" filename="radio_false" retainaspect="1" />
56 <resource name="radio_true" type="image" filename="radio_true" retainaspect="1" />
57 <resource name="progress" type="animation" filename="indeterminate" />
58 <resource name="progress_empty" type="image" filename="progress_empty" />
59 <resource name="progress_full" type="image" filename="progress_fill" />
60 <resource name="slider" type="image" filename="slider" />
61 <resource name="slider_used" type="image" filename="slider_used" />
62 <resource name="slider_touch" type="image" filename="slider_touch" />
63 <resource name="handle" type="image" filename="handle" />
64 <resource name="backspace" type="image" filename="backspace" retainaspect="1" />
65 <resource name="enter" type="image" filename="enter" retainaspect="1" />
66 <resource name="shift" type="image" filename="shift" retainaspect="1" />
67 <resource name="shift_fill" type="image" filename="shift_fill" retainaspect="1" />
68 <resource name="space" type="image" filename="space" retainaspect="1" />
69 <resource name="close" type="image" filename="close" retainaspect="1" />
70 </resources>
71
72 <variables>
73 <variable name="screen_width" value="320" />
74 <variable name="screen_half_width" value="160" />
75 <variable name="screen_height" value="320" />
76 <variable name="status_height" value="20" />
77 <variable name="header_height" value="20" />
78 <variable name="navbar_height" value="52" />
79 <variable name="content_width" value="304" />
80 <variable name="content_half_width" value="148" />
81 <variable name="back_button_x" value="70" />
82 <variable name="console_button_x" value="250" />
83 <variable name="indent" value="8" />
84 <variable name="col1_x_left" value="8" />
85 <variable name="col1_x_left_negative" value="156" />
86 <variable name="center_x" value="160" />
87 <variable name="col1_x_right" value="164" />
88 <variable name="indent_right" value="312" />
89 <variable name="btn4_col2_x" value="86" />
90 <variable name="btn4_col3_x" value="164" />
91 <variable name="btn4_col4_x" value="242" />
92 <variable name="row1_header_y" value="0" />
93 <variable name="row2_header_y" value="20" />
94 <variable name="row1_y" value="28" />
95 <variable name="row1a_y" value="36" />
96 <variable name="row2_y" value="44" />
97 <variable name="row2a_y" value="52" />
98 <variable name="row3_y" value="60" />
99 <variable name="row3_input_y" value="64" />
100 <variable name="row3a_y" value="68" />
101 <variable name="row4_y" value="76" />
102 <variable name="row4a_y" value="84" />
103 <variable name="row5_y" value="92" />
104 <variable name="row5a_y" value="100" />
105 <variable name="row6_y" value="108" />
106 <variable name="row6_input_y" value="112" />
107 <variable name="row6a_y" value="116" />
108 <variable name="row6a_input_y" value="120" />
109 <variable name="row7_y" value="124" />
110 <variable name="row7a_y" value="132" />
111 <variable name="row8_y" value="140" />
112 <variable name="row8a_y" value="148" />
113 <variable name="row9_y" value="156" />
114 <variable name="row9a_y" value="164" />
115 <variable name="row10_y" value="172" />
116 <variable name="row10a_y" value="180" />
117 <variable name="row11_y" value="188" />
118 <variable name="row11a_y" value="196" />
119 <variable name="row12_y" value="204" />
120 <variable name="row12a_y" value="212" />
121 <variable name="row13_y" value="220" />
122 <variable name="slider_y" value="224" />
123 <variable name="row13a_y" value="228" />
124 <variable name="row14_y" value="236" />
125 <variable name="row14a_y" value="244" />
126 <variable name="row15_y" value="252" />
127 <variable name="row15a_y" value="260" />
128 <variable name="navbar_y" value="268" />
129 <variable name="navbar_btn_y" value="294" />
130 <variable name="keyboard_y" value="124" />
131 <variable name="background_color" value="#1A1A1A" />
132 <variable name="accent_color" value="#0090CA" />
133 <variable name="text_color" value="#EEEEEE" />
134 <variable name="text_button_color" value="#EEEEEE" />
135 <variable name="text_success_color" value="#76FF03" />
136 <variable name="text_fail_color" value="#FF0101" />
137 <variable name="highlight_color" value="#1A1A1A80" />
138 <variable name="caps_highlight_color" value="#22222280" />
139 <variable name="transparent" value="#00000000" />
140 <variable name="semi_transparent" value="#00000099" />
141 <variable name="warning" value="#F8F8A0" />
142 <variable name="error" value="#FF0101" />
143 <variable name="highlight" value="#0090CA" />
144 <variable name="fileselector_linecolor" value="#555555" />
145 <variable name="fileselector_highlight_color" value="#555555" />
146 <variable name="fileselector_separatorheight" value="1" />
147 <variable name="fileselector_spacing" value="0" />
148 <variable name="fileselector_install_height" value="248" />
149 <variable name="fileselector_filemanager_height" value="248" />
150 <variable name="partitionlist_spacing" value="0" />
151 <variable name="partitionlist_storage_height" value="160" />
152 <variable name="partitionlist_wipe_height" value="160" />
153 <variable name="listbox_timezone_height" value="248" />
154 <variable name="listbox_settings_height" value="248" />
155 <variable name="fastscroll_w" value="10" />
156 <variable name="fastscroll_linew" value="1" />
157 <variable name="fastscroll_rectw" value="10" />
158 <variable name="fastscroll_recth" value="18" />
159 <variable name="slidervalue_lineh" value="4" />
160 <variable name="slidervalue_padding" value="0" />
161 <variable name="slidervalue_sliderw" value="70" />
162 <variable name="slidervalue_sliderh" value="72" />
163 <variable name="slideout_height" value="232" />
164 <variable name="slideout_bg_height" value="248" />
165 <variable name="input_height" value="16" />
166 <variable name="input_line_width" value="1" />
167 <variable name="input_line_console" value="272" />
168 <variable name="console_height" value="152" />
169 <variable name="console_terminal_height" value="64" />
170 <variable name="close_btn_x" value="280" />
171 <variable name="pattern_x" value="60" />
Aleksa Saraib25a1832015-12-31 17:36:00 +0100172 <variable name="pattern_dot_dia" value="12" />
173 <variable name="pattern_line_w" value="4" />
z31s1g28f0a922015-11-07 18:50:22 +0100174 <variable name="pattern_size" value="200" />
175 </variables>
176
177 <templates>
178 <template name="statusbar">
179 <object type="fill" color="%accent_color%">
180 <placement x="0" y="0" w="%screen_width%" h="%header_height%" />
181 </object>
182
183 <object type="fill" color="%text_fail_color%">
184 <condition var1="tw_simulate_actions" var2="1" />
185 <placement x="0" y="0" w="%screen_width%" h="%status_height%" />
186 </object>
187 </template>
188
189 <template name="page">
190 <background color="%background_color%" />
191
192 <object type="template" name="statusbar" />
193
194 <object type="text" color="%text_color%">
195 <condition var1="tw_no_cpu_temp" var2="1" />
196 <font resource="font_m" />
197 <placement x="%indent%" y="%row1_header_y%" />
Ethan Yonker74db1572015-10-28 12:44:49 -0500198 <text>{@twrp_watch_header=TWRP %tw_version%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100199 </object>
200
201 <object type="text" color="%text_color%">
202 <condition var1="tw_no_cpu_temp" var2="0" />
203 <font resource="font_m" />
204 <placement x="%indent%" y="%row1_header_y%" />
Ethan Yonker74db1572015-10-28 12:44:49 -0500205 <text>{@cpu_temp=CPU: %tw_cpu_temp% &#xB0;C}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100206 </object>
207
208 <object type="text" color="%text_color%">
209 <font resource="font_m" />
210 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
211 <text>%tw_time%</text>
212 </object>
213
214 <object type="text" color="%text_color%">
215 <conditions>
216 <condition var1="tw_no_battery_percent" var2="0" />
217 <condition var1="tw_battery" op="&gt;" var2="0" />
218 <condition var1="tw_battery" op="&lt;" var2="101" />
219 </conditions>
220 <font resource="font_m" />
221 <placement x="%indent_right%" y="%row1_header_y%" placement="1" />
Ethan Yonker74db1572015-10-28 12:44:49 -0500222 <text>{@battery_pct=Battery: %tw_battery%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100223 </object>
224
225 <object type="fill" color="#000000">
226 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
227 </object>
228
229 <object type="button">
230 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
231 <image resource="back" />
232 <condition var1="tw_busy" var2="0" />
233 <action function="key">back</action>
234 </object>
235
236 <object type="button">
237 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
238 <image resource="home" />
239 <condition var1="tw_busy" var2="0" />
240 <action function="key">home</action>
241 </object>
242
243 <object type="button">
244 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
245 <image resource="console" />
246 <condition var1="tw_busy" var2="0" />
247 <action function="overlay">slideout</action>
248 </object>
249
250 <object type="action">
251 <touch key="power" />
252 <action function="overlay">lock</action>
253 </object>
254
255 <object type="action">
256 <touch key="power+voldown" />
257 <action function="screenshot" />
258 </object>
259 </template>
260
261 <template name="progress_bar">
262 <object type="progressbar">
263 <placement x="%indent%" y="%row11_y%" />
264 <resource empty="progress_empty" full="progress_full" />
265 <data name="ui_progress" />
266 </object>
267
268 <object type="animation">
269 <placement x="%indent%" y="%row11_y%" />
270 <resource name="progress" />
271 <speed fps="24" render="2" />
272 <loop frame="1" />
273 </object>
274 </template>
275
276 <template name="console">
277 <object type="console">
278 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%console_height%" />
279 </object>
280
281 <object type="fill" color="%fileselector_linecolor%">
282 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1" />
283 </object>
284
285 <object type="fill" color="%fileselector_linecolor%">
286 <placement x="%indent%" y="row10a_y" w="%content_width%" h="input_line_width" />
287 </object>
288 </template>
289
290 <template name="console_terminal">
291 <object type="console">
292 <placement x="%indent%" y="%row1_y%" w="content_width" h="%console_terminal_height%" />
293 </object>
294
295 <object type="fill" color="%fileselector_linecolor%">
296 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1" />
297 </object>
298
299 <object type="fill" color="%fileselector_linecolor%">
300 <placement x="%indent%" y="row5_y" w="%content_width%" h="input_line_width" />
301 </object>
302 </template>
303
304 <template name="keyboardtemplate">
305 <object type="keyboard">
306 <placement x="0" y="%keyboard_y%" w="320" h="144" />
307 <keymargin x="2" y="2"/>
308 <background color="#111111"/>
309 <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>
310 <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>
311 <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="0" y="0"/>
312 <keylabel key="0:c:8" text="Bksp" resource="backspace"/>
313 <keylabel key="0:action" text="Enter" resource="enter"/>
314 <keylabel key=" " text="Space" resource="space"/>
315 <highlight color="%highlight_color%" />
316 <capshighlight color="%highlight_color%" />
317 <layout1>
318 <keysize height="36" width="32" />
319 <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" />
320 <row2 key01="16:" key02="a" long02="@" key03="s" long03="#" key04="d" long04="$" key05="f" long05="%" key06="g" long06="&amp;" key07="h" long07="*" key08="j" long08="-" key09="k" long09="+" key10="l" long10="_" key11="16:" />
321 <row3 key01="48:layout2" key02="z" long02="!" key03="x" long03='"' key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="48:c:8" />
322 <row4 key01="48:layout3" key02="/" key03="160: " key04="." key05="48:action" />
323 <keylabel key="0:layout2" text="Shift" resource="shift"/>
324 <keylabel key="0:layout3" text="?123"/>
325 </layout1>
326 <layout2>
327 <keysize height="36" width="32" capslock="0" revert_layout="1"/>
328 <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" />
329 <row2 key01="16:" key02="A" long02="@" key03="S" long03="#" key04="D" long04="$" key05="F" long05="%" key06="G" long06="&amp;" key07="H" long07="*" key08="J" long08="-" key09="K" long09="+" key10="L" long10="_" key11="16:" />
330 <row3 key01="48:layout1" key02="Z" long02="!" key03="X" long03='"' key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="48:c:8" />
331 <row4 key01="48:layout3" key02="/" key03="160: " key04="." key05="48:action" />
332 <keylabel key="0:layout1" text="Shift" resource="shift_fill"/>
333 <keylabel key="0:layout3" text="?123"/>
334 </layout2>
335 <layout3>
336 <keysize height="36" width="32" />
337 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
338 <row2 key01="@" key02="#" key03="$" key04="%" key05="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")" />
339 <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" />
340 <row4 key01="48:layout1" key02="," key03="160: " key04="." key05="48:action" />
341 <keylabel key="0:layout1" text="ABC"/>
342 <keylabel key="0:layout4" text="~\{"/>
343 </layout3>
344 <layout4>
345 <keysize height="36" width="32" />
346 <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" />
347 <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" />
348 <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="&lt;" key08="&gt;" key09="48:c:8" />
349 <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="." key05="48:action" />
350 <keylabel key="0:layout1" text="ABC"/>
351 <keylabel key="0:layout3" text="?123"/>
352 </layout4>
353 </object>
354 </template>
355 </templates>
356</recovery>