summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/devices/280x280/res/fonts/Roboto-Condensed-12.datbin0 -> 1527 bytes
-rw-r--r--gui/devices/280x280/res/images/back-icon.pngbin0 -> 672 bytes
-rw-r--r--gui/devices/280x280/res/images/checkbox_checked.pngbin0 -> 907 bytes
-rw-r--r--gui/devices/280x280/res/images/checkbox_empty.pngbin0 -> 304 bytes
-rw-r--r--gui/devices/280x280/res/images/curtain.jpgbin0 -> 17566 bytes
-rw-r--r--gui/devices/280x280/res/images/file.pngbin0 -> 511 bytes
-rw-r--r--gui/devices/280x280/res/images/folder.pngbin0 -> 515 bytes
-rw-r--r--gui/devices/280x280/res/images/home-icon.pngbin0 -> 742 bytes
-rw-r--r--gui/devices/280x280/res/images/indeterminate001.pngbin0 -> 11032 bytes
-rw-r--r--gui/devices/280x280/res/images/indeterminate002.pngbin0 -> 11093 bytes
-rw-r--r--gui/devices/280x280/res/images/indeterminate003.pngbin0 -> 11063 bytes
-rw-r--r--gui/devices/280x280/res/images/indeterminate004.pngbin0 -> 10972 bytes
-rw-r--r--gui/devices/280x280/res/images/indeterminate005.pngbin0 -> 11077 bytes
-rw-r--r--gui/devices/280x280/res/images/indeterminate006.pngbin0 -> 11045 bytes
-rw-r--r--gui/devices/280x280/res/images/keyboard1.pngbin0 -> 11274 bytes
-rw-r--r--gui/devices/280x280/res/images/keyboard2.pngbin0 -> 11778 bytes
-rw-r--r--gui/devices/280x280/res/images/keyboard3.pngbin0 -> 11329 bytes
-rw-r--r--gui/devices/280x280/res/images/keyboard4.pngbin0 -> 10256 bytes
-rw-r--r--gui/devices/280x280/res/images/medium-button.pngbin0 -> 736 bytes
-rw-r--r--gui/devices/280x280/res/images/menu-button.pngbin0 -> 1179 bytes
-rw-r--r--gui/devices/280x280/res/images/minus-button.pngbin0 -> 385 bytes
-rw-r--r--gui/devices/280x280/res/images/plus-button.pngbin0 -> 597 bytes
-rw-r--r--gui/devices/280x280/res/images/progress_empty.pngbin0 -> 221 bytes
-rw-r--r--gui/devices/280x280/res/images/progress_fill.pngbin0 -> 254 bytes
-rw-r--r--gui/devices/280x280/res/images/radio_empty.pngbin0 -> 1137 bytes
-rw-r--r--gui/devices/280x280/res/images/radio_selected.pngbin0 -> 1317 bytes
-rw-r--r--gui/devices/280x280/res/images/slideout.pngbin0 -> 1103 bytes
-rw-r--r--gui/devices/280x280/res/images/slider-touch.pngbin0 -> 4503 bytes
-rw-r--r--gui/devices/280x280/res/images/slider-used.pngbin0 -> 1874 bytes
-rw-r--r--gui/devices/280x280/res/images/slider.pngbin0 -> 3210 bytes
-rw-r--r--gui/devices/280x280/res/images/sort-button.pngbin0 -> 509 bytes
-rw-r--r--gui/devices/280x280/res/images/top-bar.jpgbin0 -> 949 bytes
-rw-r--r--gui/devices/280x280/res/images/unlock.pngbin0 -> 8453 bytes
-rw-r--r--gui/devices/280x280/res/ui.xml406
-rw-r--r--gui/devices/watch/res/watch.xml2
35 files changed, 407 insertions, 1 deletions
diff --git a/gui/devices/280x280/res/fonts/Roboto-Condensed-12.dat b/gui/devices/280x280/res/fonts/Roboto-Condensed-12.dat
new file mode 100644
index 000000000..b48c4f213
--- /dev/null
+++ b/gui/devices/280x280/res/fonts/Roboto-Condensed-12.dat
Binary files differ
diff --git a/gui/devices/280x280/res/images/back-icon.png b/gui/devices/280x280/res/images/back-icon.png
new file mode 100644
index 000000000..a136c5dfc
--- /dev/null
+++ b/gui/devices/280x280/res/images/back-icon.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/checkbox_checked.png b/gui/devices/280x280/res/images/checkbox_checked.png
new file mode 100644
index 000000000..82cde7e2d
--- /dev/null
+++ b/gui/devices/280x280/res/images/checkbox_checked.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/checkbox_empty.png b/gui/devices/280x280/res/images/checkbox_empty.png
new file mode 100644
index 000000000..720a81059
--- /dev/null
+++ b/gui/devices/280x280/res/images/checkbox_empty.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/curtain.jpg b/gui/devices/280x280/res/images/curtain.jpg
new file mode 100644
index 000000000..c0865b8f2
--- /dev/null
+++ b/gui/devices/280x280/res/images/curtain.jpg
Binary files differ
diff --git a/gui/devices/280x280/res/images/file.png b/gui/devices/280x280/res/images/file.png
new file mode 100644
index 000000000..dcc737482
--- /dev/null
+++ b/gui/devices/280x280/res/images/file.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/folder.png b/gui/devices/280x280/res/images/folder.png
new file mode 100644
index 000000000..6fb128f0a
--- /dev/null
+++ b/gui/devices/280x280/res/images/folder.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/home-icon.png b/gui/devices/280x280/res/images/home-icon.png
new file mode 100644
index 000000000..d24bd26a8
--- /dev/null
+++ b/gui/devices/280x280/res/images/home-icon.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/indeterminate001.png b/gui/devices/280x280/res/images/indeterminate001.png
new file mode 100644
index 000000000..0b2b9b515
--- /dev/null
+++ b/gui/devices/280x280/res/images/indeterminate001.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/indeterminate002.png b/gui/devices/280x280/res/images/indeterminate002.png
new file mode 100644
index 000000000..dd94cb685
--- /dev/null
+++ b/gui/devices/280x280/res/images/indeterminate002.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/indeterminate003.png b/gui/devices/280x280/res/images/indeterminate003.png
new file mode 100644
index 000000000..53716cda3
--- /dev/null
+++ b/gui/devices/280x280/res/images/indeterminate003.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/indeterminate004.png b/gui/devices/280x280/res/images/indeterminate004.png
new file mode 100644
index 000000000..71a6b58f7
--- /dev/null
+++ b/gui/devices/280x280/res/images/indeterminate004.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/indeterminate005.png b/gui/devices/280x280/res/images/indeterminate005.png
new file mode 100644
index 000000000..bda971c65
--- /dev/null
+++ b/gui/devices/280x280/res/images/indeterminate005.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/indeterminate006.png b/gui/devices/280x280/res/images/indeterminate006.png
new file mode 100644
index 000000000..bfd38e2b2
--- /dev/null
+++ b/gui/devices/280x280/res/images/indeterminate006.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/keyboard1.png b/gui/devices/280x280/res/images/keyboard1.png
new file mode 100644
index 000000000..b6ce15d01
--- /dev/null
+++ b/gui/devices/280x280/res/images/keyboard1.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/keyboard2.png b/gui/devices/280x280/res/images/keyboard2.png
new file mode 100644
index 000000000..2c0a99e2c
--- /dev/null
+++ b/gui/devices/280x280/res/images/keyboard2.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/keyboard3.png b/gui/devices/280x280/res/images/keyboard3.png
new file mode 100644
index 000000000..3a3f898e0
--- /dev/null
+++ b/gui/devices/280x280/res/images/keyboard3.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/keyboard4.png b/gui/devices/280x280/res/images/keyboard4.png
new file mode 100644
index 000000000..cba351a66
--- /dev/null
+++ b/gui/devices/280x280/res/images/keyboard4.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/medium-button.png b/gui/devices/280x280/res/images/medium-button.png
new file mode 100644
index 000000000..4422c1679
--- /dev/null
+++ b/gui/devices/280x280/res/images/medium-button.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/menu-button.png b/gui/devices/280x280/res/images/menu-button.png
new file mode 100644
index 000000000..2dd0428ba
--- /dev/null
+++ b/gui/devices/280x280/res/images/menu-button.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/minus-button.png b/gui/devices/280x280/res/images/minus-button.png
new file mode 100644
index 000000000..345139e5e
--- /dev/null
+++ b/gui/devices/280x280/res/images/minus-button.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/plus-button.png b/gui/devices/280x280/res/images/plus-button.png
new file mode 100644
index 000000000..a44f764bf
--- /dev/null
+++ b/gui/devices/280x280/res/images/plus-button.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/progress_empty.png b/gui/devices/280x280/res/images/progress_empty.png
new file mode 100644
index 000000000..cdbb9b0e5
--- /dev/null
+++ b/gui/devices/280x280/res/images/progress_empty.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/progress_fill.png b/gui/devices/280x280/res/images/progress_fill.png
new file mode 100644
index 000000000..eb4cdcabe
--- /dev/null
+++ b/gui/devices/280x280/res/images/progress_fill.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/radio_empty.png b/gui/devices/280x280/res/images/radio_empty.png
new file mode 100644
index 000000000..f4cfa4f7c
--- /dev/null
+++ b/gui/devices/280x280/res/images/radio_empty.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/radio_selected.png b/gui/devices/280x280/res/images/radio_selected.png
new file mode 100644
index 000000000..d92f3ce35
--- /dev/null
+++ b/gui/devices/280x280/res/images/radio_selected.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/slideout.png b/gui/devices/280x280/res/images/slideout.png
new file mode 100644
index 000000000..14508c8fb
--- /dev/null
+++ b/gui/devices/280x280/res/images/slideout.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/slider-touch.png b/gui/devices/280x280/res/images/slider-touch.png
new file mode 100644
index 000000000..25d5e1c48
--- /dev/null
+++ b/gui/devices/280x280/res/images/slider-touch.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/slider-used.png b/gui/devices/280x280/res/images/slider-used.png
new file mode 100644
index 000000000..13f1c039d
--- /dev/null
+++ b/gui/devices/280x280/res/images/slider-used.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/slider.png b/gui/devices/280x280/res/images/slider.png
new file mode 100644
index 000000000..283f0a3bb
--- /dev/null
+++ b/gui/devices/280x280/res/images/slider.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/sort-button.png b/gui/devices/280x280/res/images/sort-button.png
new file mode 100644
index 000000000..229f392a1
--- /dev/null
+++ b/gui/devices/280x280/res/images/sort-button.png
Binary files differ
diff --git a/gui/devices/280x280/res/images/top-bar.jpg b/gui/devices/280x280/res/images/top-bar.jpg
new file mode 100644
index 000000000..5768497fc
--- /dev/null
+++ b/gui/devices/280x280/res/images/top-bar.jpg
Binary files differ
diff --git a/gui/devices/280x280/res/images/unlock.png b/gui/devices/280x280/res/images/unlock.png
new file mode 100644
index 000000000..18675592b
--- /dev/null
+++ b/gui/devices/280x280/res/images/unlock.png
Binary files differ
diff --git a/gui/devices/280x280/res/ui.xml b/gui/devices/280x280/res/ui.xml
new file mode 100644
index 000000000..5a705a0e9
--- /dev/null
+++ b/gui/devices/280x280/res/ui.xml
@@ -0,0 +1,406 @@
+<?xml version="1.0"?>
+
+<recovery>
+ <details>
+ <resolution width="280" height="280" />
+ <author>TeamWin</author>
+ <title>Backup Naowz</title>
+ <description>Default basic theme</description>
+ <preview>preview.jpg</preview>
+ </details>
+
+ <include>
+ <xmlfile name="watch.xml" />
+ </include>
+
+ <resources>
+ <resource name="font" type="font" filename="Roboto-Condensed-12" />
+ <resource name="mediumfont" type="font" filename="Roboto-Condensed-12" />
+ <resource name="filelist" type="font" filename="Roboto-Condensed-12" />
+ <resource name="top_bar" type="image" filename="top-bar.jpg" />
+ <resource name="main_button" type="image" filename="menu-button" />
+ <resource name="file_icon" type="image" filename="file" />
+ <resource name="folder_icon" type="image" filename="folder" />
+ <resource name="slideout" type="image" filename="slideout" />
+ <resource name="progress" type="animation" filename="indeterminate" />
+ <resource name="progress_empty" type="image" filename="progress_empty" />
+ <resource name="progress_full" type="image" filename="progress_fill" />
+ <resource name="checkbox_false" type="image" filename="checkbox_empty" />
+ <resource name="checkbox_true" type="image" filename="checkbox_checked" />
+ <resource name="radio_false" type="image" filename="radio_empty" />
+ <resource name="radio_true" type="image" filename="radio_selected" />
+ <resource name="medium_button" type="image" filename="medium-button" />
+ <resource name="sort_button" type="image" filename="sort-button" />
+ <resource name="minus_button" type="image" filename="minus-button" />
+ <resource name="plus_button" type="image" filename="plus-button" />
+ <resource name="home_icon" type="image" filename="home-icon" />
+ <resource name="back_icon" type="image" filename="back-icon" />
+ <resource name="slider" type="image" filename="slider" />
+ <resource name="slider-used" type="image" filename="slider-used" />
+ <resource name="slider-touch" type="image" filename="slider-touch" />
+ <resource name="unlock-icon" type="image" filename="unlock" />
+ <resource name="keyboard1" type="image" filename="keyboard1" />
+ <resource name="keyboard2" type="image" filename="keyboard2" />
+ <resource name="keyboard3" type="image" filename="keyboard3" />
+ <resource name="keyboard4" type="image" filename="keyboard4" />
+ </resources>
+
+ <variables>
+ <variable name="col1_x" value="6" />
+ <variable name="col2_x" value="148" />
+ <variable name="col_center_x" value="77" />
+ <variable name="col_center_medium_x" value="115" />
+ <variable name="center_x" value="140" />
+ <variable name="row1_home_y" value="40" />
+ <variable name="row2_home_y" value="95" />
+ <variable name="row3_home_y" value="150" />
+ <variable name="row4_home_y" value="205" />
+ <variable name="row1_y" value="25" />
+ <variable name="row2_y" value="85" />
+ <variable name="row3_y" value="145" />
+ <variable name="row4_y" value="205" />
+ <variable name="row_queue_y" value="164" />
+ <variable name="row1_header_y" value="0" />
+ <variable name="row1_text_y" value="19" />
+ <variable name="row2_text_y" value="38" />
+ <variable name="row3_text_y" value="57" />
+ <variable name="row4_text_y" value="76" />
+ <variable name="row5_text_y" value="95" />
+ <variable name="row6_text_y" value="114" />
+ <variable name="row7_text_y" value="133" />
+ <variable name="row8_text_y" value="152" />
+ <variable name="row9_text_y" value="171" />
+ <variable name="row10_text_y" value="190" />
+ <variable name="row11_text_y" value="209" />
+ <variable name="row12_text_y" value="228" />
+ <variable name="row13_text_y" value="237" />
+ <variable name="zip_status_y" value="265" />
+ <variable name="backup_text_y" value="50" />
+ <variable name="col_progressbar_x" value="31" />
+ <variable name="row_progressbar_y" value="250" />
+ <variable name="col1_medium_x" value="6" />
+ <variable name="col2_medium_x" value="79" />
+ <variable name="col3_medium_x" value="150" />
+ <variable name="col4_medium_x" value="223" />
+ <variable name="row1_medium_y" value="24" />
+ <variable name="row2_medium_y" value="64" />
+ <variable name="row3_medium_y" value="104" />
+ <variable name="row4_medium_y" value="144" />
+ <variable name="row5_medium_y" value="184" />
+ <variable name="row6_medium_y" value="224" />
+ <variable name="row7_medium_y" value="264" />
+ <variable name="slider_x" value="40" />
+ <variable name="slider_y" value="234" />
+ <variable name="slider_text_y" value="254" />
+ <variable name="button_text_color" value="#AAAAAA" />
+ <variable name="text_color" value="#FFFFFF" />
+ <variable name="text_success_color" value="#33B5E5" />
+ <variable name="text_fail_color" value="#FF0101" />
+ <variable name="highlight_color" value="#90909080" />
+ <variable name="caps_highlight_color" value="#33B5E580" />
+ <variable name="home_button_x" value="3" />
+ <variable name="home_button_y" value="262" />
+ <variable name="back_button_x" value="244" />
+ <variable name="back_button_y" value="262" />
+ <variable name="sort_text_x" value="16" />
+ <variable name="sort_asc_text_y" value="205" />
+ <variable name="sort_asc_button_y" value="203" />
+ <variable name="sort_desc_text_y" value="230" />
+ <variable name="sort_desc_button_y" value="228" />
+ <variable name="sort_col1_button_x" value="125" />
+ <variable name="sort_col2_button_x" value="175" />
+ <variable name="sort_col3_button_x" value="225" />
+ <variable name="input_width" value="268" />
+ <variable name="input_width_conf" value="10" />
+ <variable name="input_height" value="18" />
+ <variable name="input_background_color" value="#303030" />
+ <variable name="input_cursor_color" value="#33B5E5" />
+ <variable name="input_cursor_width" value="2" />
+ <variable name="console_x" value="0" />
+ <variable name="console_width" value="280" />
+ <variable name="console_foreground" value="#A0A0A0" />
+ <variable name="warning" value="#F8F8A0" />
+ <variable name="error" value="#FF4040" />
+ <variable name="highlight" value="#33B5E5" />
+ <variable name="console_background" value="#303030" />
+ <variable name="console_scroll" value="#303030" />
+ <variable name="console_action_height" value="140" />
+ <variable name="console_install_height" value="140" />
+ <variable name="console_installdone_height" value="140" />
+ <variable name="fileselector_x" value="0" />
+ <variable name="fileselector_y" value="44" />
+ <variable name="fileselector_width" value="280" />
+ <variable name="fileselector_install_height" value="152" />
+ <variable name="fileselector_header_background" value="#202020" />
+ <variable name="fileselector_header_textcolor" value="#AAAAAA" />
+ <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
+ <variable name="fileselector_header_separatorheight" value="2" />
+ <variable name="fileselector_separatorcolor" value="#505050" />
+ <variable name="fileselector_separatorheight" value="1" />
+ <variable name="fileselector_background" value="#303030" />
+ <variable name="fileselector_highlight_color" value="#505050" />
+ <variable name="fileselector_highlight_font_color" value="#33B5E5" />
+ <variable name="fileselector_spacing" value="12" />
+ <variable name="fastscroll_linecolor" value="#808080" />
+ <variable name="fastscroll_rectcolor" value="#808080" />
+ <variable name="fastscroll_w" value="32" />
+ <variable name="fastscroll_linew" value="1" />
+ <variable name="fastscroll_rectw" value="18" />
+ <variable name="fastscroll_recth" value="31" />
+ <variable name="listbox_x" value="0" />
+ <variable name="listbox_width" value="280" />
+ <variable name="listbox_background" value="#303030" />
+ <variable name="listbox_spacing" value="12" />
+ <variable name="sd_plus_x" value="174" />
+ <variable name="sdext_text_x" value="56" />
+ <variable name="sdext_text_y" value="30" />
+ <variable name="sdswap_button_y" value="60" />
+ <variable name="sdswap_text_x" value="56" />
+ <variable name="sdswap_text_y" value="63" />
+ <variable name="sdfilesystem_text_y" value="92" />
+ <variable name="sdfilesystem_button_y" value="120" />
+ <variable name="lock_x" value="96" />
+ <variable name="lock_y" value="70" />
+ <variable name="filemanager_select_x" value="115" />
+ <variable name="filemanager_select_y" value="250" />
+ <variable name="terminal_console_height" value="114" />
+ <variable name="terminal_text_y" value="116" />
+ <variable name="terminal_button_y" value="250" />
+ <variable name="listbox_tz_height" value="139" />
+ <variable name="row_dst_text_y" value="142" />
+ <variable name="row_offset_text_y" value="163" />
+ <variable name="row_offset_medium_y" value="179" />
+ <variable name="tz_set_y" value="237" />
+ <variable name="tz_current_y" value="221" />
+ <variable name="button_fill_color" value="#303030" />
+ <variable name="button_fill_full_width" value="268" />
+ <variable name="button_fill_main_width" value="126" />
+ <variable name="button_fill_med_width" value="65" />
+ <variable name="button_fill_small_width" value="32" />
+ <variable name="button_fill_main_height" value="40" />
+ <variable name="button_fill_half_height" value="20" />
+ <variable name="button_fill_quarter_height" value="20" />
+ <variable name="button_refresh_x" value="152" />
+ <variable name="backup_list_y" value="26" />
+ <variable name="backup_list_height" value="154" />
+ <variable name="restore_list_height" value="180" />
+ <variable name="backup_button_row1" value="184" />
+ <variable name="backup_button_row2" value="208" />
+ <variable name="mount_list_height" value="170" />
+ <variable name="mount_storage_row" value="175" />
+ <variable name="storage_list_height" value="134" />
+ <variable name="wipe_list_height" value="194" />
+ <variable name="wipe_button_y" value="170" />
+ <variable name="slidervalue_w" value="268" />
+ <variable name="slidervalue_line_clr" value="#FFFFFF" />
+ <variable name="slidervalue_slider_clr" value="#33B5E5" />
+ <variable name="slidervalue_lineh" value="1" />
+ <variable name="slidervalue_padding" value="8" />
+ <variable name="slidervalue_sliderw" value="4" />
+ <variable name="slidervalue_sliderh" value="20" />
+ <variable name="wipe_button_row1" value="210" />
+ <variable name="invalid_partition_y" value="195" />
+ </variables>
+
+ <templates>
+ <template name="twrpheader">
+ <object type="image">
+ <image resource="top_bar" />
+ <placement x="0" y="0" />
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="3" y="3" />
+ <text>TWRP v%tw_version%</text>
+ </object>
+
+ <object type="text" color="%text_fail_color%">
+ <condition var1="tw_simulate_actions" var2="1" />
+ <font resource="font" />
+ <placement x="3" y="21" />
+ <text>SIMULATION</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="165" y="3" />
+ <text>%tw_time%</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="277" y="3" placement="1" />
+ <conditions>
+ <condition var1="tw_no_battery_percent" var2="0" />
+ <condition var1="tw_battery" op=">" var2="0" />
+ <condition var1="tw_battery" op="<" var2="101" />
+ </conditions>
+ <text>%tw_battery%</text>
+ </object>
+ </template>
+
+ <template name="header">
+ <background color="#000000FF" />
+
+ <object type="button">
+ <placement x="%home_button_x%" y="%home_button_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text></text>
+ <image resource="home_icon" />
+ <condition var1="tw_busy" var2="0" />
+ <action function="key">home</action>
+ </object>
+
+ <object type="button">
+ <placement x="%back_button_x%" y="%back_button_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text></text>
+ <image resource="back_icon" />
+ <condition var1="tw_busy" var2="0" />
+ <action function="key">back</action>
+ </object>
+
+ <object type="action">
+ <touch key="power" />
+ <action function="overlay">lock</action>
+ </object>
+
+ <object type="action">
+ <touch key="power+voldown" />
+ <action function="screenshot" />
+ </object>
+ </template>
+
+ <template name="progress_bar">
+ <object type="progressbar">
+ <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
+ <resource empty="progress_empty" full="progress_full" />
+ <data name="ui_progress" />
+ </object>
+
+ <object type="animation">
+ <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
+ <resource name="progress" />
+ <speed fps="15" render="2" />
+ <loop frame="1" />
+ </object>
+ </template>
+
+ <template name="action_page_console">
+ <object type="console">
+ <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
+ <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
+ <font resource="fixed" />
+ </object>
+ </template>
+
+ <template name="sort_options">
+ <object type="text" color="%text_color%">
+ <font resource="mediumfont" />
+ <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
+ <text>Sort Ascending:</text>
+ </object>
+
+ <object type="button">
+ <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
+ <font resource="mediumfont" color="%button_text_color%" />
+ <text>Name</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_sort_order=1</action>
+ </object>
+
+ <object type="button">
+ <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
+ <font resource="mediumfont" color="%button_text_color%" />
+ <text>Date</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_sort_order=2</action>
+ </object>
+
+ <object type="button">
+ <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
+ <font resource="mediumfont" color="%button_text_color%" />
+ <text>Size</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_sort_order=3</action>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="mediumfont" />
+ <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
+ <text>Sort Descending:</text>
+ </object>
+
+ <object type="button">
+ <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
+ <font resource="mediumfont" color="%button_text_color%" />
+ <text>Name</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_sort_order=-1</action>
+ </object>
+
+ <object type="button">
+ <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
+ <font resource="mediumfont" color="%button_text_color%" />
+ <text>Date</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_sort_order=-2</action>
+ </object>
+
+ <object type="button">
+ <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
+ <font resource="mediumfont" color="%button_text_color%" />
+ <text>Size</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_sort_order=-3</action>
+ </object>
+ </template>
+
+ <template name="footer">
+ <object type="console">
+ <slideout resource="slideout" x="113" y="255" />
+ <placement x="%console_x%" y="0" w="%console_width%" h="255" />
+ <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
+ <font resource="fixed" />
+ </object>
+ </template>
+
+ <template name="keyboardtemplate">
+ <object type="keyboard">
+ <placement x="0" y="136" />
+ <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
+ <highlight color="%highlight_color%" />
+ <capshighlight color="%caps_highlight_color%" />
+ <layout1>
+ <keysize height="32" width="28" />
+ <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" />
+ <row2 key01="42:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="42:l" />
+ <row3 key01="42:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="42:c:8" />
+ <row4 key01="42:layout3" key02="28:," key03="140: " key04="28:." key05="42:a:action" />
+ </layout1>
+ <layout2>
+ <keysize height="32" width="28" capslock="0" revert_layout="1" />
+ <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" />
+ <row2 key01="42:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="42:L" />
+ <row3 key01="42:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="42:c:8" />
+ <row4 key01="42:layout3" key02="28:," key03="140: " key04="28:." key05="42:action" />
+ </layout2>
+ <layout3>
+ <keysize height="32" width="28" />
+ <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
+ <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
+ <row3 key01="42:layout4" key02="!" key03="28:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="42:c:8" />
+ <row4 key01="42:layout1" key02="28:," key03="140: " key04="28:." key05="42:action" />
+ </layout3>
+ <layout4>
+ <keysize height="32" width="28" />
+ <row1 key01="~" key02="`" key03="|" key04="28:" key05="28:" key06="28:" key07="%" key08="28:" key09="{" key10="}" />
+ <row2 key01="28:" key02="28:" key03="28:" key04="28:" key05="28:" key06="^" key07="_" key08="=" key09="[" key10="]" />
+ <row3 key01="42:layout3" key02="28:" key03="28:" key04="28:" key05="28:" key06="\" key07="<" key08=">" key09="42:c:8" />
+ <row4 key01="42:layout1" key02="28:c:34" key03="140: " key04="28:." key05="42:action" />
+ </layout4>
+ </object>
+ </template>
+ </templates>
+</recovery>
diff --git a/gui/devices/watch/res/watch.xml b/gui/devices/watch/res/watch.xml
index 052c1bc5c..b4b7062fe 100644
--- a/gui/devices/watch/res/watch.xml
+++ b/gui/devices/watch/res/watch.xml
@@ -2107,7 +2107,7 @@
<object type="button">
<highlight color="%highlight_color%" />
- <condition var1="tw_has_usb_storage" var2="0" />
+ <condition var1="tw_has_usb_storage" var2="1" />
<placement x="%col1_x%" y="row4_y" />
<font resource="font" color="%button_text_color%" />
<text>USB Storage</text>