blob: 4566dc7dfb1126acc189b8a83b602bf17e892943 [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="480" height="800"/>
z31s1g28f0a922015-11-07 18:50:22 +01005 <author>TeamWin</author>
6 <title>Backup Naowz</title>
7 <description>Default basic theme</description>
Ethan Yonkere95c4862016-01-27 10:57:26 -06008 <preview>preview.png</preview>
Captain Throwback33dbec02022-01-29 12:45:35 -05009 <themeversion>{themeversion}</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="24"/>
18 <font name="font_m" filename="RobotoCondensed-Regular.ttf" size="18"/>
19 <font name="font_s" filename="RobotoCondensed-Regular.ttf" size="14"/>
20 <font name="fixed" filename="DroidSansMono.ttf" size="12"/>
z31s1g28f0a922015-11-07 18:50:22 +010021
z31s1g56189522016-01-13 19:12:40 +010022 <font name="keylabel" filename="RobotoCondensed-Regular.ttf" size="30"/>
23 <font name="keylabel-small" filename="RobotoCondensed-Regular.ttf" size="20"/>
24 <font name="keylabel-longpress" filename="RobotoCondensed-Regular.ttf" size="14"/>
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="480"/>
78 <variable name="screen_height" value="800"/>
79 <variable name="status_height" value="30"/>
80 <variable name="header_height" value="110"/>
81 <variable name="navbar_height" value="52"/>
82 <variable name="content_width" value="450"/>
83 <variable name="content_overlay_width" value="420"/>
84 <variable name="dialog_height" value="286"/>
85 <variable name="back_button_x" value="105"/>
86 <variable name="console_button_x" value="375"/>
87 <variable name="indent" value="15"/>
88 <variable name="col1_x_left" value="30"/>
89 <variable name="col1_x_header" value="82"/>
90 <variable name="center_x" value="240"/>
91 <variable name="col1_x_right" value="255"/>
92 <variable name="indent_right" value="465"/>
93 <variable name="tab_height" value="40"/>
94 <variable name="tab_indicator_height" value="3"/>
z31s1g56a7a992016-01-23 17:06:40 +010095 <variable name="tab_y" value="130"/>
z31s1g56189522016-01-13 19:12:40 +010096 <variable name="tab3_width" value="160"/>
97 <variable name="tab4_width" value="120"/>
98 <variable name="tab5_width" value="96"/>
99 <variable name="tab3_col2_x" value="160"/>
100 <variable name="tab3_col3_x" value="320"/>
101 <variable name="tab4_col2_x" value="120"/>
102 <variable name="tab4_col4_x" value="360"/>
103 <variable name="tab5_col2_x" value="96"/>
104 <variable name="tab5_col3_x" value="192"/>
105 <variable name="tab5_col4_x" value="288"/>
106 <variable name="tab5_col5_x" value="384"/>
z31s1g56a7a992016-01-23 17:06:40 +0100107 <variable name="tab5_centered_col1_x" value="48"/>
108 <variable name="tab5_centered_col2_x" value="144"/>
109 <variable name="tab5_centered_col4_x" value="336"/>
110 <variable name="tab5_centered_col5_x" value="432"/>
z31s1g56189522016-01-13 19:12:40 +0100111 <variable name="btn3_col2_x" value="170"/>
112 <variable name="btn3_col3_x" value="325"/>
113 <variable name="btn4_col2_x" value="131"/>
114 <variable name="btn4_col3_x" value="247"/>
115 <variable name="btn4_col4_x" value="363"/>
116 <variable name="row1_header_y" value="2"/>
117 <variable name="row2_header_y" value="30"/>
118 <variable name="row3_header_y" value="40"/>
119 <variable name="row4_header_y" value="74"/>
120 <variable name="row1_y" value="110"/>
121 <variable name="row1a_y" value="123"/>
122 <variable name="row2_y" value="136"/>
123 <variable name="row2a_y" value="149"/>
124 <variable name="row_tab_y" value="147"/>
125 <variable name="row2_input_y" value="162"/>
126 <variable name="row3_y" value="162"/>
127 <variable name="row3_input_y" value="175"/>
128 <variable name="row3a_y" value="175"/>
129 <variable name="row4_y" value="188"/>
130 <variable name="row4_input_y" value="201"/>
131 <variable name="row4a_y" value="201"/>
132 <variable name="row5_y" value="214"/>
133 <variable name="row5a_y" value="227"/>
134 <variable name="row6_y" value="240"/>
135 <variable name="row6a_y" value="253"/>
136 <variable name="row7_y" value="266"/>
137 <variable name="row7a_y" value="279"/>
138 <variable name="row8_y" value="292"/>
139 <variable name="row8a_y" value="305"/>
140 <variable name="row9_y" value="318"/>
141 <variable name="row9a_y" value="331"/>
142 <variable name="row10_y" value="344"/>
143 <variable name="row10a_y" value="357"/>
144 <variable name="row11_y" value="370"/>
145 <variable name="row11a_y" value="383"/>
146 <variable name="row12_y" value="396"/>
147 <variable name="row12a_y" value="409"/>
148 <variable name="row13_y" value="422"/>
149 <variable name="row13a_y" value="435"/>
150 <variable name="row14_y" value="448"/>
151 <variable name="row14a_y" value="461"/>
152 <variable name="row15_y" value="474"/>
153 <variable name="row15a_y" value="487"/>
154 <variable name="row16_y" value="500"/>
155 <variable name="row16a_y" value="513"/>
156 <variable name="row17_y" value="526"/>
157 <variable name="row17a_y" value="539"/>
158 <variable name="row18_y" value="552"/>
159 <variable name="row18a_y" value="565"/>
160 <variable name="row19_y" value="578"/>
161 <variable name="row19a_y" value="591"/>
162 <variable name="row20_y" value="604"/>
163 <variable name="row20a_y" value="617"/>
164 <variable name="row21_y" value="630"/>
165 <variable name="row21a_y" value="643"/>
166 <variable name="row22_y" value="656"/>
167 <variable name="row22a_y" value="669"/>
168 <variable name="row23_y" value="682"/>
169 <variable name="row23a_y" value="695"/>
170 <variable name="row24_y" value="708"/>
171 <variable name="row24a_y" value="721"/>
172 <variable name="row25_y" value="734"/>
173 <variable name="navbar_y" value="748"/>
174 <variable name="navbar_btn_y" value="774"/>
175 <variable name="keyboard_y" value="464"/>
176 <variable name="keyboard_terminal_y" value="422"/>
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="1"/>
194 <variable name="fileselector_spacing" value="0"/>
195 <variable name="fileselector_install_height" value="468"/>
196 <variable name="fileselector_filemanager_height" value="559"/>
197 <variable name="partitionlist_spacing" value="0"/>
198 <variable name="partitionlist_storage_height" value="221"/>
z31s1g64a0e712016-01-31 15:06:57 +0100199 <variable name="partitionlist_flashimage_height" value="221"/>
z31s1g56189522016-01-13 19:12:40 +0100200 <variable name="partitionlist_wipe_height" value="442"/>
201 <variable name="partitionlist_mount_height" value="338"/>
202 <variable name="partitionlist_backup_height" value="312"/>
203 <variable name="listbox_timezone_height" value="306"/>
204 <variable name="listbox_settings_height" value="400"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -0500205 <variable name="listbox_advanced_height" value="290"/>
epicX9597b842021-03-20 21:58:17 +0530206 <variable name="listbox_options_height" value="160"/>
z31s1g56189522016-01-13 19:12:40 +0100207 <variable name="fastscroll_w" value="10"/>
208 <variable name="fastscroll_linew" value="2"/>
209 <variable name="fastscroll_rectw" value="10"/>
210 <variable name="fastscroll_recth" value="52"/>
211 <variable name="slidervalue_lineh" value="2"/>
212 <variable name="slidervalue_padding" value="0"/>
213 <variable name="slidervalue_sliderw" value="32"/>
214 <variable name="slidervalue_sliderh" value="48"/>
215 <variable name="slideout_height" value="700"/>
216 <variable name="slideout_bg_height" value="718"/>
217 <variable name="input_height" value="26"/>
218 <variable name="input_line_width" value="2"/>
219 <variable name="console_height" value="390"/>
220 <variable name="console_terminal_height" value="369"/>
221 <variable name="dialog_button_x" value="310"/>
222 <variable name="pattern_x" value="60"/>
223 <variable name="pattern_dot_dia" value="12"/>
224 <variable name="pattern_line_w" value="4"/>
225 <variable name="pattern_size" value="360"/>
Yilliécb87d9d2022-07-11 14:30:26 +0500226 <variable name="tw_clock_12_pos_x" value="{clock_12_pos}"/>
227 <variable name="tw_clock_24_pos_x" value="{clock_24_pos}"/>
228 <variable name="tw_cpu_pos_x" value="{cpu_pos}"/>
229 <variable name="tw_battery_pos_x" value="{battery_pos}"/>
z31s1g28f0a922015-11-07 18:50:22 +0100230 </variables>
231
232 <mousecursor>
z31s1g56189522016-01-13 19:12:40 +0100233 <placement w="15" h="15"/>
234 <background color="#FFFF00FF" resource="cursor"/>
235 <speed multiplier="2.5"/>
z31s1g28f0a922015-11-07 18:50:22 +0100236 </mousecursor>
237
238 <templates>
239 <template name="page">
z31s1g56189522016-01-13 19:12:40 +0100240 <background color="%background_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100241
z31s1g56189522016-01-13 19:12:40 +0100242 <fill color="%accent_color%">
243 <placement x="0" y="0" w="%screen_width%" h="%header_height%"/>
244 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100245
z31s1g56189522016-01-13 19:12:40 +0100246 <image>
247 <condition var1="tw_busy" var2="1"/>
248 <image resource="logo"/>
249 <placement x="0" y="0"/>
250 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100251
z31s1g56189522016-01-13 19:12:40 +0100252 <button>
253 <condition var1="tw_busy" var2="0"/>
254 <placement x="0" y="0"/>
255 <image resource="logo"/>
z31s1g28f0a922015-11-07 18:50:22 +0100256 <action function="key">home</action>
z31s1g56189522016-01-13 19:12:40 +0100257 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100258
z31s1g56189522016-01-13 19:12:40 +0100259 <fill color="#00000030">
260 <condition var1="tw_simulate_actions" var2="0"/>
261 <placement x="0" y="0" w="%screen_width%" h="%status_height%"/>
262 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100263
z31s1g56189522016-01-13 19:12:40 +0100264 <fill color="%text_fail_color%">
265 <condition var1="tw_simulate_actions" var2="1"/>
266 <placement x="0" y="0" w="%screen_width%" h="%status_height%"/>
267 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100268
z31s1g56189522016-01-13 19:12:40 +0100269 <text color="%text_color%">
270 <condition var1="tw_no_cpu_temp" var2="1"/>
Yilliécb87d9d2022-07-11 14:30:26 +0500271 <condition var1="tw_cpu_pos_x" var2="0"/>
z31s1g56189522016-01-13 19:12:40 +0100272 <font resource="font_m"/>
273 <placement x="%indent%" y="%row1_header_y%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100274 <text>%tw_version%</text>
z31s1g56189522016-01-13 19:12:40 +0100275 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100276
z31s1g56189522016-01-13 19:12:40 +0100277 <text color="%text_color%">
278 <condition var1="tw_no_cpu_temp" var2="0"/>
Yilliécb87d9d2022-07-11 14:30:26 +0500279 <condition var1="tw_cpu_pos_x" var2="0"/>
z31s1g56189522016-01-13 19:12:40 +0100280 <font resource="font_m"/>
281 <placement x="%indent%" y="%row1_header_y%"/>
282 <text>{@cpu_temp=CPU: %tw_cpu_temp% °C}</text>
283 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100284
z31s1g56189522016-01-13 19:12:40 +0100285 <text color="%text_color%">
Yilliécb87d9d2022-07-11 14:30:26 +0500286 <condition var1="tw_clock_12_pos_x" var2="0"/>
287 <condition var1="tw_clock_24_pos_x" var2="0"/>
z31s1g56189522016-01-13 19:12:40 +0100288 <font resource="font_m"/>
289 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
z31s1g28f0a922015-11-07 18:50:22 +0100290 <text>%tw_time%</text>
z31s1g56189522016-01-13 19:12:40 +0100291 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100292
z31s1g56189522016-01-13 19:12:40 +0100293 <text color="%text_color%">
z31s1g28f0a922015-11-07 18:50:22 +0100294 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100295 <condition var1="tw_no_battery_percent" var2="0"/>
296 <condition var1="tw_battery" op="&gt;" var2="0"/>
297 <condition var1="tw_battery" op="&lt;" var2="101"/>
Yilliécb87d9d2022-07-11 14:30:26 +0500298 <condition var1="tw_battery_pos_x" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100299 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100300 <font resource="font_m"/>
301 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500302 <text>{@battery_pct=Battery: %tw_battery%}</text>
z31s1g56189522016-01-13 19:12:40 +0100303 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100304
Yilliécb87d9d2022-07-11 14:30:26 +0500305 <!-- Custom position for status bar items if defined START -->
306
307 <text color="%text_color%">
308 <condition var1="tw_no_cpu_temp" var2="1"/>
309 <condition var1="tw_cpu_pos_x" op="!=" var2="0"/>
310 <font resource="font_m"/>
311 <placement x="%tw_cpu_pos_x%" y="%row1_header_y%"/>
312 <text>%tw_version%</text>
313 </text>
314
315 <text color="%text_color%">
316 <condition var1="tw_no_cpu_temp" var2="0"/>
317 <condition var1="tw_cpu_pos_x" op="!=" var2="0"/>
318 <font resource="font_m"/>
319 <placement x="%tw_cpu_pos_x%" y="%row1_header_y%"/>
320 <text>{@cpu_temp=CPU: %tw_cpu_temp% °C}</text>
321 </text>
322
323 <text color="%text_color%">
324 <condition var1="tw_clock_12_pos_x" op="!=" var2="0"/>
325 <condition var1="tw_military_time" var2="0"/>
326 <font resource="font_m"/>
327 <placement x="%tw_clock_12_pos_x%" y="%row1_header_y%"/>
328 <text>%tw_time%</text>
329 </text>
330
331 <text color="%text_color%">
332 <condition var1="tw_clock_24_pos_x" op="!=" var2="0"/>
333 <condition var1="tw_military_time" var2="1"/>
334 <font resource="font_m"/>
335 <placement x="%tw_clock_24_pos_x%" y="%row1_header_y%"/>
336 <text>%tw_time%</text>
337 </text>
338
339 <text color="%text_color%">
340 <conditions>
341 <condition var1="tw_no_battery_percent" var2="0"/>
342 <condition var1="tw_battery" op="&gt;" var2="0"/>
343 <condition var1="tw_battery" op="&lt;" var2="101"/>
344 <condition var1="tw_battery_pos_x" op="!=" var2="0"/>
345 </conditions>
346 <font resource="font_m"/>
347 <placement x="%tw_battery_pos_x%" y="%row1_header_y%"/>
348 <text>{@battery_pct=Battery: %tw_battery%}</text>
349 </text>
350
351 <!-- Custom position for status bar items if defined END -->
352
z31s1g56189522016-01-13 19:12:40 +0100353 <fill color="#000000">
bigbiff bigbiff3157f122019-03-10 20:18:45 -0400354 <condition var1="tw_busy" var2="0"/>
z31s1g56189522016-01-13 19:12:40 +0100355 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
356 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100357
z31s1g56189522016-01-13 19:12:40 +0100358 <button>
359 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
360 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
361 <image resource="back"/>
362 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100363 <action function="key">back</action>
z31s1g56189522016-01-13 19:12:40 +0100364 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100365
z31s1g56189522016-01-13 19:12:40 +0100366 <button>
367 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
368 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
369 <image resource="console"/>
370 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100371 <action function="overlay">slideout</action>
z31s1g56189522016-01-13 19:12:40 +0100372 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100373
z31s1g56189522016-01-13 19:12:40 +0100374 <button>
375 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
376 <image resource="home"/>
377 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100378 <action function="key">home</action>
z31s1g56189522016-01-13 19:12:40 +0100379 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100380
z31s1g56189522016-01-13 19:12:40 +0100381 <button>
382 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
383 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
384 <image resource="console"/>
385 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100386 <action function="overlay">slideout</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 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
391 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
392 <image resource="back"/>
393 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100394 <action function="key">back</action>
z31s1g56189522016-01-13 19:12:40 +0100395 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100396
z31s1g56189522016-01-13 19:12:40 +0100397 <action>
398 <touch key="power"/>
Matt Mower9472ba12016-01-20 18:12:47 -0600399 <action function="togglebacklight"/>
z31s1g56189522016-01-13 19:12:40 +0100400 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100401
z31s1g56189522016-01-13 19:12:40 +0100402 <action>
403 <touch key="power+voldown"/>
404 <action function="screenshot"/>
405 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100406 </template>
407
408 <template name="progress_bar">
z31s1g56189522016-01-13 19:12:40 +0100409 <progressbar>
410 <placement x="%indent%" y="%row17a_y%"/>
411 <resource empty="progress_empty" full="progress_full"/>
412 <data name="ui_progress"/>
413 </progressbar>
z31s1g28f0a922015-11-07 18:50:22 +0100414
z31s1g56189522016-01-13 19:12:40 +0100415 <animation>
416 <placement x="%indent%" y="%row17a_y%"/>
417 <resource name="progress"/>
418 <speed fps="24" render="2"/>
419 <loop frame="1"/>
420 </animation>
z31s1g28f0a922015-11-07 18:50:22 +0100421 </template>
422
423 <template name="sort_options">
z31s1g56189522016-01-13 19:12:40 +0100424 <image>
425 <placement x="%indent%" y="%row1a_y%"/>
426 <image resource="tab_3"/>
427 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100428
z31s1g56189522016-01-13 19:12:40 +0100429 <image>
430 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
431 <image resource="tab_3"/>
432 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100433
z31s1g56189522016-01-13 19:12:40 +0100434 <image>
435 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
436 <image resource="tab_3"/>
437 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100438
z31s1g56189522016-01-13 19:12:40 +0100439 <button>
440 <highlight color="%highlight_color%"/>
441 <condition var1="tw_gui_sort_order" op="=" var2="1"/>
442 <placement x="%indent%" y="%row1a_y%"/>
443 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500444 <text>{@sort_by_name_only=Name}</text>
z31s1g56189522016-01-13 19:12:40 +0100445 <image resource="sort_asc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100446 <action function="set">tw_gui_sort_order=-1</action>
z31s1g56189522016-01-13 19:12:40 +0100447 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100448
z31s1g56189522016-01-13 19:12:40 +0100449 <button>
450 <highlight color="%highlight_color%"/>
451 <condition var1="tw_gui_sort_order" op="=" var2="-1"/>
452 <placement x="%indent%" y="%row1a_y%"/>
453 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500454 <text>{@sort_by_name_only=Name}</text>
z31s1g56189522016-01-13 19:12:40 +0100455 <image resource="sort_desc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100456 <action function="set">tw_gui_sort_order=1</action>
z31s1g56189522016-01-13 19:12:40 +0100457 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100458
z31s1g56189522016-01-13 19:12:40 +0100459 <button>
460 <highlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100461 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100462 <condition var1="tw_gui_sort_order" op="!=" var2="1"/>
463 <condition var1="tw_gui_sort_order" op="!=" var2="-1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100464 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100465 <placement x="%indent%" y="%row1a_y%"/>
466 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500467 <text>{@sort_by_name_only=Name}</text>
z31s1g56189522016-01-13 19:12:40 +0100468 <image resource="sort_empty"/>
z31s1g28f0a922015-11-07 18:50:22 +0100469 <action function="set">tw_gui_sort_order=1</action>
z31s1g56189522016-01-13 19:12:40 +0100470 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100471
z31s1g56189522016-01-13 19:12:40 +0100472 <button>
473 <highlight color="%highlight_color%"/>
474 <condition var1="tw_gui_sort_order" op="=" var2="2"/>
475 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
476 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500477 <text>{@sort_by_date_only=Date}</text>
z31s1g56189522016-01-13 19:12:40 +0100478 <image resource="sort_asc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100479 <action function="set">tw_gui_sort_order=-2</action>
z31s1g56189522016-01-13 19:12:40 +0100480 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100481
z31s1g56189522016-01-13 19:12:40 +0100482 <button>
483 <highlight color="%highlight_color%"/>
484 <condition var1="tw_gui_sort_order" op="=" var2="-2"/>
485 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
486 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500487 <text>{@sort_by_date_only=Date}</text>
z31s1g56189522016-01-13 19:12:40 +0100488 <image resource="sort_desc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100489 <action function="set">tw_gui_sort_order=2</action>
z31s1g56189522016-01-13 19:12:40 +0100490 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100491
z31s1g56189522016-01-13 19:12:40 +0100492 <button>
493 <highlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100494 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100495 <condition var1="tw_gui_sort_order" op="!=" var2="2"/>
496 <condition var1="tw_gui_sort_order" op="!=" var2="-2"/>
z31s1g28f0a922015-11-07 18:50:22 +0100497 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100498 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
499 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@sort_by_date_only=Date}</text>
z31s1g56189522016-01-13 19:12:40 +0100501 <image resource="sort_empty"/>
z31s1g28f0a922015-11-07 18:50:22 +0100502 <action function="set">tw_gui_sort_order=2</action>
z31s1g56189522016-01-13 19:12:40 +0100503 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100504
z31s1g56189522016-01-13 19:12:40 +0100505 <button>
506 <highlight color="%highlight_color%"/>
507 <condition var1="tw_gui_sort_order" op="=" var2="3"/>
508 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
509 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500510 <text>{@sort_by_size_only=Size}</text>
z31s1g56189522016-01-13 19:12:40 +0100511 <image resource="sort_asc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100512 <action function="set">tw_gui_sort_order=-3</action>
z31s1g56189522016-01-13 19:12:40 +0100513 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100514
z31s1g56189522016-01-13 19:12:40 +0100515 <button>
516 <highlight color="%highlight_color%"/>
517 <condition var1="tw_gui_sort_order" op="=" var2="-3"/>
518 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
519 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500520 <text>{@sort_by_size_only=Size}</text>
z31s1g56189522016-01-13 19:12:40 +0100521 <image resource="sort_desc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100522 <action function="set">tw_gui_sort_order=3</action>
z31s1g56189522016-01-13 19:12:40 +0100523 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100524
z31s1g56189522016-01-13 19:12:40 +0100525 <button>
526 <highlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100527 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100528 <condition var1="tw_gui_sort_order" op="!=" var2="3"/>
529 <condition var1="tw_gui_sort_order" op="!=" var2="-3"/>
z31s1g28f0a922015-11-07 18:50:22 +0100530 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100531 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
532 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500533 <text>{@sort_by_size_only=Size}</text>
z31s1g56189522016-01-13 19:12:40 +0100534 <image resource="sort_empty"/>
z31s1g28f0a922015-11-07 18:50:22 +0100535 <action function="set">tw_gui_sort_order=3</action>
z31s1g56189522016-01-13 19:12:40 +0100536 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100537 </template>
538
539 <template name="tabs_backup">
z31s1g56a7a992016-01-23 17:06:40 +0100540 <fill color="%accent_color%">
541 <placement x="0" y="row1_y" w="%screen_width%" h="tab_height"/>
542 </fill>
543
z31s1g56189522016-01-13 19:12:40 +0100544 <button style="tab">
545 <placement x="0" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500546 <text>{@tab_backup=BACKUP}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100547 <action function="page">backup</action>
z31s1g56189522016-01-13 19:12:40 +0100548 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100549
z31s1g56189522016-01-13 19:12:40 +0100550 <button style="tab">
551 <placement x="%tab3_col2_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500552 <text>{@tab_options=OPTIONS}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100553 <action function="page">backup_options</action>
z31s1g56189522016-01-13 19:12:40 +0100554 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100555 </template>
556
557 <template name="tabs_settings">
z31s1g56a7a992016-01-23 17:06:40 +0100558 <fill color="%accent_color%">
559 <placement x="0" y="row1_y" w="%screen_width%" h="tab_height"/>
560 </fill>
561
z31s1g56189522016-01-13 19:12:40 +0100562 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100563 <placement x="%tab5_centered_col1_x%" y="%tab_y%" placement="4"/>
564 <image resource="tab_general"/>
z31s1g28f0a922015-11-07 18:50:22 +0100565 <action function="page">settings</action>
z31s1g56189522016-01-13 19:12:40 +0100566 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100567
z31s1g56189522016-01-13 19:12:40 +0100568 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100569 <placement x="%tab5_centered_col2_x%" y="%tab_y%" placement="4"/>
570 <image resource="tab_timezone"/>
z31s1g28f0a922015-11-07 18:50:22 +0100571 <action function="page">settings_timezone</action>
z31s1g56189522016-01-13 19:12:40 +0100572 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100573
z31s1g56189522016-01-13 19:12:40 +0100574 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100575 <placement x="%center_x%" y="%tab_y%" placement="4"/>
576 <image resource="tab_display"/>
z31s1g28f0a922015-11-07 18:50:22 +0100577 <action function="page">settings_screen</action>
z31s1g56189522016-01-13 19:12:40 +0100578 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100579
z31s1g56189522016-01-13 19:12:40 +0100580 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100581 <placement x="%tab5_centered_col4_x%" y="%tab_y%" placement="4"/>
582 <image resource="tab_vibration"/>
z31s1g28f0a922015-11-07 18:50:22 +0100583 <action function="page">settings_vibration</action>
z31s1g56189522016-01-13 19:12:40 +0100584 </button>
Ethan Yonker74db1572015-10-28 12:44:49 -0500585
z31s1g56189522016-01-13 19:12:40 +0100586 <button style="tab">
z31s1g56a7a992016-01-23 17:06:40 +0100587 <placement x="%tab5_centered_col5_x%" y="%tab_y%" placement="4"/>
588 <image resource="tab_language"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500589 <action function="page">settings_language</action>
z31s1g56189522016-01-13 19:12:40 +0100590 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100591 </template>
592
593 <template name="console">
z31s1g56189522016-01-13 19:12:40 +0100594 <console>
595 <placement x="%indent%" y="%row2_y%" w="%content_width%" h="%console_height%"/>
596 </console>
z31s1g28f0a922015-11-07 18:50:22 +0100597
z31s1g56189522016-01-13 19:12:40 +0100598 <fill color="%fileselector_linecolor%">
599 <placement x="%indent%" y="row2_y" w="%content_width%" h="input_line_width" placement="1"/>
600 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100601
z31s1g56189522016-01-13 19:12:40 +0100602 <fill color="%fileselector_linecolor%">
603 <placement x="%indent%" y="row17_y" w="%content_width%" h="input_line_width"/>
604 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100605 </template>
606
607 <template name="console_terminal">
z31s1g56189522016-01-13 19:12:40 +0100608 <console>
609 <placement x="%indent%" y="%row2_y%" w="content_width" h="%console_terminal_height%"/>
610 </console>
z31s1g28f0a922015-11-07 18:50:22 +0100611
z31s1g56189522016-01-13 19:12:40 +0100612 <fill color="%fileselector_linecolor%">
613 <placement x="%indent%" y="row2_y" w="%content_width%" h="input_line_width" placement="1"/>
614 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100615
z31s1g56189522016-01-13 19:12:40 +0100616 <fill color="%fileselector_linecolor%">
617 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
618 </fill>
619 </template>
620
621 <template name="keyboardterminaltemplate">
622 <keyboard>
623 <condition var1="tw_hide_kb" var2="0"/>
624 <placement x="0" y="%keyboard_terminal_y%" w="%screen_width%" h="42"/>
625 <keymargin x="0" y="0"/>
626 <background color="#111111"/>
627 <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>
628 <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>
629 <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="12" y="0"/>
630 <keylabel key="0:k:29" text="Ctrl"/>
631 <keylabel key="0:c:27" text="Esc"/>
632 <keylabel key="0:c:9" text="Tab"/>
633 <keylabel key="0:k:105" text="&lt;" resource="kb_arrow_left"/>
634 <keylabel key="0:k:108" text="v" resource="kb_arrow_down"/>
635 <keylabel key="0:k:103" text="^" resource="kb_arrow_up"/>
636 <keylabel key="0:k:106" text="&gt;" resource="kb_arrow_right"/>
637 <highlight color="%highlight_color%"/>
638 <ctrlhighlight color="#0090CA80"/>
639 <layout1>
640 <keysize height="42" width="69"/>
641 <row1 key01="68:k:29" key02="68:c:27" long02=":c:3" key03="68:c:9" key04="69:k:105" key05="69:k:108" key06="69:k:103" key07="69:k:106"/>
642 </layout1>
643 </keyboard>
z31s1g28f0a922015-11-07 18:50:22 +0100644 </template>
645
646 <template name="keyboardtemplate">
z31s1g56189522016-01-13 19:12:40 +0100647 <keyboard>
648 <condition var1="tw_hide_kb" var2="0"/>
649 <placement x="0" y="%keyboard_y%" w="480" h="284"/>
z31s1g28f0a922015-11-07 18:50:22 +0100650 <keymargin x="4" y="4"/>
651 <background color="#111111"/>
652 <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>
653 <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>
654 <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="6" y="0"/>
655 <keylabel key="0:c:8" text="Bksp" resource="backspace"/>
656 <keylabel key="0:action" text="Enter" resource="enter"/>
657 <keylabel key=" " text="Space" resource="space"/>
z31s1g56189522016-01-13 19:12:40 +0100658 <highlight color="%highlight_color%"/>
659 <capshighlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100660 <layout1>
z31s1g56189522016-01-13 19:12:40 +0100661 <keysize height="71" width="48"/>
662 <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"/>
663 <row2 key01="24:" 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="24:"/>
664 <row3 key01="72:layout2" key02="z" long02="!" key03="x" long03="&quot;" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="72:c:8"/>
665 <row4 key01="72:layout3" key02="/" key03="240: " key04="." key05="72:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100666 <keylabel key="0:layout2" text="Shift" resource="shift"/>
667 <keylabel key="0:layout3" text="?123"/>
668 </layout1>
669 <layout2>
670 <keysize height="71" width="48" capslock="0" revert_layout="1"/>
z31s1g56189522016-01-13 19:12:40 +0100671 <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"/>
672 <row2 key01="24:" 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="24:"/>
673 <row3 key01="72:layout1" key02="Z" long02="!" key03="X" long03="&quot;" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="72:c:8"/>
674 <row4 key01="72:layout3" key02="/" key03="240: " key04="." key05="72:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100675 <keylabel key="0:layout1" text="Shift" resource="shift_fill"/>
676 <keylabel key="0:layout3" text="?123"/>
677 </layout2>
678 <layout3>
z31s1g56189522016-01-13 19:12:40 +0100679 <keysize height="71" width="48"/>
680 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0"/>
681 <row2 key01="@" key02="#" key03="$" key04="%" key05="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")"/>
682 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8"/>
683 <row4 key01="72:layout1" key02="," key03="240: " key04="." key05="72:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100684 <keylabel key="0:layout1" text="ABC"/>
685 <keylabel key="0:layout4" text="~\{"/>
686 </layout3>
687 <layout4>
z31s1g56189522016-01-13 19:12:40 +0100688 <keysize height="71" width="48"/>
689 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}"/>
690 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]"/>
691 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="&lt;" key08="&gt;" key09="72:c:8"/>
692 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="." key05="72:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100693 <keylabel key="0:layout1" text="ABC"/>
694 <keylabel key="0:layout3" text="?123"/>
695 </layout4>
z31s1g56189522016-01-13 19:12:40 +0100696 </keyboard>
z31s1g28f0a922015-11-07 18:50:22 +0100697 </template>
Captain Throwbackfec0c3b2021-11-04 15:50:36 -0400698
699 <template name="keyboardnum">
700 <keyboard>
701 <condition var1="tw_hide_kb" var2="0"/>
702 <placement x="0" y="%keyboard_y%" w="480" h="284"/>
703 <keymargin x="4" y="4"/>
704 <background color="#111111"/>
705 <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>
706 <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>
707 <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="6" y="0"/>
708 <keylabel key="0:c:8" text="Bksp" resource="backspace"/>
709 <keylabel key="0:action" text="Enter" resource="enter"/>
710 <keylabel key=" " text="Space" resource="space"/>
711 <highlight color="%highlight_color%"/>
712 <capshighlight color="%highlight_color%"/>
713 <layout1>
714 <keysize height="70" width="94"/>
715 <row1 key01="100:" key02="1" key03="2" key04="3" key05="100:"/>
716 <row2 key01="100:" key02="4" key03="5" key04="6" key05="100:"/>
717 <row3 key01="100:" key02="7" key03="8" key04="9" key05="100:"/>
718 <row4 key01="100:" key02="94:c:8" key03="0" key04="95:action" key05="100:"/>
719 </layout1>
720 </keyboard>
721 </template>
z31s1g28f0a922015-11-07 18:50:22 +0100722 </templates>
723</recovery>