blob: 450860eefb705fe1952814125d6b0a498fbc0908 [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>
8 <preview>preview.jpg</preview>
9 </details>
10
11 <include>
z31s1g56189522016-01-13 19:12:40 +010012 <xmlfile name="portrait.xml"/>
z31s1g28f0a922015-11-07 18:50:22 +010013 </include>
14
15 <resources>
z31s1g56189522016-01-13 19:12:40 +010016 <font name="font_l" filename="RobotoCondensed-Regular.ttf" size="24"/>
17 <font name="font_m" filename="RobotoCondensed-Regular.ttf" size="18"/>
18 <font name="font_s" filename="RobotoCondensed-Regular.ttf" size="14"/>
19 <font name="fixed" filename="DroidSansMono.ttf" size="12"/>
z31s1g28f0a922015-11-07 18:50:22 +010020
z31s1g56189522016-01-13 19:12:40 +010021 <font name="keylabel" filename="RobotoCondensed-Regular.ttf" size="30"/>
22 <font name="keylabel-small" filename="RobotoCondensed-Regular.ttf" size="20"/>
23 <font name="keylabel-longpress" filename="RobotoCondensed-Regular.ttf" size="14"/>
z31s1g28f0a922015-11-07 18:50:22 +010024
z31s1g56189522016-01-13 19:12:40 +010025 <image name="logo" filename="logo" retainaspect="1"/>
26 <image name="main_button" filename="main_button"/>
27 <image name="main_button_half_height" filename="main_button_half_height"/>
28 <image name="main_button_half_height_full_width" filename="main_button_half_height_full_width"/>
29 <image name="fab_selectfolder" filename="fab_selectfolder" retainaspect="1"/>
30 <image name="tab_3" filename="tab_3"/>
31 <image name="tab_4" filename="tab_4"/>
32 <image name="file" filename="file" retainaspect="1"/>
33 <image name="folder" filename="folder" retainaspect="1"/>
34 <image name="unlock_icon" filename="unlock_icon" retainaspect="1"/>
35 <image name="home" filename="home" retainaspect="1"/>
36 <image name="back" filename="back" retainaspect="1"/>
37 <image name="console" filename="console" retainaspect="1"/>
38 <image name="kb_hide" filename="kb_hide" retainaspect="1"/>
39 <image name="kb_show" filename="kb_show" retainaspect="1"/>
40 <image name="checkbox_false" filename="checkbox_false" retainaspect="1"/>
41 <image name="checkbox_true" filename="checkbox_true" retainaspect="1"/>
42 <image name="radio_false" filename="radio_false" retainaspect="1"/>
43 <image name="radio_true" filename="radio_true" retainaspect="1"/>
44 <image name="sort_asc" filename="sort_asc"/>
45 <image name="sort_desc" filename="sort_desc"/>
46 <image name="sort_empty" filename="sort_empty"/>
47 <animation name="progress" filename="indeterminate"/>
48 <image name="progress_empty" filename="progress_empty"/>
49 <image name="progress_full" filename="progress_fill"/>
50 <image name="slider" filename="slider"/>
51 <image name="slider_used" filename="slider_used"/>
52 <image name="slider_touch" filename="slider_touch"/>
53 <image name="handle" filename="handle"/>
54 <image name="cursor" filename="cursor" retainaspect="1"/>
z31s1g28f0a922015-11-07 18:50:22 +010055
z31s1g56189522016-01-13 19:12:40 +010056 <image name="backspace" filename="backspace" retainaspect="1"/>
57 <image name="enter" filename="enter" retainaspect="1"/>
58 <image name="shift" filename="shift" retainaspect="1"/>
59 <image name="shift_fill" filename="shift_fill" retainaspect="1"/>
60 <image name="space" filename="space" retainaspect="1"/>
61 <image name="kb_arrow_left" filename="kb_arrow_left" retainaspect="1"/>
62 <image name="kb_arrow_right" filename="kb_arrow_right" retainaspect="1"/>
63 <image name="kb_arrow_up" filename="kb_arrow_up" retainaspect="1"/>
64 <image name="kb_arrow_down" filename="kb_arrow_down" retainaspect="1"/>
z31s1g28f0a922015-11-07 18:50:22 +010065 </resources>
66
67 <variables>
z31s1g56189522016-01-13 19:12:40 +010068 <variable name="tw_samsung_navbar" value="0" persist="1"/>
69 <variable name="tw_hide_kb" value="0" persist="1"/>
z31s1g28f0a922015-11-07 18:50:22 +010070
z31s1g56189522016-01-13 19:12:40 +010071 <variable name="screen_width" value="480"/>
72 <variable name="screen_height" value="800"/>
73 <variable name="status_height" value="30"/>
74 <variable name="header_height" value="110"/>
75 <variable name="navbar_height" value="52"/>
76 <variable name="content_width" value="450"/>
77 <variable name="content_overlay_width" value="420"/>
78 <variable name="dialog_height" value="286"/>
79 <variable name="back_button_x" value="105"/>
80 <variable name="console_button_x" value="375"/>
81 <variable name="indent" value="15"/>
82 <variable name="col1_x_left" value="30"/>
83 <variable name="col1_x_header" value="82"/>
84 <variable name="center_x" value="240"/>
85 <variable name="col1_x_right" value="255"/>
86 <variable name="indent_right" value="465"/>
87 <variable name="tab_height" value="40"/>
88 <variable name="tab_indicator_height" value="3"/>
89 <variable name="tab3_width" value="160"/>
90 <variable name="tab4_width" value="120"/>
91 <variable name="tab5_width" value="96"/>
92 <variable name="tab3_col2_x" value="160"/>
93 <variable name="tab3_col3_x" value="320"/>
94 <variable name="tab4_col2_x" value="120"/>
95 <variable name="tab4_col4_x" value="360"/>
96 <variable name="tab5_col2_x" value="96"/>
97 <variable name="tab5_col3_x" value="192"/>
98 <variable name="tab5_col4_x" value="288"/>
99 <variable name="tab5_col5_x" value="384"/>
100 <variable name="btn3_col2_x" value="170"/>
101 <variable name="btn3_col3_x" value="325"/>
102 <variable name="btn4_col2_x" value="131"/>
103 <variable name="btn4_col3_x" value="247"/>
104 <variable name="btn4_col4_x" value="363"/>
105 <variable name="row1_header_y" value="2"/>
106 <variable name="row2_header_y" value="30"/>
107 <variable name="row3_header_y" value="40"/>
108 <variable name="row4_header_y" value="74"/>
109 <variable name="row1_y" value="110"/>
110 <variable name="row1a_y" value="123"/>
111 <variable name="row2_y" value="136"/>
112 <variable name="row2a_y" value="149"/>
113 <variable name="row_tab_y" value="147"/>
114 <variable name="row2_input_y" value="162"/>
115 <variable name="row3_y" value="162"/>
116 <variable name="row3_input_y" value="175"/>
117 <variable name="row3a_y" value="175"/>
118 <variable name="row4_y" value="188"/>
119 <variable name="row4_input_y" value="201"/>
120 <variable name="row4a_y" value="201"/>
121 <variable name="row5_y" value="214"/>
122 <variable name="row5a_y" value="227"/>
123 <variable name="row6_y" value="240"/>
124 <variable name="row6a_y" value="253"/>
125 <variable name="row7_y" value="266"/>
126 <variable name="row7a_y" value="279"/>
127 <variable name="row8_y" value="292"/>
128 <variable name="row8a_y" value="305"/>
129 <variable name="row9_y" value="318"/>
130 <variable name="row9a_y" value="331"/>
131 <variable name="row10_y" value="344"/>
132 <variable name="row10a_y" value="357"/>
133 <variable name="row11_y" value="370"/>
134 <variable name="row11a_y" value="383"/>
135 <variable name="row12_y" value="396"/>
136 <variable name="row12a_y" value="409"/>
137 <variable name="row13_y" value="422"/>
138 <variable name="row13a_y" value="435"/>
139 <variable name="row14_y" value="448"/>
140 <variable name="row14a_y" value="461"/>
141 <variable name="row15_y" value="474"/>
142 <variable name="row15a_y" value="487"/>
143 <variable name="row16_y" value="500"/>
144 <variable name="row16a_y" value="513"/>
145 <variable name="row17_y" value="526"/>
146 <variable name="row17a_y" value="539"/>
147 <variable name="row18_y" value="552"/>
148 <variable name="row18a_y" value="565"/>
149 <variable name="row19_y" value="578"/>
150 <variable name="row19a_y" value="591"/>
151 <variable name="row20_y" value="604"/>
152 <variable name="row20a_y" value="617"/>
153 <variable name="row21_y" value="630"/>
154 <variable name="row21a_y" value="643"/>
155 <variable name="row22_y" value="656"/>
156 <variable name="row22a_y" value="669"/>
157 <variable name="row23_y" value="682"/>
158 <variable name="row23a_y" value="695"/>
159 <variable name="row24_y" value="708"/>
160 <variable name="row24a_y" value="721"/>
161 <variable name="row25_y" value="734"/>
162 <variable name="navbar_y" value="748"/>
163 <variable name="navbar_btn_y" value="774"/>
164 <variable name="keyboard_y" value="464"/>
165 <variable name="keyboard_terminal_y" value="422"/>
166 <variable name="background_color" value="#1A1A1A"/>
167 <variable name="accent_color" value="#0090CA"/>
168 <variable name="text_color" value="#EEEEEE"/>
169 <variable name="text_button_color" value="#EEEEEE"/>
170 <variable name="text_success_color" value="#76FF03"/>
171 <variable name="text_fail_color" value="#FF0101"/>
172 <variable name="highlight_color" value="#1A1A1A80"/>
173 <variable name="caps_highlight_color" value="#22222280"/>
174 <variable name="transparent" value="#00000000"/>
175 <variable name="semi_transparent" value="#00000099"/>
176 <variable name="warning" value="#F8F8A0"/>
177 <variable name="error" value="#FF0101"/>
178 <variable name="highlight" value="#0090CA"/>
179 <variable name="fileselector_linecolor" value="#555555"/>
180 <variable name="fileselector_highlight_color" value="#555555"/>
181 <variable name="fileselector_separatorheight" value="1"/>
182 <variable name="fileselector_spacing" value="0"/>
183 <variable name="fileselector_install_height" value="468"/>
184 <variable name="fileselector_filemanager_height" value="559"/>
185 <variable name="partitionlist_spacing" value="0"/>
186 <variable name="partitionlist_storage_height" value="221"/>
187 <variable name="partitionlist_flashimage_height" value="182"/>
188 <variable name="partitionlist_wipe_height" value="442"/>
189 <variable name="partitionlist_mount_height" value="338"/>
190 <variable name="partitionlist_backup_height" value="312"/>
191 <variable name="listbox_timezone_height" value="306"/>
192 <variable name="listbox_settings_height" value="400"/>
193 <variable name="fastscroll_w" value="10"/>
194 <variable name="fastscroll_linew" value="2"/>
195 <variable name="fastscroll_rectw" value="10"/>
196 <variable name="fastscroll_recth" value="52"/>
197 <variable name="slidervalue_lineh" value="2"/>
198 <variable name="slidervalue_padding" value="0"/>
199 <variable name="slidervalue_sliderw" value="32"/>
200 <variable name="slidervalue_sliderh" value="48"/>
201 <variable name="slideout_height" value="700"/>
202 <variable name="slideout_bg_height" value="718"/>
203 <variable name="input_height" value="26"/>
204 <variable name="input_line_width" value="2"/>
205 <variable name="console_height" value="390"/>
206 <variable name="console_terminal_height" value="369"/>
207 <variable name="dialog_button_x" value="310"/>
208 <variable name="pattern_x" value="60"/>
209 <variable name="pattern_dot_dia" value="12"/>
210 <variable name="pattern_line_w" value="4"/>
211 <variable name="pattern_size" value="360"/>
z31s1g28f0a922015-11-07 18:50:22 +0100212 </variables>
213
214 <mousecursor>
z31s1g56189522016-01-13 19:12:40 +0100215 <placement w="15" h="15"/>
216 <background color="#FFFF00FF" resource="cursor"/>
217 <speed multiplier="2.5"/>
z31s1g28f0a922015-11-07 18:50:22 +0100218 </mousecursor>
219
220 <templates>
221 <template name="page">
z31s1g56189522016-01-13 19:12:40 +0100222 <background color="%background_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100223
z31s1g56189522016-01-13 19:12:40 +0100224 <fill color="%accent_color%">
225 <placement x="0" y="0" w="%screen_width%" h="%header_height%"/>
226 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100227
z31s1g56189522016-01-13 19:12:40 +0100228 <image>
229 <condition var1="tw_busy" var2="1"/>
230 <image resource="logo"/>
231 <placement x="0" y="0"/>
232 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100233
z31s1g56189522016-01-13 19:12:40 +0100234 <button>
235 <condition var1="tw_busy" var2="0"/>
236 <placement x="0" y="0"/>
237 <image resource="logo"/>
z31s1g28f0a922015-11-07 18:50:22 +0100238 <action function="key">home</action>
z31s1g56189522016-01-13 19:12:40 +0100239 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100240
z31s1g56189522016-01-13 19:12:40 +0100241 <fill color="#00000030">
242 <condition var1="tw_simulate_actions" var2="0"/>
243 <placement x="0" y="0" w="%screen_width%" h="%status_height%"/>
244 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100245
z31s1g56189522016-01-13 19:12:40 +0100246 <fill color="%text_fail_color%">
247 <condition var1="tw_simulate_actions" var2="1"/>
248 <placement x="0" y="0" w="%screen_width%" h="%status_height%"/>
249 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100250
z31s1g56189522016-01-13 19:12:40 +0100251 <text color="%text_color%">
252 <condition var1="tw_no_cpu_temp" var2="1"/>
253 <font resource="font_m"/>
254 <placement x="%indent%" y="%row1_header_y%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100255 <text>%tw_version%</text>
z31s1g56189522016-01-13 19:12:40 +0100256 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100257
z31s1g56189522016-01-13 19:12:40 +0100258 <text color="%text_color%">
259 <condition var1="tw_no_cpu_temp" var2="0"/>
260 <font resource="font_m"/>
261 <placement x="%indent%" y="%row1_header_y%"/>
262 <text>{@cpu_temp=CPU: %tw_cpu_temp% °C}</text>
263 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100264
z31s1g56189522016-01-13 19:12:40 +0100265 <text color="%text_color%">
266 <font resource="font_m"/>
267 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
z31s1g28f0a922015-11-07 18:50:22 +0100268 <text>%tw_time%</text>
z31s1g56189522016-01-13 19:12:40 +0100269 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100270
z31s1g56189522016-01-13 19:12:40 +0100271 <text color="%text_color%">
z31s1g28f0a922015-11-07 18:50:22 +0100272 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100273 <condition var1="tw_no_battery_percent" var2="0"/>
274 <condition var1="tw_battery" op="&gt;" var2="0"/>
275 <condition var1="tw_battery" op="&lt;" var2="101"/>
z31s1g28f0a922015-11-07 18:50:22 +0100276 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100277 <font resource="font_m"/>
278 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500279 <text>{@battery_pct=Battery: %tw_battery%}</text>
z31s1g56189522016-01-13 19:12:40 +0100280 </text>
z31s1g28f0a922015-11-07 18:50:22 +0100281
z31s1g56189522016-01-13 19:12:40 +0100282 <fill color="#000000">
283 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
284 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100285
z31s1g56189522016-01-13 19:12:40 +0100286 <button>
287 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
288 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
289 <image resource="back"/>
290 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100291 <action function="key">back</action>
z31s1g56189522016-01-13 19:12:40 +0100292 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100293
z31s1g56189522016-01-13 19:12:40 +0100294 <button>
295 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
296 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
297 <image resource="console"/>
298 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100299 <action function="overlay">slideout</action>
z31s1g56189522016-01-13 19:12:40 +0100300 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100301
z31s1g56189522016-01-13 19:12:40 +0100302 <button>
303 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
304 <image resource="home"/>
305 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100306 <action function="key">home</action>
z31s1g56189522016-01-13 19:12:40 +0100307 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100308
z31s1g56189522016-01-13 19:12:40 +0100309 <button>
310 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
311 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
312 <image resource="console"/>
313 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100314 <action function="overlay">slideout</action>
z31s1g56189522016-01-13 19:12:40 +0100315 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100316
z31s1g56189522016-01-13 19:12:40 +0100317 <button>
318 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
319 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
320 <image resource="back"/>
321 <condition var1="tw_busy" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100322 <action function="key">back</action>
z31s1g56189522016-01-13 19:12:40 +0100323 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100324
z31s1g56189522016-01-13 19:12:40 +0100325 <action>
326 <touch key="power"/>
z31s1g28f0a922015-11-07 18:50:22 +0100327 <action function="overlay">lock</action>
z31s1g56189522016-01-13 19:12:40 +0100328 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100329
z31s1g56189522016-01-13 19:12:40 +0100330 <action>
331 <touch key="power+voldown"/>
332 <action function="screenshot"/>
333 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100334 </template>
335
336 <template name="progress_bar">
z31s1g56189522016-01-13 19:12:40 +0100337 <progressbar>
338 <placement x="%indent%" y="%row17a_y%"/>
339 <resource empty="progress_empty" full="progress_full"/>
340 <data name="ui_progress"/>
341 </progressbar>
z31s1g28f0a922015-11-07 18:50:22 +0100342
z31s1g56189522016-01-13 19:12:40 +0100343 <animation>
344 <placement x="%indent%" y="%row17a_y%"/>
345 <resource name="progress"/>
346 <speed fps="24" render="2"/>
347 <loop frame="1"/>
348 </animation>
z31s1g28f0a922015-11-07 18:50:22 +0100349 </template>
350
351 <template name="sort_options">
z31s1g56189522016-01-13 19:12:40 +0100352 <image>
353 <placement x="%indent%" y="%row1a_y%"/>
354 <image resource="tab_3"/>
355 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100356
z31s1g56189522016-01-13 19:12:40 +0100357 <image>
358 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
359 <image resource="tab_3"/>
360 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100361
z31s1g56189522016-01-13 19:12:40 +0100362 <image>
363 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
364 <image resource="tab_3"/>
365 </image>
z31s1g28f0a922015-11-07 18:50:22 +0100366
z31s1g56189522016-01-13 19:12:40 +0100367 <button>
368 <highlight color="%highlight_color%"/>
369 <condition var1="tw_gui_sort_order" op="=" var2="1"/>
370 <placement x="%indent%" y="%row1a_y%"/>
371 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500372 <text>{@sort_by_name_only=Name}</text>
z31s1g56189522016-01-13 19:12:40 +0100373 <image resource="sort_asc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100374 <action function="set">tw_gui_sort_order=-1</action>
z31s1g56189522016-01-13 19:12:40 +0100375 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100376
z31s1g56189522016-01-13 19:12:40 +0100377 <button>
378 <highlight color="%highlight_color%"/>
379 <condition var1="tw_gui_sort_order" op="=" var2="-1"/>
380 <placement x="%indent%" y="%row1a_y%"/>
381 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500382 <text>{@sort_by_name_only=Name}</text>
z31s1g56189522016-01-13 19:12:40 +0100383 <image resource="sort_desc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100384 <action function="set">tw_gui_sort_order=1</action>
z31s1g56189522016-01-13 19:12:40 +0100385 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100386
z31s1g56189522016-01-13 19:12:40 +0100387 <button>
388 <highlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100389 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100390 <condition var1="tw_gui_sort_order" op="!=" var2="1"/>
391 <condition var1="tw_gui_sort_order" op="!=" var2="-1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100392 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100393 <placement x="%indent%" y="%row1a_y%"/>
394 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500395 <text>{@sort_by_name_only=Name}</text>
z31s1g56189522016-01-13 19:12:40 +0100396 <image resource="sort_empty"/>
z31s1g28f0a922015-11-07 18:50:22 +0100397 <action function="set">tw_gui_sort_order=1</action>
z31s1g56189522016-01-13 19:12:40 +0100398 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100399
z31s1g56189522016-01-13 19:12:40 +0100400 <button>
401 <highlight color="%highlight_color%"/>
402 <condition var1="tw_gui_sort_order" op="=" var2="2"/>
403 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
404 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500405 <text>{@sort_by_date_only=Date}</text>
z31s1g56189522016-01-13 19:12:40 +0100406 <image resource="sort_asc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100407 <action function="set">tw_gui_sort_order=-2</action>
z31s1g56189522016-01-13 19:12:40 +0100408 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100409
z31s1g56189522016-01-13 19:12:40 +0100410 <button>
411 <highlight color="%highlight_color%"/>
412 <condition var1="tw_gui_sort_order" op="=" var2="-2"/>
413 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
414 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500415 <text>{@sort_by_date_only=Date}</text>
z31s1g56189522016-01-13 19:12:40 +0100416 <image resource="sort_desc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100417 <action function="set">tw_gui_sort_order=2</action>
z31s1g56189522016-01-13 19:12:40 +0100418 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100419
z31s1g56189522016-01-13 19:12:40 +0100420 <button>
421 <highlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100422 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100423 <condition var1="tw_gui_sort_order" op="!=" var2="2"/>
424 <condition var1="tw_gui_sort_order" op="!=" var2="-2"/>
z31s1g28f0a922015-11-07 18:50:22 +0100425 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100426 <placement x="%btn3_col2_x%" y="%row1a_y%"/>
427 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500428 <text>{@sort_by_date_only=Date}</text>
z31s1g56189522016-01-13 19:12:40 +0100429 <image resource="sort_empty"/>
z31s1g28f0a922015-11-07 18:50:22 +0100430 <action function="set">tw_gui_sort_order=2</action>
z31s1g56189522016-01-13 19:12:40 +0100431 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100432
z31s1g56189522016-01-13 19:12:40 +0100433 <button>
434 <highlight color="%highlight_color%"/>
435 <condition var1="tw_gui_sort_order" op="=" var2="3"/>
436 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
437 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500438 <text>{@sort_by_size_only=Size}</text>
z31s1g56189522016-01-13 19:12:40 +0100439 <image resource="sort_asc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100440 <action function="set">tw_gui_sort_order=-3</action>
z31s1g56189522016-01-13 19:12:40 +0100441 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100442
z31s1g56189522016-01-13 19:12:40 +0100443 <button>
444 <highlight color="%highlight_color%"/>
445 <condition var1="tw_gui_sort_order" op="=" var2="-3"/>
446 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
447 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500448 <text>{@sort_by_size_only=Size}</text>
z31s1g56189522016-01-13 19:12:40 +0100449 <image resource="sort_desc"/>
z31s1g28f0a922015-11-07 18:50:22 +0100450 <action function="set">tw_gui_sort_order=3</action>
z31s1g56189522016-01-13 19:12:40 +0100451 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100452
z31s1g56189522016-01-13 19:12:40 +0100453 <button>
454 <highlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100455 <conditions>
z31s1g56189522016-01-13 19:12:40 +0100456 <condition var1="tw_gui_sort_order" op="!=" var2="3"/>
457 <condition var1="tw_gui_sort_order" op="!=" var2="-3"/>
z31s1g28f0a922015-11-07 18:50:22 +0100458 </conditions>
z31s1g56189522016-01-13 19:12:40 +0100459 <placement x="%btn3_col3_x%" y="%row1a_y%"/>
460 <font resource="font_s" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500461 <text>{@sort_by_size_only=Size}</text>
z31s1g56189522016-01-13 19:12:40 +0100462 <image resource="sort_empty"/>
z31s1g28f0a922015-11-07 18:50:22 +0100463 <action function="set">tw_gui_sort_order=3</action>
z31s1g56189522016-01-13 19:12:40 +0100464 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100465 </template>
466
467 <template name="tabs_backup">
z31s1g56189522016-01-13 19:12:40 +0100468 <button style="tab">
469 <placement x="0" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500470 <text>{@tab_backup=BACKUP}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100471 <action function="page">backup</action>
z31s1g56189522016-01-13 19:12:40 +0100472 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100473
z31s1g56189522016-01-13 19:12:40 +0100474 <button style="tab">
475 <placement x="%tab3_col2_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500476 <text>{@tab_options=OPTIONS}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100477 <action function="page">backup_options</action>
z31s1g56189522016-01-13 19:12:40 +0100478 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100479 </template>
480
481 <template name="tabs_settings">
z31s1g56189522016-01-13 19:12:40 +0100482 <button style="tab">
483 <placement x="0" y="%row1_y%" w="%tab5_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500484 <text>{@tab_general=GENERAL}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100485 <action function="page">settings</action>
z31s1g56189522016-01-13 19:12:40 +0100486 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100487
z31s1g56189522016-01-13 19:12:40 +0100488 <button style="tab">
489 <placement x="%tab5_col2_x%" y="%row1_y%" w="%tab5_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <text>{@tab_time_zone=TIME ZONE}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100491 <action function="page">settings_timezone</action>
z31s1g56189522016-01-13 19:12:40 +0100492 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100493
z31s1g56189522016-01-13 19:12:40 +0100494 <button style="tab">
495 <placement x="%tab5_col3_x%" y="%row1_y%" w="%tab5_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500496 <text>{@tab_screen=SCREEN}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100497 <action function="page">settings_screen</action>
z31s1g56189522016-01-13 19:12:40 +0100498 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100499
z31s1g56189522016-01-13 19:12:40 +0100500 <button style="tab">
501 <placement x="%tab5_col4_x%" y="%row1_y%" w="%tab5_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500502 <text>{@tab_vibration=VIBRATION}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100503 <action function="page">settings_vibration</action>
z31s1g56189522016-01-13 19:12:40 +0100504 </button>
Ethan Yonker74db1572015-10-28 12:44:49 -0500505
z31s1g56189522016-01-13 19:12:40 +0100506 <button style="tab">
507 <placement x="%tab5_col5_x%" y="%row1_y%" w="%tab5_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500508 <text>{@tab_language=LANGUAGE}</text>
509 <action function="page">settings_language</action>
z31s1g56189522016-01-13 19:12:40 +0100510 </button>
z31s1g28f0a922015-11-07 18:50:22 +0100511 </template>
512
513 <template name="console">
z31s1g56189522016-01-13 19:12:40 +0100514 <console>
515 <placement x="%indent%" y="%row2_y%" w="%content_width%" h="%console_height%"/>
516 </console>
z31s1g28f0a922015-11-07 18:50:22 +0100517
z31s1g56189522016-01-13 19:12:40 +0100518 <fill color="%fileselector_linecolor%">
519 <placement x="%indent%" y="row2_y" w="%content_width%" h="input_line_width" placement="1"/>
520 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100521
z31s1g56189522016-01-13 19:12:40 +0100522 <fill color="%fileselector_linecolor%">
523 <placement x="%indent%" y="row17_y" w="%content_width%" h="input_line_width"/>
524 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100525 </template>
526
527 <template name="console_terminal">
z31s1g56189522016-01-13 19:12:40 +0100528 <console>
529 <placement x="%indent%" y="%row2_y%" w="content_width" h="%console_terminal_height%"/>
530 </console>
z31s1g28f0a922015-11-07 18:50:22 +0100531
z31s1g56189522016-01-13 19:12:40 +0100532 <fill color="%fileselector_linecolor%">
533 <placement x="%indent%" y="row2_y" w="%content_width%" h="input_line_width" placement="1"/>
534 </fill>
z31s1g28f0a922015-11-07 18:50:22 +0100535
z31s1g56189522016-01-13 19:12:40 +0100536 <fill color="%fileselector_linecolor%">
537 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
538 </fill>
539 </template>
540
541 <template name="keyboardterminaltemplate">
542 <keyboard>
543 <condition var1="tw_hide_kb" var2="0"/>
544 <placement x="0" y="%keyboard_terminal_y%" w="%screen_width%" h="42"/>
545 <keymargin x="0" y="0"/>
546 <background color="#111111"/>
547 <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>
548 <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>
549 <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="12" y="0"/>
550 <keylabel key="0:k:29" text="Ctrl"/>
551 <keylabel key="0:c:27" text="Esc"/>
552 <keylabel key="0:c:9" text="Tab"/>
553 <keylabel key="0:k:105" text="&lt;" resource="kb_arrow_left"/>
554 <keylabel key="0:k:108" text="v" resource="kb_arrow_down"/>
555 <keylabel key="0:k:103" text="^" resource="kb_arrow_up"/>
556 <keylabel key="0:k:106" text="&gt;" resource="kb_arrow_right"/>
557 <highlight color="%highlight_color%"/>
558 <ctrlhighlight color="#0090CA80"/>
559 <layout1>
560 <keysize height="42" width="69"/>
561 <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"/>
562 </layout1>
563 </keyboard>
z31s1g28f0a922015-11-07 18:50:22 +0100564 </template>
565
566 <template name="keyboardtemplate">
z31s1g56189522016-01-13 19:12:40 +0100567 <keyboard>
568 <condition var1="tw_hide_kb" var2="0"/>
569 <placement x="0" y="%keyboard_y%" w="480" h="284"/>
z31s1g28f0a922015-11-07 18:50:22 +0100570 <keymargin x="4" y="4"/>
571 <background color="#111111"/>
572 <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>
573 <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>
574 <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="6" y="0"/>
575 <keylabel key="0:c:8" text="Bksp" resource="backspace"/>
576 <keylabel key="0:action" text="Enter" resource="enter"/>
577 <keylabel key=" " text="Space" resource="space"/>
z31s1g56189522016-01-13 19:12:40 +0100578 <highlight color="%highlight_color%"/>
579 <capshighlight color="%highlight_color%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100580 <layout1>
z31s1g56189522016-01-13 19:12:40 +0100581 <keysize height="71" width="48"/>
582 <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"/>
583 <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:"/>
584 <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"/>
585 <row4 key01="72:layout3" key02="/" key03="240: " key04="." key05="72:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100586 <keylabel key="0:layout2" text="Shift" resource="shift"/>
587 <keylabel key="0:layout3" text="?123"/>
588 </layout1>
589 <layout2>
590 <keysize height="71" width="48" capslock="0" revert_layout="1"/>
z31s1g56189522016-01-13 19:12:40 +0100591 <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"/>
592 <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:"/>
593 <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"/>
594 <row4 key01="72:layout3" key02="/" key03="240: " key04="." key05="72:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100595 <keylabel key="0:layout1" text="Shift" resource="shift_fill"/>
596 <keylabel key="0:layout3" text="?123"/>
597 </layout2>
598 <layout3>
z31s1g56189522016-01-13 19:12:40 +0100599 <keysize height="71" width="48"/>
600 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0"/>
601 <row2 key01="@" key02="#" key03="$" key04="%" key05="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")"/>
602 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8"/>
603 <row4 key01="72:layout1" key02="," key03="240: " key04="." key05="72:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100604 <keylabel key="0:layout1" text="ABC"/>
605 <keylabel key="0:layout4" text="~\{"/>
606 </layout3>
607 <layout4>
z31s1g56189522016-01-13 19:12:40 +0100608 <keysize height="71" width="48"/>
609 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}"/>
610 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]"/>
611 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="&lt;" key08="&gt;" key09="72:c:8"/>
612 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="." key05="72:action"/>
z31s1g28f0a922015-11-07 18:50:22 +0100613 <keylabel key="0:layout1" text="ABC"/>
614 <keylabel key="0:layout3" text="?123"/>
615 </layout4>
z31s1g56189522016-01-13 19:12:40 +0100616 </keyboard>
z31s1g28f0a922015-11-07 18:50:22 +0100617 </template>
618 </templates>
619</recovery>