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