z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <recovery> |
| 4 | <details> |
| 5 | <resolution width="480" height="800" /> |
| 6 | <author>TeamWin</author> |
| 7 | <title>Backup Naowz</title> |
| 8 | <description>Default basic theme</description> |
| 9 | <preview>preview.jpg</preview> |
| 10 | </details> |
| 11 | |
| 12 | <include> |
| 13 | <xmlfile name="portrait.xml" /> |
| 14 | </include> |
| 15 | |
| 16 | <resources> |
| 17 | <resource name="font_l" type="font" filename="RobotoCondensed-Regular.ttf" size="24" /> |
| 18 | <resource name="font_m" type="font" filename="RobotoCondensed-Regular.ttf" size="18" /> |
| 19 | <resource name="font_s" type="font" filename="RobotoCondensed-Regular.ttf" size="14" /> |
| 20 | <resource name="fixed" type="font" filename="DroidSansMono.ttf" size="12" /> |
| 21 | |
| 22 | <resource name="keylabel" type="font" filename="RobotoCondensed-Regular.ttf" size="30" /> |
| 23 | <resource name="keylabel-small" type="font" filename="RobotoCondensed-Regular.ttf" size="20" /> |
| 24 | <resource name="keylabel-longpress" type="font" filename="RobotoCondensed-Regular.ttf" size="14" /> |
| 25 | |
| 26 | <resource name="logo" type="image" filename="logo" retainaspect="1" /> |
| 27 | <resource name="main_button" type="image" filename="main_button" /> |
| 28 | <resource name="main_button_half_height" type="image" filename="main_button_half_height" /> |
| 29 | <resource name="main_button_half_height_full_width" type="image" filename="main_button_half_height_full_width" /> |
| 30 | <resource name="fab_selectfolder" type="image" filename="fab_selectfolder" retainaspect="1" /> |
| 31 | <resource name="tab_3" type="image" filename="tab_3" /> |
| 32 | <resource name="tab_4" type="image" filename="tab_4" /> |
| 33 | <resource name="file" type="image" filename="file" retainaspect="1" /> |
| 34 | <resource name="folder" type="image" filename="folder" retainaspect="1" /> |
| 35 | <resource name="unlock_icon" type="image" filename="unlock_icon" retainaspect="1" /> |
| 36 | <resource name="home" type="image" filename="home" retainaspect="1" /> |
| 37 | <resource name="back" type="image" filename="back" retainaspect="1" /> |
| 38 | <resource name="console" type="image" filename="console" retainaspect="1" /> |
| 39 | <resource name="checkbox_false" type="image" filename="checkbox_false" retainaspect="1" /> |
| 40 | <resource name="checkbox_true" type="image" filename="checkbox_true" retainaspect="1" /> |
| 41 | <resource name="radio_false" type="image" filename="radio_false" retainaspect="1" /> |
| 42 | <resource name="radio_true" type="image" filename="radio_true" retainaspect="1" /> |
| 43 | <resource name="sort_asc" type="image" filename="sort_asc" /> |
| 44 | <resource name="sort_desc" type="image" filename="sort_desc" /> |
| 45 | <resource name="sort_empty" type="image" filename="sort_empty" /> |
| 46 | <resource name="progress" type="animation" filename="indeterminate" /> |
| 47 | <resource name="progress_empty" type="image" filename="progress_empty" /> |
| 48 | <resource name="progress_full" type="image" filename="progress_fill" /> |
| 49 | <resource name="slider" type="image" filename="slider" /> |
| 50 | <resource name="slider_used" type="image" filename="slider_used" /> |
| 51 | <resource name="slider_touch" type="image" filename="slider_touch" /> |
| 52 | <resource name="handle" type="image" filename="handle" /> |
| 53 | <resource name="cursor" type="image" filename="cursor" retainaspect="1" /> |
| 54 | |
| 55 | <resource name="backspace" type="image" filename="backspace" retainaspect="1" /> |
| 56 | <resource name="enter" type="image" filename="enter" retainaspect="1" /> |
| 57 | <resource name="shift" type="image" filename="shift" retainaspect="1" /> |
| 58 | <resource name="shift_fill" type="image" filename="shift_fill" retainaspect="1" /> |
| 59 | <resource name="space" type="image" filename="space" retainaspect="1" /> |
| 60 | </resources> |
| 61 | |
| 62 | <variables> |
| 63 | <variable name="tw_samsung_navbar" value="0" persist="1" /> |
| 64 | |
| 65 | <variable name="screen_width" value="480" /> |
| 66 | <variable name="screen_height" value="800" /> |
| 67 | <variable name="status_height" value="30" /> |
| 68 | <variable name="header_height" value="110" /> |
| 69 | <variable name="navbar_height" value="52" /> |
| 70 | <variable name="content_width" value="450" /> |
| 71 | <variable name="content_overlay_width" value="420" /> |
| 72 | <variable name="dialog_height" value="286" /> |
| 73 | <variable name="back_button_x" value="105" /> |
| 74 | <variable name="console_button_x" value="375" /> |
| 75 | <variable name="indent" value="15" /> |
| 76 | <variable name="col1_x_left" value="30" /> |
| 77 | <variable name="col1_x_header" value="82" /> |
| 78 | <variable name="center_x" value="240" /> |
| 79 | <variable name="col1_x_right" value="255" /> |
| 80 | <variable name="indent_right" value="465" /> |
| 81 | <variable name="tab_height" value="40" /> |
| 82 | <variable name="tab_indicator_height" value="3" /> |
| 83 | <variable name="tab3_width" value="160" /> |
| 84 | <variable name="tab4_width" value="120" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 85 | <variable name="tab5_width" value="96" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 86 | <variable name="tab3_col2_x" value="160" /> |
| 87 | <variable name="tab3_col3_x" value="320" /> |
| 88 | <variable name="tab4_col2_x" value="120" /> |
| 89 | <variable name="tab4_col4_x" value="360" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 90 | <variable name="tab5_col2_x" value="96" /> |
| 91 | <variable name="tab5_col3_x" value="192" /> |
| 92 | <variable name="tab5_col4_x" value="288" /> |
| 93 | <variable name="tab5_col5_x" value="384" /> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 94 | <variable name="btn3_col2_x" value="170" /> |
| 95 | <variable name="btn3_col3_x" value="325" /> |
| 96 | <variable name="btn4_col2_x" value="131" /> |
| 97 | <variable name="btn4_col3_x" value="247" /> |
| 98 | <variable name="btn4_col4_x" value="363" /> |
| 99 | <variable name="row1_header_y" value="2" /> |
| 100 | <variable name="row2_header_y" value="30" /> |
| 101 | <variable name="row3_header_y" value="40" /> |
| 102 | <variable name="row4_header_y" value="74" /> |
| 103 | <variable name="row1_y" value="110" /> |
| 104 | <variable name="row1a_y" value="123" /> |
| 105 | <variable name="row2_y" value="136" /> |
| 106 | <variable name="row2a_y" value="149" /> |
| 107 | <variable name="row_tab_y" value="147" /> |
| 108 | <variable name="row2_input_y" value="162" /> |
| 109 | <variable name="row3_y" value="162" /> |
| 110 | <variable name="row3_input_y" value="175" /> |
| 111 | <variable name="row3a_y" value="175" /> |
| 112 | <variable name="row4_y" value="188" /> |
| 113 | <variable name="row4_input_y" value="201" /> |
| 114 | <variable name="row4a_y" value="201" /> |
| 115 | <variable name="row5_y" value="214" /> |
| 116 | <variable name="row5a_y" value="227" /> |
| 117 | <variable name="row6_y" value="240" /> |
| 118 | <variable name="row6a_y" value="253" /> |
| 119 | <variable name="row7_y" value="266" /> |
| 120 | <variable name="row7a_y" value="279" /> |
| 121 | <variable name="row8_y" value="292" /> |
| 122 | <variable name="row8a_y" value="305" /> |
| 123 | <variable name="row9_y" value="318" /> |
| 124 | <variable name="row9a_y" value="331" /> |
| 125 | <variable name="row10_y" value="344" /> |
| 126 | <variable name="row10a_y" value="357" /> |
| 127 | <variable name="row11_y" value="370" /> |
| 128 | <variable name="row11a_y" value="383" /> |
| 129 | <variable name="row12_y" value="396" /> |
| 130 | <variable name="row12a_y" value="409" /> |
| 131 | <variable name="row13_y" value="422" /> |
| 132 | <variable name="row13a_y" value="435" /> |
| 133 | <variable name="row14_y" value="448" /> |
| 134 | <variable name="row14a_y" value="461" /> |
| 135 | <variable name="row15_y" value="474" /> |
| 136 | <variable name="row15a_y" value="487" /> |
| 137 | <variable name="row16_y" value="500" /> |
| 138 | <variable name="row16a_y" value="513" /> |
| 139 | <variable name="row17_y" value="526" /> |
| 140 | <variable name="row17a_y" value="539" /> |
| 141 | <variable name="row18_y" value="552" /> |
| 142 | <variable name="row18a_y" value="565" /> |
| 143 | <variable name="row19_y" value="578" /> |
| 144 | <variable name="row19a_y" value="591" /> |
| 145 | <variable name="row20_y" value="604" /> |
| 146 | <variable name="row20a_y" value="617" /> |
| 147 | <variable name="row21_y" value="630" /> |
| 148 | <variable name="row21a_y" value="643" /> |
| 149 | <variable name="row22_y" value="656" /> |
| 150 | <variable name="row22a_y" value="669" /> |
| 151 | <variable name="row23_y" value="682" /> |
| 152 | <variable name="row23a_y" value="695" /> |
| 153 | <variable name="row24_y" value="708" /> |
| 154 | <variable name="row24a_y" value="721" /> |
| 155 | <variable name="row25_y" value="734" /> |
| 156 | <variable name="navbar_y" value="748" /> |
| 157 | <variable name="navbar_btn_y" value="774" /> |
| 158 | <variable name="keyboard_y" value="464" /> |
| 159 | <variable name="background_color" value="#1A1A1A" /> |
| 160 | <variable name="accent_color" value="#0090CA" /> |
| 161 | <variable name="text_color" value="#EEEEEE" /> |
| 162 | <variable name="text_button_color" value="#EEEEEE" /> |
| 163 | <variable name="text_success_color" value="#76FF03" /> |
| 164 | <variable name="text_fail_color" value="#FF0101" /> |
| 165 | <variable name="highlight_color" value="#1A1A1A80" /> |
| 166 | <variable name="caps_highlight_color" value="#22222280" /> |
| 167 | <variable name="transparent" value="#00000000" /> |
| 168 | <variable name="semi_transparent" value="#00000099" /> |
| 169 | <variable name="warning" value="#F8F8A0" /> |
| 170 | <variable name="error" value="#FF0101" /> |
| 171 | <variable name="highlight" value="#0090CA" /> |
| 172 | <variable name="fileselector_linecolor" value="#555555" /> |
| 173 | <variable name="fileselector_highlight_color" value="#555555" /> |
| 174 | <variable name="fileselector_separatorheight" value="1" /> |
| 175 | <variable name="fileselector_spacing" value="0" /> |
| 176 | <variable name="fileselector_install_height" value="468" /> |
| 177 | <variable name="fileselector_filemanager_height" value="559" /> |
| 178 | <variable name="partitionlist_spacing" value="0" /> |
| 179 | <variable name="partitionlist_storage_height" value="221" /> |
| 180 | <variable name="partitionlist_flashimage_height" value="182" /> |
| 181 | <variable name="partitionlist_wipe_height" value="442" /> |
| 182 | <variable name="partitionlist_mount_height" value="338" /> |
| 183 | <variable name="partitionlist_backup_height" value="312" /> |
| 184 | <variable name="listbox_timezone_height" value="306" /> |
| 185 | <variable name="listbox_settings_height" value="400" /> |
| 186 | <variable name="fastscroll_w" value="10" /> |
| 187 | <variable name="fastscroll_linew" value="2" /> |
| 188 | <variable name="fastscroll_rectw" value="10" /> |
| 189 | <variable name="fastscroll_recth" value="52" /> |
| 190 | <variable name="slidervalue_lineh" value="2" /> |
| 191 | <variable name="slidervalue_padding" value="0" /> |
| 192 | <variable name="slidervalue_sliderw" value="32" /> |
| 193 | <variable name="slidervalue_sliderh" value="48" /> |
| 194 | <variable name="slideout_height" value="700" /> |
| 195 | <variable name="slideout_bg_height" value="718" /> |
| 196 | <variable name="input_height" value="26" /> |
| 197 | <variable name="input_line_width" value="2" /> |
| 198 | <variable name="console_height" value="390" /> |
| 199 | <variable name="console_terminal_height" value="234" /> |
| 200 | <variable name="dialog_button_x" value="310" /> |
| 201 | <variable name="pattern_x" value="88" /> |
| 202 | <variable name="pattern_dot_dia" value="12" /> |
| 203 | <variable name="pattern_line_w" value="4" /> |
| 204 | <variable name="pattern_size" value="392" /> |
| 205 | </variables> |
| 206 | |
| 207 | <mousecursor> |
| 208 | <placement w="15" h="15" /> |
| 209 | <background color="#FFFF00FF" resource="cursor" /> |
| 210 | <speed multiplier="2.5" /> |
| 211 | </mousecursor> |
| 212 | |
| 213 | <templates> |
| 214 | <template name="page"> |
| 215 | <background color="%background_color%" /> |
| 216 | |
| 217 | <object type="fill" color="%accent_color%"> |
| 218 | <placement x="0" y="0" w="%screen_width%" h="%header_height%" /> |
| 219 | </object> |
| 220 | |
| 221 | <object type="image"> |
| 222 | <condition var1="tw_busy" var2="1" /> |
| 223 | <image resource="logo" /> |
| 224 | <placement x="0" y="0" /> |
| 225 | </object> |
| 226 | |
| 227 | <object type="button"> |
| 228 | <condition var1="tw_busy" var2="0" /> |
| 229 | <placement x="0" y="0" /> |
| 230 | <image resource="logo" /> |
| 231 | <action function="key">home</action> |
| 232 | </object> |
| 233 | |
| 234 | <object type="fill" color="#00000030"> |
| 235 | <condition var1="tw_simulate_actions" var2="0" /> |
| 236 | <placement x="0" y="0" w="%screen_width%" h="%status_height%" /> |
| 237 | </object> |
| 238 | |
| 239 | <object type="fill" color="%text_fail_color%"> |
| 240 | <condition var1="tw_simulate_actions" var2="1" /> |
| 241 | <placement x="0" y="0" w="%screen_width%" h="%status_height%" /> |
| 242 | </object> |
| 243 | |
| 244 | <object type="text" color="%text_color%"> |
| 245 | <condition var1="tw_no_cpu_temp" var2="1" /> |
| 246 | <font resource="font_m" /> |
| 247 | <placement x="%indent%" y="%row1_header_y%" /> |
| 248 | <text>%tw_version%</text> |
| 249 | </object> |
| 250 | |
| 251 | <object type="text" color="%text_color%"> |
| 252 | <condition var1="tw_no_cpu_temp" var2="0" /> |
| 253 | <font resource="font_m" /> |
| 254 | <placement x="%indent%" y="%row1_header_y%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 255 | <text>{@cpu_temp=CPU: %tw_cpu_temp% °C}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 256 | </object> |
| 257 | |
| 258 | <object type="text" color="%text_color%"> |
| 259 | <font resource="font_m" /> |
| 260 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 261 | <text>%tw_time%</text> |
| 262 | </object> |
| 263 | |
| 264 | <object type="text" color="%text_color%"> |
| 265 | <conditions> |
| 266 | <condition var1="tw_no_battery_percent" var2="0" /> |
| 267 | <condition var1="tw_battery" op=">" var2="0" /> |
| 268 | <condition var1="tw_battery" op="<" var2="101" /> |
| 269 | </conditions> |
| 270 | <font resource="font_m" /> |
| 271 | <placement x="%indent_right%" y="%row1_header_y%" placement="1" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 272 | <text>{@battery_pct=Battery: %tw_battery%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 273 | </object> |
| 274 | |
| 275 | <object type="fill" color="#000000"> |
| 276 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
| 277 | </object> |
| 278 | |
| 279 | <object type="button"> |
| 280 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 281 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 282 | <image resource="back" /> |
| 283 | <condition var1="tw_busy" var2="0" /> |
| 284 | <action function="key">back</action> |
| 285 | </object> |
| 286 | |
| 287 | <object type="button"> |
| 288 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 289 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 290 | <image resource="console" /> |
| 291 | <condition var1="tw_busy" var2="0" /> |
| 292 | <action function="overlay">slideout</action> |
| 293 | </object> |
| 294 | |
| 295 | <object type="button"> |
| 296 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 297 | <image resource="home" /> |
| 298 | <condition var1="tw_busy" var2="0" /> |
| 299 | <action function="key">home</action> |
| 300 | </object> |
| 301 | |
| 302 | <object type="button"> |
| 303 | <condition var1="tw_samsung_navbar" op="!=" var2="1" /> |
| 304 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 305 | <image resource="console" /> |
| 306 | <condition var1="tw_busy" var2="0" /> |
| 307 | <action function="overlay">slideout</action> |
| 308 | </object> |
| 309 | |
| 310 | <object type="button"> |
| 311 | <condition var1="tw_samsung_navbar" op="=" var2="1" /> |
| 312 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 313 | <image resource="back" /> |
| 314 | <condition var1="tw_busy" var2="0" /> |
| 315 | <action function="key">back</action> |
| 316 | </object> |
| 317 | |
| 318 | <object type="action"> |
| 319 | <touch key="power" /> |
| 320 | <action function="overlay">lock</action> |
| 321 | </object> |
| 322 | |
| 323 | <object type="action"> |
| 324 | <touch key="power+voldown" /> |
| 325 | <action function="screenshot" /> |
| 326 | </object> |
| 327 | </template> |
| 328 | |
| 329 | <template name="progress_bar"> |
| 330 | <object type="progressbar"> |
| 331 | <placement x="%indent%" y="%row17a_y%" /> |
| 332 | <resource empty="progress_empty" full="progress_full" /> |
| 333 | <data name="ui_progress" /> |
| 334 | </object> |
| 335 | |
| 336 | <object type="animation"> |
| 337 | <placement x="%indent%" y="%row17a_y%" /> |
| 338 | <resource name="progress" /> |
| 339 | <speed fps="24" render="2" /> |
| 340 | <loop frame="1" /> |
| 341 | </object> |
| 342 | </template> |
| 343 | |
| 344 | <template name="sort_options"> |
| 345 | <object type="image"> |
| 346 | <placement x="%indent%" y="%row1a_y%" /> |
| 347 | <image resource="tab_3" /> |
| 348 | </object> |
| 349 | |
| 350 | <object type="image"> |
| 351 | <placement x="%btn3_col2_x%" y="%row1a_y%" /> |
| 352 | <image resource="tab_3" /> |
| 353 | </object> |
| 354 | |
| 355 | <object type="image"> |
| 356 | <placement x="%btn3_col3_x%" y="%row1a_y%" /> |
| 357 | <image resource="tab_3" /> |
| 358 | </object> |
| 359 | |
| 360 | <object type="button"> |
| 361 | <highlight color="%highlight_color%" /> |
| 362 | <condition var1="tw_gui_sort_order" op="=" var2="1" /> |
| 363 | <placement x="%indent%" y="%row1a_y%" /> |
| 364 | <font resource="font_s" color="%text_button_color%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 365 | <text>{@sort_by_name_only=Name}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 366 | <image resource="sort_asc" /> |
| 367 | <action function="set">tw_gui_sort_order=-1</action> |
| 368 | </object> |
| 369 | |
| 370 | <object type="button"> |
| 371 | <highlight color="%highlight_color%" /> |
| 372 | <condition var1="tw_gui_sort_order" op="=" var2="-1" /> |
| 373 | <placement x="%indent%" y="%row1a_y%" /> |
| 374 | <font resource="font_s" color="%text_button_color%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 375 | <text>{@sort_by_name_only=Name}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 376 | <image resource="sort_desc" /> |
| 377 | <action function="set">tw_gui_sort_order=1</action> |
| 378 | </object> |
| 379 | |
| 380 | <object type="button"> |
| 381 | <highlight color="%highlight_color%" /> |
| 382 | <conditions> |
| 383 | <condition var1="tw_gui_sort_order" op="!=" var2="1" /> |
| 384 | <condition var1="tw_gui_sort_order" op="!=" var2="-1" /> |
| 385 | </conditions> |
| 386 | <placement x="%indent%" y="%row1a_y%" /> |
| 387 | <font resource="font_s" color="%text_button_color%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 388 | <text>{@sort_by_name_only=Name}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 389 | <image resource="sort_empty" /> |
| 390 | <action function="set">tw_gui_sort_order=1</action> |
| 391 | </object> |
| 392 | |
| 393 | <object type="button"> |
| 394 | <highlight color="%highlight_color%" /> |
| 395 | <condition var1="tw_gui_sort_order" op="=" var2="2" /> |
| 396 | <placement x="%btn3_col2_x%" y="%row1a_y%" /> |
| 397 | <font resource="font_s" color="%text_button_color%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 398 | <text>{@sort_by_date_only=Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 399 | <image resource="sort_asc" /> |
| 400 | <action function="set">tw_gui_sort_order=-2</action> |
| 401 | </object> |
| 402 | |
| 403 | <object type="button"> |
| 404 | <highlight color="%highlight_color%" /> |
| 405 | <condition var1="tw_gui_sort_order" op="=" var2="-2" /> |
| 406 | <placement x="%btn3_col2_x%" y="%row1a_y%" /> |
| 407 | <font resource="font_s" color="%text_button_color%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 408 | <text>{@sort_by_date_only=Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 409 | <image resource="sort_desc" /> |
| 410 | <action function="set">tw_gui_sort_order=2</action> |
| 411 | </object> |
| 412 | |
| 413 | <object type="button"> |
| 414 | <highlight color="%highlight_color%" /> |
| 415 | <conditions> |
| 416 | <condition var1="tw_gui_sort_order" op="!=" var2="2" /> |
| 417 | <condition var1="tw_gui_sort_order" op="!=" var2="-2" /> |
| 418 | </conditions> |
| 419 | <placement x="%btn3_col2_x%" y="%row1a_y%" /> |
| 420 | <font resource="font_s" color="%text_button_color%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 421 | <text>{@sort_by_date_only=Date}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 422 | <image resource="sort_empty" /> |
| 423 | <action function="set">tw_gui_sort_order=2</action> |
| 424 | </object> |
| 425 | |
| 426 | <object type="button"> |
| 427 | <highlight color="%highlight_color%" /> |
| 428 | <condition var1="tw_gui_sort_order" op="=" var2="3" /> |
| 429 | <placement x="%btn3_col3_x%" y="%row1a_y%" /> |
| 430 | <font resource="font_s" color="%text_button_color%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 431 | <text>{@sort_by_size_only=Size}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 432 | <image resource="sort_asc" /> |
| 433 | <action function="set">tw_gui_sort_order=-3</action> |
| 434 | </object> |
| 435 | |
| 436 | <object type="button"> |
| 437 | <highlight color="%highlight_color%" /> |
| 438 | <condition var1="tw_gui_sort_order" op="=" var2="-3" /> |
| 439 | <placement x="%btn3_col3_x%" y="%row1a_y%" /> |
| 440 | <font resource="font_s" color="%text_button_color%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 441 | <text>{@sort_by_size_only=Size}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 442 | <image resource="sort_desc" /> |
| 443 | <action function="set">tw_gui_sort_order=3</action> |
| 444 | </object> |
| 445 | |
| 446 | <object type="button"> |
| 447 | <highlight color="%highlight_color%" /> |
| 448 | <conditions> |
| 449 | <condition var1="tw_gui_sort_order" op="!=" var2="3" /> |
| 450 | <condition var1="tw_gui_sort_order" op="!=" var2="-3" /> |
| 451 | </conditions> |
| 452 | <placement x="%btn3_col3_x%" y="%row1a_y%" /> |
| 453 | <font resource="font_s" color="%text_button_color%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 454 | <text>{@sort_by_size_only=Size}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 455 | <image resource="sort_empty" /> |
| 456 | <action function="set">tw_gui_sort_order=3</action> |
| 457 | </object> |
| 458 | </template> |
| 459 | |
| 460 | <template name="tabs_backup"> |
| 461 | <object type="button" style="tab"> |
| 462 | <placement x="0" y="%row1_y%" w="%tab3_width%" h="%tab_height%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 463 | <text>{@tab_backup=BACKUP}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 464 | <action function="page">backup</action> |
| 465 | </object> |
| 466 | |
| 467 | <object type="button" style="tab"> |
| 468 | <placement x="%tab3_col2_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 469 | <text>{@tab_options=OPTIONS}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 470 | <action function="page">backup_options</action> |
| 471 | </object> |
| 472 | </template> |
| 473 | |
| 474 | <template name="tabs_settings"> |
| 475 | <object type="button" style="tab"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 476 | <placement x="0" y="%row1_y%" w="%tab5_width%" h="%tab_height%" /> |
| 477 | <text>{@tab_general=GENERAL}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 478 | <action function="page">settings</action> |
| 479 | </object> |
| 480 | |
| 481 | <object type="button" style="tab"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 482 | <placement x="%tab5_col2_x%" y="%row1_y%" w="%tab5_width%" h="%tab_height%" /> |
| 483 | <text>{@tab_time_zone=TIME ZONE}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 484 | <action function="page">settings_timezone</action> |
| 485 | </object> |
| 486 | |
| 487 | <object type="button" style="tab"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 488 | <placement x="%tab5_col3_x%" y="%row1_y%" w="%tab5_width%" h="%tab_height%" /> |
| 489 | <text>{@tab_screen=SCREEN}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 490 | <action function="page">settings_screen</action> |
| 491 | </object> |
| 492 | |
| 493 | <object type="button" style="tab"> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 494 | <placement x="%tab5_col4_x%" y="%row1_y%" w="%tab5_width%" h="%tab_height%" /> |
| 495 | <text>{@tab_vibration=VIBRATION}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 496 | <action function="page">settings_vibration</action> |
| 497 | </object> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 498 | |
| 499 | <object type="button" style="tab"> |
| 500 | <placement x="%tab5_col5_x%" y="%row1_y%" w="%tab5_width%" h="%tab_height%" /> |
| 501 | <text>{@tab_language=LANGUAGE}</text> |
| 502 | <action function="page">settings_language</action> |
| 503 | </object> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 504 | </template> |
| 505 | |
| 506 | <template name="console"> |
| 507 | <object type="console"> |
| 508 | <placement x="%indent%" y="%row2_y%" w="%content_width%" h="%console_height%" /> |
| 509 | </object> |
| 510 | |
| 511 | <object type="fill" color="%fileselector_linecolor%"> |
| 512 | <placement x="%indent%" y="row2_y" w="%content_width%" h="input_line_width" placement="1" /> |
| 513 | </object> |
| 514 | |
| 515 | <object type="fill" color="%fileselector_linecolor%"> |
| 516 | <placement x="%indent%" y="row17_y" w="%content_width%" h="input_line_width" /> |
| 517 | </object> |
| 518 | </template> |
| 519 | |
| 520 | <template name="console_terminal"> |
| 521 | <object type="console"> |
| 522 | <placement x="%indent%" y="%row2_y%" w="content_width" h="%console_terminal_height%" /> |
| 523 | </object> |
| 524 | |
| 525 | <object type="fill" color="%fileselector_linecolor%"> |
| 526 | <placement x="%indent%" y="row2_y" w="%content_width%" h="input_line_width" placement="1" /> |
| 527 | </object> |
| 528 | |
| 529 | <object type="fill" color="%fileselector_linecolor%"> |
| 530 | <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width" /> |
| 531 | </object> |
| 532 | </template> |
| 533 | |
| 534 | <template name="keyboardtemplate"> |
| 535 | <object type="keyboard"> |
| 536 | <placement x="0" y="%keyboard_y%" w="480" h="284" /> |
| 537 | <keymargin x="4" y="4"/> |
| 538 | <background color="#111111"/> |
| 539 | <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/> |
| 540 | <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/> |
| 541 | <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="6" y="0"/> |
| 542 | <keylabel key="0:c:8" text="Bksp" resource="backspace"/> |
| 543 | <keylabel key="0:action" text="Enter" resource="enter"/> |
| 544 | <keylabel key=" " text="Space" resource="space"/> |
| 545 | <highlight color="%highlight_color%" /> |
| 546 | <capshighlight color="%highlight_color%" /> |
| 547 | <layout1> |
| 548 | <keysize height="71" width="48" /> |
| 549 | <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" /> |
| 550 | <row2 key01="24:" key02="a" long02="@" key03="s" long03="#" key04="d" long04="$" key05="f" long05="%" key06="g" long06="&" key07="h" long07="*" key08="j" long08="-" key09="k" long09="+" key10="l" long10="_" key11="24:" /> |
| 551 | <row3 key01="72:layout2" key02="z" long02="!" key03="x" long03='"' key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="72:c:8" /> |
| 552 | <row4 key01="72:layout3" key02="/" key03="240: " key04="." key05="72:action" /> |
| 553 | <keylabel key="0:layout2" text="Shift" resource="shift"/> |
| 554 | <keylabel key="0:layout3" text="?123"/> |
| 555 | </layout1> |
| 556 | <layout2> |
| 557 | <keysize height="71" width="48" capslock="0" revert_layout="1"/> |
| 558 | <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" /> |
| 559 | <row2 key01="24:" key02="A" long02="@" key03="S" long03="#" key04="D" long04="$" key05="F" long05="%" key06="G" long06="&" key07="H" long07="*" key08="J" long08="-" key09="K" long09="+" key10="L" long10="_" key11="24:" /> |
| 560 | <row3 key01="72:layout1" key02="Z" long02="!" key03="X" long03='"' key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="72:c:8" /> |
| 561 | <row4 key01="72:layout3" key02="/" key03="240: " key04="." key05="72:action" /> |
| 562 | <keylabel key="0:layout1" text="Shift" resource="shift_fill"/> |
| 563 | <keylabel key="0:layout3" text="?123"/> |
| 564 | </layout2> |
| 565 | <layout3> |
| 566 | <keysize height="71" width="48" /> |
| 567 | <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> |
| 568 | <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> |
| 569 | <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" /> |
| 570 | <row4 key01="72:layout1" key02="," key03="240: " key04="." key05="72:action" /> |
| 571 | <keylabel key="0:layout1" text="ABC"/> |
| 572 | <keylabel key="0:layout4" text="~\{"/> |
| 573 | </layout3> |
| 574 | <layout4> |
| 575 | <keysize height="71" width="48" /> |
| 576 | <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" /> |
| 577 | <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" /> |
| 578 | <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" /> |
| 579 | <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="." key05="72:action" /> |
| 580 | <keylabel key="0:layout1" text="ABC"/> |
| 581 | <keylabel key="0:layout3" text="?123"/> |
| 582 | </layout4> |
| 583 | </object> |
| 584 | </template> |
| 585 | </templates> |
| 586 | </recovery> |