blob: 18385ad23ac2f0d2e392dd83c87261a29f818c1a [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
z31s1g28f0a922015-11-07 18:50:22 +01002<recovery>
3 <details>
z31s1g56189522016-01-13 19:12:40 +01004 <resolution width="1080" height="1920"/>
z31s1g28f0a922015-11-07 18:50:22 +01005 <author>TeamWin</author>
6 <title>Backup Naowz</title>
7 <description>Default basic theme</description>
8 <preview>preview.jpg</preview>
Ethan Yonker1308d532016-01-14 22:21:49 -06009 <themeversion>1</themeversion>
z31s1g28f0a922015-11-07 18:50:22 +010010 </details>
11
12 <include>
z31s1g56189522016-01-13 19:12:40 +010013 <xmlfile name="portrait.xml"/>
z31s1g28f0a922015-11-07 18:50:22 +010014 </include>
15
16 <resources>
z31s1g56189522016-01-13 19:12:40 +010017 <font name="font_l" filename="RobotoCondensed-Regular.ttf" size="54"/>
18 <font name="font_m" filename="RobotoCondensed-Regular.ttf" size="42"/>
19 <font name="font_s" filename="RobotoCondensed-Regular.ttf" size="36"/>
20 <font name="fixed" filename="DroidSansMono.ttf" size="30"/>
z31s1g28f0a922015-11-07 18:50:22 +010021
z31s1g56189522016-01-13 19:12:40 +010022 <font name="keylabel" filename="RobotoCondensed-Regular.ttf" size="64"/>
23 <font name="keylabel-small" filename="RobotoCondensed-Regular.ttf" size="46"/>
24 <font name="keylabel-longpress" filename="RobotoCondensed-Regular.ttf" size="32"/>
z31s1g28f0a922015-11-07 18:50:22 +010025
z31s1g56189522016-01-13 19:12:40 +010026 <image name="logo" filename="logo" retainaspect="1"/>
27 <image name="main_button" filename="main_button"/>
28 <image name="main_button_half_height" filename="main_button_half_height"/>
29 <image name="main_button_half_height_full_width" filename="main_button_half_height_full_width"/>
30 <image name="fab_selectfolder" filename="fab_selectfolder" retainaspect="1"/>
31 <image name="tab_3" filename="tab_3"/>
32 <image name="tab_4" filename="tab_4"/>
33 <image name="file" filename="file" retainaspect="1"/>
34 <image name="folder" filename="folder" retainaspect="1"/>
35 <image name="unlock_icon" filename="unlock_icon" retainaspect="1"/>
36 <image name="home" filename="home" retainaspect="1"/>
37 <image name="back" filename="back" retainaspect="1"/>
38 <image name="console" filename="console" retainaspect="1"/>
39 <image name="kb_hide" filename="kb_hide" retainaspect="1"/>
40 <image name="kb_show" filename="kb_show" retainaspect="1"/>
41 <image name="checkbox_false" filename="checkbox_false" retainaspect="1"/>
42 <image name="checkbox_true" filename="checkbox_true" retainaspect="1"/>
43 <image name="radio_false" filename="radio_false" retainaspect="1"/>
44 <image name="radio_true" filename="radio_true" retainaspect="1"/>
45 <image name="sort_asc" filename="sort_asc"/>
46 <image name="sort_desc" filename="sort_desc"/>
47 <image name="sort_empty" filename="sort_empty"/>
48 <animation name="progress" filename="indeterminate"/>
49 <image name="progress_empty" filename="progress_empty"/>
50 <image name="progress_full" filename="progress_fill"/>
51 <image name="slider" filename="slider"/>
52 <image name="slider_used" filename="slider_used"/>
53 <image name="slider_touch" filename="slider_touch"/>
54 <image name="handle" filename="handle"/>
55 <image name="cursor" filename="cursor" retainaspect="1"/>
z31s1g56a7a992016-01-23 17:06:40 +010056 <image name="tab_general" filename="tab_general" retainaspect="1"/>
57 <image name="tab_timezone" filename="tab_timezone" retainaspect="1"/>
58 <image name="tab_display" filename="tab_display" retainaspect="1"/>
59 <image name="tab_vibration" filename="tab_vibration" retainaspect="1"/>
60 <image name="tab_language" filename="tab_language" retainaspect="1"/>
z31s1g28f0a922015-11-07 18:50:22 +010061
z31s1g56189522016-01-13 19:12:40 +010062 <image name="backspace" filename="backspace" retainaspect="1"/>
63 <image name="enter" filename="enter" retainaspect="1"/>
64 <image name="shift" filename="shift" retainaspect="1"/>
65 <image name="shift_fill" filename="shift_fill" retainaspect="1"/>
66 <image name="space" filename="space" retainaspect="1"/>
67 <image name="kb_arrow_left" filename="kb_arrow_left" retainaspect="1"/>
68 <image name="kb_arrow_right" filename="kb_arrow_right" retainaspect="1"/>
69 <image name="kb_arrow_up" filename="kb_arrow_up" retainaspect="1"/>
70 <image name="kb_arrow_down" filename="kb_arrow_down" retainaspect="1"/>
z31s1g28f0a922015-11-07 18:50:22 +010071 </resources>
72
73 <variables>
z31s1g56189522016-01-13 19:12:40 +010074 <variable name="tw_samsung_navbar" value="0" persist="1"/>
z31s1g28f0a922015-11-07 18:50:22 +010075
z31s1gfaa43772016-01-18 09:57:05 -060076 <variable name="tw_hide_kb" value="0"/>
z31s1g56189522016-01-13 19:12:40 +010077 <variable name="screen_width" value="1080"/>
78 <variable name="screen_height" value="1920"/>
79 <variable name="status_height" value="72"/>
80 <variable name="header_height" value="256"/>
81 <variable name="navbar_height" value="130"/>
82 <variable name="content_width" value="1008"/>
83 <variable name="content_overlay_width" value="936"/>
84 <variable name="dialog_height" value="704"/>
85 <variable name="back_button_x" value="240"/>
86 <variable name="console_button_x" value="840"/>
87 <variable name="indent" value="36"/>
88 <variable name="col1_x_left" value="72"/>
89 <variable name="col1_x_header" value="184"/>
90 <variable name="center_x" value="540"/>
91 <variable name="col1_x_right" value="576"/>
92 <variable name="indent_right" value="1044"/>
93 <variable name="tab_height" value="96"/>
94 <variable name="tab_indicator_height" value="6"/>
z31s1g56a7a992016-01-23 17:06:40 +010095 <variable name="tab_y" value="304"/>
z31s1g56189522016-01-13 19:12:40 +010096 <variable name="tab3_width" value="360"/>
97 <variable name="tab4_width" value="270"/>
98 <variable name="tab5_width" value="216"/>
99 <variable name="tab3_col2_x" value="360"/>
100 <variable name="tab3_col3_x" value="720"/>
101 <variable name="tab4_col2_x" value="270"/>
102 <variable name="tab4_col4_x" value="810"/>
103 <variable name="tab5_col2_x" value="216"/>
104 <variable name="tab5_col3_x" value="432"/>
105 <variable name="tab5_col4_x" value="648"/>
106 <variable name="tab5_col5_x" value="864"/>
z31s1g56a7a992016-01-23 17:06:40 +0100107 <variable name="tab5_centered_col1_x" value="108"/>
108 <variable name="tab5_centered_col2_x" value="324"/>
109 <variable name="tab5_centered_col4_x" value="756"/>
110 <variable name="tab5_centered_col5_x" value="972"/>
z31s1g56189522016-01-13 19:12:40 +0100111 <variable name="btn3_col2_x" value="384"/>
112 <variable name="btn3_col3_x" value="732"/>
113 <variable name="btn4_col2_x" value="297"/>
114 <variable name="btn4_col3_x" value="558"/>
115 <variable name="btn4_col4_x" value="819"/>
116 <variable name="row1_header_y" value="4"/>
117 <variable name="row2_header_y" value="72"/>
118 <variable name="row3_header_y" value="90"/>
119 <variable name="row4_header_y" value="168"/>
120 <variable name="row1_y" value="256"/>
121 <variable name="row1a_y" value="288"/>
122 <variable name="row2_y" value="320"/>
123 <variable name="row2a_y" value="352"/>
124 <variable name="row_tab_y" value="346"/>
125 <variable name="row2_input_y" value="381"/>
126 <variable name="row3_y" value="384"/>
127 <variable name="row3_input_y" value="413"/>
128 <variable name="row3a_y" value="416"/>
129 <variable name="row4_y" value="448"/>
130 <variable name="row4_input_y" value="477"/>
131 <variable name="row4a_y" value="480"/>
132 <variable name="row5_y" value="512"/>
133 <variable name="row5a_y" value="544"/>
134 <variable name="row6_y" value="576"/>
135 <variable name="row6a_y" value="608"/>
136 <variable name="row7_y" value="640"/>
137 <variable name="row7a_y" value="672"/>
138 <variable name="row8_y" value="704"/>
139 <variable name="row8a_y" value="736"/>
140 <variable name="row9_y" value="768"/>
141 <variable name="row9a_y" value="800"/>
142 <variable name="row10_y" value="832"/>
143 <variable name="row10a_y" value="864"/>
144 <variable name="row11_y" value="896"/>
145 <variable name="row11a_y" value="928"/>
146 <variable name="row12_y" value="960"/>
147 <variable name="row12a_y" value="992"/>
148 <variable name="row13_y" value="1024"/>
149 <variable name="row13a_y" value="1056"/>
150 <variable name="row14_y" value="1088"/>
151 <variable name="row14a_y" value="1120"/>
152 <variable name="row15_y" value="1152"/>
153 <variable name="row15a_y" value="1184"/>
154 <variable name="row16_y" value="1216"/>
155 <variable name="row16a_y" value="1248"/>
156 <variable name="row17_y" value="1280"/>
157 <variable name="row17a_y" value="1312"/>
158 <variable name="row18_y" value="1344"/>
159 <variable name="row18a_y" value="1376"/>
160 <variable name="row19_y" value="1408"/>
161 <variable name="row19a_y" value="1440"/>
162 <variable name="row20_y" value="1472"/>
163 <variable name="row20a_y" value="1504"/>
164 <variable name="row21_y" value="1536"/>
165 <variable name="row21a_y" value="1568"/>
166 <variable name="row22_y" value="1600"/>
167 <variable name="row22a_y" value="1632"/>
168 <variable name="row23_y" value="1664"/>
169 <variable name="row23a_y" value="1696"/>
170 <variable name="row24_y" value="1728"/>
171 <variable name="row24a_y" value="1760"/>
172 <variable name="row25_y" value="1792"/>
173 <variable name="navbar_y" value="1792"/>
174 <variable name="navbar_btn_y" value="1856"/>
175 <variable name="keyboard_y" value="1149"/>
176 <variable name="keyboard_terminal_y" value="1053"/>
177 <variable name="background_color" value="#1A1A1A"/>
178 <variable name="accent_color" value="#0090CA"/>
z31s1g56a7a992016-01-23 17:06:40 +0100179 <variable name="accent_color_semitransparent" value="#0090CA30"/>
z31s1g56189522016-01-13 19:12:40 +0100180 <variable name="text_color" value="#EEEEEE"/>
181 <variable name="text_button_color" value="#EEEEEE"/>
182 <variable name="text_success_color" value="#76FF03"/>
183 <variable name="text_fail_color" value="#FF0101"/>
184 <variable name="highlight_color" value="#1A1A1A80"/>
185 <variable name="caps_highlight_color" value="#22222280"/>
186 <variable name="transparent" value="#00000000"/>
187 <variable name="semi_transparent" value="#00000099"/>
188 <variable name="warning" value="#F8F8A0"/>
189 <variable name="error" value="#FF0101"/>
190 <variable name="highlight" value="#0090CA"/>
191 <variable name="fileselector_linecolor" value="#555555"/>
192 <variable name="fileselector_highlight_color" value="#555555"/>
193 <variable name="fileselector_separatorheight" value="2"/>
194 <variable name="fileselector_spacing" value="0"/>
195 <variable name="fileselector_install_height" value="1152"/>
196 <variable name="fileselector_filemanager_height" value="1376"/>
197 <variable name="partitionlist_spacing" value="0"/>
198 <variable name="partitionlist_storage_height" value="544"/>
199 <variable name="partitionlist_flashimage_height" value="448"/>
200 <variable name="partitionlist_wipe_height" value="1088"/>
201 <variable name="partitionlist_mount_height" value="832"/>
202 <variable name="partitionlist_backup_height" value="768"/>
203 <variable name="listbox_timezone_height" value="756"/>
204 <variable name="listbox_settings_height" value="960"/>
205 <variable name="fastscroll_w" value="24"/>
206 <variable name="fastscroll_linew" value="2"/>
207 <variable name="fastscroll_rectw" value="24"/>
208 <variable name="fastscroll_recth" value="108"/>
209 <variable name="slidervalue_lineh" value="3"/>
210 <variable name="slidervalue_padding" value="0"/>
211 <variable name="slidervalue_sliderw" value="72"/>
212 <variable name="slidervalue_sliderh" value="108"/>
213 <variable name="slideout_height" value="1686"/>
214 <variable name="slideout_bg_height" value="1720"/>
215 <variable name="input_height" value="64"/>
216 <variable name="input_line_width" value="3"/>
217 <variable name="console_height" value="960"/>
218 <variable name="console_terminal_height" value="950"/>
219 <variable name="dialog_button_x" value="696"/>
220 <variable name="pattern_x" value="126"/>
221 <variable name="pattern_dot_dia" value="32"/>
222 <variable name="pattern_line_w" value="12"/>
223 <variable name="pattern_size" value="828"/>
z31s1g28f0a922015-11-07 18:50:22 +0100224 </variables>
225
226 <mousecursor>
z31s1g56189522016-01-13 19:12:40 +0100227 <placement w="15" h="15"/>
228 <background color="#FFFF00FF" resource="cursor"/>
229 <speed multiplier="2.5"/>
z31s1g28f0a922015-11-07 18:50:22 +0100230 </mousecursor>
231
232 <templates>
233 <template name="page">
z31s1g56189522016-01-13 19:12:40 +0100234 <background color="%background_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100235
z31s1g56189522016-01-13 19:12:40 +0100236 <fill color="%accent_color%">
237 <placement x="0" y="0" w="%screen_width%" h="%header_height%"/>
238 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100239
z31s1g56189522016-01-13 19:12:40 +0100240 <image>
241 <condition var1="tw_busy" var2="1"/>
242 <image resource="logo"/>
243 <placement x="0" y="0"/>
244 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100245
z31s1g56189522016-01-13 19:12:40 +0100246 <button>
247 <condition var1="tw_busy" var2="0"/>
248 <placement x="0" y="0"/>
249 <image resource="logo"/>
z31s1g28f0a922015-11-07 18:50:22 +0100250 <action function="key">home</action>
z31s1g56189522016-01-13 19:12:40 +0100251 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100252
z31s1g56189522016-01-13 19:12:40 +0100253 <fill color="#00000030">
254 <condition var1="tw_simulate_actions" var2="0"/>
255 <placement x="0" y="0" w="%screen_width%" h="%status_height%"/>
256 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100257
z31s1g56189522016-01-13 19:12:40 +0100258 <fill color="%text_fail_color%">
259 <condition var1="tw_simulate_actions" var2="1"/>
260 <placement x="0" y="0" w="%screen_width%" h="%status_height%"/>
261 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100262
z31s1g56189522016-01-13 19:12:40 +0100263 <text color="%text_color%">
264 <condition var1="tw_no_cpu_temp" var2="1"/>
265 <font resource="font_m"/>
266 <placement x="%indent%" y="%row1_header_y%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100267 <text>%tw_version%</text>
z31s1g56189522016-01-13 19:12:40 +0100268 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100269
z31s1g56189522016-01-13 19:12:40 +0100270 <text color="%text_color%">
271 <condition var1="tw_no_cpu_temp" var2="0"/>
272 <font resource="font_m"/>
273 <placement x="%indent%" y="%row1_header_y%"/>
274 <text>{@cpu_temp=CPU: %tw_cpu_temp% °C}</text>
275 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100276
z31s1g56189522016-01-13 19:12:40 +0100277 <text color="%text_color%">
278 <font resource="font_m"/>
279 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
z31s1g28f0a922015-11-07 18:50:22 +0100280 <text>%tw_time%</text>
z31s1g56189522016-01-13 19:12:40 +0100281 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100282
z31s1g56189522016-01-13 19:12:40 +0100283 <text color="%text_color%">
z31s1g28f0a922015-11-07 18:50:22 +0100284 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100285 <condition var1="tw_no_battery_percent" var2="0"/>
286 <condition var1="tw_battery" op="&gt;" var2="0"/>
287 <condition var1="tw_battery" op="&lt;" var2="101"/>
z31s1g28f0a922015-11-07 18:50:22 +0100288 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100289 <font resource="font_m"/>
290 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500291 <text>{@battery_pct=Battery: %tw_battery%}</text>
z31s1g56189522016-01-13 19:12:40 +0100292 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100293
z31s1g56189522016-01-13 19:12:40 +0100294 <fill color="#000000">
295 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
296 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100297
z31s1g56189522016-01-13 19:12:40 +0100298 <button>
299 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
300 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
301 <image resource="back"/>
302 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100303 <action function="key">back</action>
z31s1g56189522016-01-13 19:12:40 +0100304 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100305
z31s1g56189522016-01-13 19:12:40 +0100306 <button>
307 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
308 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
309 <image resource="console"/>
310 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100311 <action function="overlay">slideout</action>
z31s1g56189522016-01-13 19:12:40 +0100312 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100313
z31s1g56189522016-01-13 19:12:40 +0100314 <button>
315 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
316 <image resource="home"/>
317 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100318 <action function="key">home</action>
z31s1g56189522016-01-13 19:12:40 +0100319 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100320
z31s1g56189522016-01-13 19:12:40 +0100321 <button>
322 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
323 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
324 <image resource="console"/>
325 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100326 <action function="overlay">slideout</action>
z31s1g56189522016-01-13 19:12:40 +0100327 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100328
z31s1g56189522016-01-13 19:12:40 +0100329 <button>
330 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
331 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
332 <image resource="back"/>
333 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100334 <action function="key">back</action>
z31s1g56189522016-01-13 19:12:40 +0100335 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100336
z31s1g56189522016-01-13 19:12:40 +0100337 <action>
338 <touch key="power"/>
z31s1g28f0a922015-11-07 18:50:22 +0100339 <action function="overlay">lock</action>
z31s1g56189522016-01-13 19:12:40 +0100340 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100341
z31s1g56189522016-01-13 19:12:40 +0100342 <action>
343 <touch key="power+voldown"/>
344 <action function="screenshot"/>
345 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100346 </template>
347
348 <template name="progress_bar">
z31s1g56189522016-01-13 19:12:40 +0100349 <progressbar>
350 <placement x="%indent%" y="%row17a_y%"/>
351 <resource empty="progress_empty" full="progress_full"/>
352 <data name="ui_progress"/>
353 </progressbar>
z31s1g28f0a922015-11-07 18:50:22 +0100354
z31s1g56189522016-01-13 19:12:40 +0100355 <animation>
356 <placement x="%indent%" y="%row17a_y%"/>
357 <resource name="progress"/>
358 <speed fps="24" render="2"/>
359 <loop frame="1"/>
360 </animation>
z31s1g28f0a922015-11-07 18:50:22 +0100361 </template>
362
363 <template name="sort_options">
z31s1g56189522016-01-13 19:12:40 +0100364 <image>
365 <placement x="%indent%" y="%row1a_y%"/>
366 <image resource="tab_3"/>
367 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100368
z31s1g56189522016-01-13 19:12:40 +0100369 <image>
370 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
371 <image resource="tab_3"/>
372 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100373
z31s1g56189522016-01-13 19:12:40 +0100374 <image>
375 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
376 <image resource="tab_3"/>
377 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100378
z31s1g56189522016-01-13 19:12:40 +0100379 <button>
380 <highlight color="%highlight_color%"/>
381 <condition var1="tw_gui_sort_order" op="=" var2="1"/>
382 <placement x="%indent%" y="%row1a_y%"/>
383 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500384 <text>{@sort_by_name_only=Name}</text>
z31s1g56189522016-01-13 19:12:40 +0100385 <image resource="sort_asc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100386 <action function="set">tw_gui_sort_order=-1</action>
z31s1g56189522016-01-13 19:12:40 +0100387 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100388
z31s1g56189522016-01-13 19:12:40 +0100389 <button>
390 <highlight color="%highlight_color%"/>
391 <condition var1="tw_gui_sort_order" op="=" var2="-1"/>
392 <placement x="%indent%" y="%row1a_y%"/>
393 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500394 <text>{@sort_by_name_only=Name}</text>
z31s1g56189522016-01-13 19:12:40 +0100395 <image resource="sort_desc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100396 <action function="set">tw_gui_sort_order=1</action>
z31s1g56189522016-01-13 19:12:40 +0100397 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100398
z31s1g56189522016-01-13 19:12:40 +0100399 <button>
400 <highlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100401 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100402 <condition var1="tw_gui_sort_order" op="!=" var2="1"/>
403 <condition var1="tw_gui_sort_order" op="!=" var2="-1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100404 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100405 <placement x="%indent%" y="%row1a_y%"/>
406 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500407 <text>{@sort_by_name_only=Name}</text>
z31s1g56189522016-01-13 19:12:40 +0100408 <image resource="sort_empty"/>
z31s1g28f0a922015-11-07 18:50:22 +0100409 <action function="set">tw_gui_sort_order=1</action>
z31s1g56189522016-01-13 19:12:40 +0100410 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100411
z31s1g56189522016-01-13 19:12:40 +0100412 <button>
413 <highlight color="%highlight_color%"/>
414 <condition var1="tw_gui_sort_order" op="=" var2="2"/>
415 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
416 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@sort_by_date_only=Date}</text>
z31s1g56189522016-01-13 19:12:40 +0100418 <image resource="sort_asc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100419 <action function="set">tw_gui_sort_order=-2</action>
z31s1g56189522016-01-13 19:12:40 +0100420 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100421
z31s1g56189522016-01-13 19:12:40 +0100422 <button>
423 <highlight color="%highlight_color%"/>
424 <condition var1="tw_gui_sort_order" op="=" var2="-2"/>
425 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
426 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500427 <text>{@sort_by_date_only=Date}</text>
z31s1g56189522016-01-13 19:12:40 +0100428 <image resource="sort_desc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100429 <action function="set">tw_gui_sort_order=2</action>
z31s1g56189522016-01-13 19:12:40 +0100430 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100431
z31s1g56189522016-01-13 19:12:40 +0100432 <button>
433 <highlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100434 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100435 <condition var1="tw_gui_sort_order" op="!=" var2="2"/>
436 <condition var1="tw_gui_sort_order" op="!=" var2="-2"/>
z31s1g28f0a922015-11-07 18:50:22 +0100437 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100438 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
439 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500440 <text>{@sort_by_date_only=Date}</text>
z31s1g56189522016-01-13 19:12:40 +0100441 <image resource="sort_empty"/>
z31s1g28f0a922015-11-07 18:50:22 +0100442 <action function="set">tw_gui_sort_order=2</action>
z31s1g56189522016-01-13 19:12:40 +0100443 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100444
z31s1g56189522016-01-13 19:12:40 +0100445 <button>
446 <highlight color="%highlight_color%"/>
447 <condition var1="tw_gui_sort_order" op="=" var2="3"/>
448 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
449 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500450 <text>{@sort_by_size_only=Size}</text>
z31s1g56189522016-01-13 19:12:40 +0100451 <image resource="sort_asc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100452 <action function="set">tw_gui_sort_order=-3</action>
z31s1g56189522016-01-13 19:12:40 +0100453 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100454
z31s1g56189522016-01-13 19:12:40 +0100455 <button>
456 <highlight color="%highlight_color%"/>
457 <condition var1="tw_gui_sort_order" op="=" var2="-3"/>
458 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
459 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500460 <text>{@sort_by_size_only=Size}</text>
z31s1g56189522016-01-13 19:12:40 +0100461 <image resource="sort_desc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100462 <action function="set">tw_gui_sort_order=3</action>
z31s1g56189522016-01-13 19:12:40 +0100463 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100464
z31s1g56189522016-01-13 19:12:40 +0100465 <button>
466 <highlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100467 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100468 <condition var1="tw_gui_sort_order" op="!=" var2="3"/>
469 <condition var1="tw_gui_sort_order" op="!=" var2="-3"/>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100471 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
472 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500473 <text>{@sort_by_size_only=Size}</text>
z31s1g56189522016-01-13 19:12:40 +0100474 <image resource="sort_empty"/>
z31s1g28f0a922015-11-07 18:50:22 +0100475 <action function="set">tw_gui_sort_order=3</action>
z31s1g56189522016-01-13 19:12:40 +0100476 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100477 </template>
478
479 <template name="tabs_backup">
z31s1g56a7a992016-01-23 17:06:40 +0100480 <fill color="%accent_color%">
481 <placement x="0" y="row1_y" w="%screen_width%" h="tab_height"/>
482 </fill>
483
z31s1g56189522016-01-13 19:12:40 +0100484 <button style="tab">
485 <placement x="0" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500486 <text>{@tab_backup=BACKUP}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100487 <action function="page">backup</action>
z31s1g56189522016-01-13 19:12:40 +0100488 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100489
z31s1g56189522016-01-13 19:12:40 +0100490 <button style="tab">
491 <placement x="%tab3_col2_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500492 <text>{@tab_options=OPTIONS}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100493 <action function="page">backup_options</action>
z31s1g56189522016-01-13 19:12:40 +0100494 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100495 </template>
496
497 <template name="tabs_settings">
z31s1g56a7a992016-01-23 17:06:40 +0100498 <fill color="%accent_color%">
499 <placement x="0" y="row1_y" w="%screen_width%" h="tab_height"/>
500 </fill>
501
z31s1g56189522016-01-13 19:12:40 +0100502 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100503 <placement x="%tab5_centered_col1_x%" y="%tab_y%" placement="4"/>
504 <image resource="tab_general"/>
z31s1g28f0a922015-11-07 18:50:22 +0100505 <action function="page">settings</action>
z31s1g56189522016-01-13 19:12:40 +0100506 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100507
z31s1g56189522016-01-13 19:12:40 +0100508 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100509 <placement x="%tab5_centered_col2_x%" y="%tab_y%" placement="4"/>
510 <image resource="tab_timezone"/>
z31s1g28f0a922015-11-07 18:50:22 +0100511 <action function="page">settings_timezone</action>
z31s1g56189522016-01-13 19:12:40 +0100512 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100513
z31s1g56189522016-01-13 19:12:40 +0100514 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100515 <placement x="%center_x%" y="%tab_y%" placement="4"/>
516 <image resource="tab_display"/>
z31s1g28f0a922015-11-07 18:50:22 +0100517 <action function="page">settings_screen</action>
z31s1g56189522016-01-13 19:12:40 +0100518 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100519
z31s1g56189522016-01-13 19:12:40 +0100520 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100521 <placement x="%tab5_centered_col4_x%" y="%tab_y%" placement="4"/>
522 <image resource="tab_vibration"/>
z31s1g28f0a922015-11-07 18:50:22 +0100523 <action function="page">settings_vibration</action>
z31s1g56189522016-01-13 19:12:40 +0100524 </button>
Ethan Yonker74db1572015-10-28 12:44:49 -0500525
z31s1g56189522016-01-13 19:12:40 +0100526 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100527 <placement x="%tab5_centered_col5_x%" y="%tab_y%" placement="4"/>
528 <image resource="tab_language"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500529 <action function="page">settings_language</action>
z31s1g56189522016-01-13 19:12:40 +0100530 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100531 </template>
532
533 <template name="console">
z31s1g56189522016-01-13 19:12:40 +0100534 <console>
535 <placement x="%indent%" y="%row2_y%" w="%content_width%" h="%console_height%"/>
536 </console>
z31s1g28f0a922015-11-07 18:50:22 +0100537
z31s1g56189522016-01-13 19:12:40 +0100538 <fill color="%fileselector_linecolor%">
539 <placement x="%indent%" y="row2_y" w="%content_width%" h="input_line_width" placement="1"/>
540 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100541
z31s1g56189522016-01-13 19:12:40 +0100542 <fill color="%fileselector_linecolor%">
543 <placement x="%indent%" y="row17_y" w="%content_width%" h="input_line_width"/>
544 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100545 </template>
546
547 <template name="console_terminal">
z31s1g56189522016-01-13 19:12:40 +0100548 <console>
549 <placement x="%indent%" y="%row2_y%" w="content_width" h="%console_terminal_height%"/>
550 </console>
z31s1g28f0a922015-11-07 18:50:22 +0100551
z31s1g56189522016-01-13 19:12:40 +0100552 <fill color="%fileselector_linecolor%">
553 <placement x="%indent%" y="row2_y" w="%content_width%" h="input_line_width" placement="1"/>
554 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100555
z31s1g56189522016-01-13 19:12:40 +0100556 <fill color="%fileselector_linecolor%">
557 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
558 </fill>
559 </template>
560
561 <template name="keyboardterminaltemplate">
562 <keyboard>
563 <condition var1="tw_hide_kb" var2="0"/>
564 <placement x="0" y="%keyboard_terminal_y%" w="%screen_width%" h="96"/>
565 <keymargin x="0" y="0"/>
566 <background color="#111111"/>
567 <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>
568 <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>
569 <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="12" y="0"/>
570 <keylabel key="0:k:29" text="Ctrl"/>
571 <keylabel key="0:c:27" text="Esc"/>
572 <keylabel key="0:c:9" text="Tab"/>
573 <keylabel key="0:k:105" text="&lt;" resource="kb_arrow_left"/>
574 <keylabel key="0:k:108" text="v" resource="kb_arrow_down"/>
575 <keylabel key="0:k:103" text="^" resource="kb_arrow_up"/>
576 <keylabel key="0:k:106" text="&gt;" resource="kb_arrow_right"/>
577 <highlight color="%highlight_color%"/>
578 <ctrlhighlight color="#0090CA80"/>
579 <layout1>
580 <keysize height="96" width="154"/>
581 <row1 key01="155:k:29" key02="155:c:27" long02=":c:3" key03="154:c:9" key04="154:k:105" key05="154:k:108" key06="154:k:103" key07="154:k:106"/>
582 </layout1>
583 </keyboard>
z31s1g28f0a922015-11-07 18:50:22 +0100584 </template>
585
586 <template name="keyboardtemplate">
z31s1g56189522016-01-13 19:12:40 +0100587 <keyboard>
588 <condition var1="tw_hide_kb" var2="0"/>
589 <placement x="0" y="%keyboard_y%" w="1080" h="644"/>
z31s1g28f0a922015-11-07 18:50:22 +0100590 <keymargin x="8" y="8"/>
591 <background color="#111111"/>
592 <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>
593 <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>
594 <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="12" y="0"/>
595 <keylabel key="0:c:8" text="Bksp" resource="backspace"/>
596 <keylabel key="0:action" text="Enter" resource="enter"/>
597 <keylabel key=" " text="Space" resource="space"/>
z31s1g56189522016-01-13 19:12:40 +0100598 <highlight color="%highlight_color%"/>
599 <capshighlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100600 <layout1>
z31s1g56189522016-01-13 19:12:40 +0100601 <keysize height="161" width="108"/>
602 <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"/>
603 <row2 key01="54:" 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="54:"/>
604 <row3 key01="162:layout2" key02="z" long02="!" key03="x" long03="&quot;" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="162:c:8"/>
605 <row4 key01="162:layout3" key02="/" key03="540: " key04="." key05="162:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100606 <keylabel key="0:layout2" text="Shift" resource="shift"/>
607 <keylabel key="0:layout3" text="?123"/>
608 </layout1>
609 <layout2>
610 <keysize height="161" width="108" capslock="0" revert_layout="1"/>
z31s1g56189522016-01-13 19:12:40 +0100611 <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"/>
612 <row2 key01="54:" 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="54:"/>
613 <row3 key01="162:layout1" key02="Z" long02="!" key03="X" long03="&quot;" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="162:c:8"/>
614 <row4 key01="162:layout3" key02="/" key03="540: " key04="." key05="162:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100615 <keylabel key="0:layout1" text="Shift" resource="shift_fill"/>
616 <keylabel key="0:layout3" text="?123"/>
617 </layout2>
618 <layout3>
z31s1g56189522016-01-13 19:12:40 +0100619 <keysize height="161" width="108"/>
620 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0"/>
621 <row2 key01="@" key02="#" key03="$" key04="%" key05="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")"/>
622 <row3 key01="162:layout4" key02="!" key03="108:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="162:c:8"/>
623 <row4 key01="162:layout1" key02="," key03="540: " key04="." key05="162:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100624 <keylabel key="0:layout1" text="ABC"/>
625 <keylabel key="0:layout4" text="~\{"/>
626 </layout3>
627 <layout4>
z31s1g56189522016-01-13 19:12:40 +0100628 <keysize height="161" width="108"/>
629 <row1 key01="~" key02="`" key03="|" key04="108:" key05="108:" key06="108:" key07="%" key08="108:" key09="{" key10="}"/>
630 <row2 key01="108:" key02="108:" key03="108:" key04="108:" key05="108:" key06="^" key07="_" key08="=" key09="[" key10="]"/>
631 <row3 key01="162:layout3" key02="108:" key03="108:" key04="108:" key05="108:" key06="\" key07="&lt;" key08="&gt;" key09="162:c:8"/>
632 <row4 key01="162:layout1" key02="108:c:34" key03="540: " key04="." key05="162:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100633 <keylabel key="0:layout1" text="ABC"/>
634 <keylabel key="0:layout3" text="?123"/>
635 </layout4>
z31s1g56189522016-01-13 19:12:40 +0100636 </keyboard>
z31s1g28f0a922015-11-07 18:50:22 +0100637 </template>
638 </templates>
639</recovery>