z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 2 | <recovery> |
| 3 | <details> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 4 | <resolution width="320" height="320"/> |
| 5 | <roundscreen offset_x="40" offset_y="40"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 6 | <author>TeamWin</author> |
| 7 | <title>Backup Naowz</title> |
| 8 | <description>Default basic theme</description> |
Ethan Yonker | e95c486 | 2016-01-27 10:57:26 -0600 | [diff] [blame] | 9 | <preview>preview.png</preview> |
Captain Throwback | a1317fc | 2022-01-29 12:45:35 -0500 | [diff] [blame] | 10 | <themeversion>{themeversion}</themeversion> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 11 | </details> |
| 12 | |
| 13 | <include> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 14 | <xmlfile name="watch.xml"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 15 | </include> |
| 16 | |
| 17 | <resources> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 18 | <font name="font_l" filename="RobotoCondensed-Regular.ttf" size="24"/> |
| 19 | <font name="font_m" filename="RobotoCondensed-Regular.ttf" size="14"/> |
| 20 | <font name="font_s" filename="RobotoCondensed-Regular.ttf" size="12"/> |
| 21 | <font name="fixed" filename="DroidSansMono.ttf" size="14"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 22 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 23 | <font name="keylabel" filename="RobotoCondensed-Regular.ttf" size="18"/> |
| 24 | <font name="keylabel-small" filename="RobotoCondensed-Regular.ttf" size="14"/> |
| 25 | <font name="keylabel-longpress" filename="RobotoCondensed-Regular.ttf" size="12"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 26 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 27 | <image name="main_button" filename="main_button"/> |
| 28 | <image name="main_button_half_height" filename="main_button_half_height"/> |
| 29 | <image name="main_button_full_width" filename="main_button_full_width"/> |
| 30 | <image name="main_button_quarter_width" filename="main_button_quarter_width"/> |
| 31 | <image name="q_btn_arrow_right" filename="q_btn_arrow_right" retainaspect="1"/> |
| 32 | <image name="q_btn_arrow_left" filename="q_btn_arrow_left" retainaspect="1"/> |
| 33 | <image name="q_btn_storage" filename="q_btn_storage" retainaspect="1"/> |
| 34 | <image name="q_btn_refresh" filename="q_btn_refresh" retainaspect="1"/> |
| 35 | <image name="q_btn_accept" filename="q_btn_accept" retainaspect="1"/> |
| 36 | <image name="q_btn_accept_transp" filename="q_btn_accept_transp" retainaspect="1"/> |
| 37 | <image name="q_btn_addzip" filename="q_btn_addzip" retainaspect="1"/> |
| 38 | <image name="q_btn_encryption_dis" filename="q_btn_encryption_dis" retainaspect="1"/> |
| 39 | <image name="q_btn_encryption_en" filename="q_btn_encryption_en" retainaspect="1"/> |
| 40 | <image name="q_btn_delete" filename="q_btn_delete" retainaspect="1"/> |
| 41 | <image name="q_btn_reset" filename="q_btn_reset" retainaspect="1"/> |
| 42 | <image name="q_btn_folder" filename="q_btn_folder" retainaspect="1"/> |
| 43 | <image name="file" filename="file" retainaspect="1"/> |
| 44 | <image name="folder" filename="folder" retainaspect="1"/> |
| 45 | <image name="unlock_icon" filename="unlock_icon" retainaspect="1"/> |
| 46 | <image name="home" filename="home" retainaspect="1"/> |
| 47 | <image name="back" filename="back" retainaspect="1"/> |
| 48 | <image name="console" filename="console" retainaspect="1"/> |
| 49 | <image name="kb_hide" filename="kb_hide" retainaspect="1"/> |
| 50 | <image name="kb_show" filename="kb_show" retainaspect="1"/> |
| 51 | <image name="grid_less" filename="grid_less" retainaspect="1"/> |
| 52 | <image name="grid_more" filename="grid_more" retainaspect="1"/> |
| 53 | <image name="checkbox_false" filename="checkbox_false" retainaspect="1"/> |
| 54 | <image name="checkbox_false_small" filename="checkbox_false_small" retainaspect="1"/> |
| 55 | <image name="checkbox_true" filename="checkbox_true" retainaspect="1"/> |
| 56 | <image name="checkbox_true_small" filename="checkbox_true_small" retainaspect="1"/> |
| 57 | <image name="radio_false" filename="radio_false" retainaspect="1"/> |
| 58 | <image name="radio_true" filename="radio_true" retainaspect="1"/> |
| 59 | <animation name="progress" filename="indeterminate"/> |
| 60 | <image name="progress_empty" filename="progress_empty"/> |
| 61 | <image name="progress_full" filename="progress_fill"/> |
| 62 | <image name="slider" filename="slider"/> |
| 63 | <image name="slider_used" filename="slider_used"/> |
| 64 | <image name="slider_touch" filename="slider_touch"/> |
| 65 | <image name="handle" filename="handle"/> |
| 66 | <image name="backspace" filename="backspace" retainaspect="1"/> |
| 67 | <image name="enter" filename="enter" retainaspect="1"/> |
| 68 | <image name="shift" filename="shift" retainaspect="1"/> |
| 69 | <image name="shift_fill" filename="shift_fill" retainaspect="1"/> |
| 70 | <image name="space" filename="space" retainaspect="1"/> |
| 71 | <image name="close" filename="close" retainaspect="1"/> |
| 72 | <image name="kb_arrow_left" filename="kb_arrow_left" retainaspect="1"/> |
| 73 | <image name="kb_arrow_right" filename="kb_arrow_right" retainaspect="1"/> |
| 74 | <image name="kb_arrow_up" filename="kb_arrow_up" retainaspect="1"/> |
| 75 | <image name="kb_arrow_down" filename="kb_arrow_down" retainaspect="1"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 76 | </resources> |
| 77 | |
| 78 | <variables> |
z31s1g | faa4377 | 2016-01-18 09:57:05 -0600 | [diff] [blame] | 79 | <variable name="tw_hide_kb" value="0"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 80 | <variable name="screen_width" value="320"/> |
| 81 | <variable name="screen_half_width" value="160"/> |
| 82 | <variable name="screen_height" value="320"/> |
| 83 | <variable name="status_height" value="20"/> |
| 84 | <variable name="header_height" value="20"/> |
| 85 | <variable name="navbar_height" value="52"/> |
| 86 | <variable name="content_width" value="304"/> |
| 87 | <variable name="content_half_width" value="148"/> |
| 88 | <variable name="back_button_x" value="70"/> |
| 89 | <variable name="console_button_x" value="250"/> |
| 90 | <variable name="indent" value="8"/> |
| 91 | <variable name="col1_x_left" value="8"/> |
| 92 | <variable name="col1_x_left_negative" value="156"/> |
| 93 | <variable name="center_x" value="160"/> |
| 94 | <variable name="col1_x_right" value="164"/> |
| 95 | <variable name="indent_right" value="312"/> |
| 96 | <variable name="btn4_col2_x" value="86"/> |
| 97 | <variable name="btn4_col3_x" value="164"/> |
| 98 | <variable name="btn4_col4_x" value="242"/> |
Yillié | fcbaf81 | 2022-07-11 14:30:43 +0500 | [diff] [blame] | 99 | <variable name="status_topalign_header_y" value="0"/> |
| 100 | <variable name="status_centeralign_header_y" value="3"/> |
| 101 | <variable name="status_bottomalign_header_y" value="6"/> |
| 102 | <variable name="row1_header_y" value="{statusicons_align}"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 103 | <variable name="row2_header_y" value="20"/> |
| 104 | <variable name="row1_y" value="28"/> |
| 105 | <variable name="row1a_y" value="36"/> |
| 106 | <variable name="row2_y" value="44"/> |
| 107 | <variable name="row2a_y" value="52"/> |
| 108 | <variable name="row3_y" value="60"/> |
| 109 | <variable name="row3_input_y" value="64"/> |
| 110 | <variable name="row3a_y" value="68"/> |
| 111 | <variable name="row4_y" value="76"/> |
| 112 | <variable name="row4a_y" value="84"/> |
| 113 | <variable name="row5_y" value="92"/> |
| 114 | <variable name="row5a_y" value="100"/> |
| 115 | <variable name="row6_y" value="108"/> |
| 116 | <variable name="row6_input_y" value="112"/> |
| 117 | <variable name="row6a_y" value="116"/> |
| 118 | <variable name="row6a_input_y" value="120"/> |
| 119 | <variable name="row7_y" value="124"/> |
| 120 | <variable name="row7a_y" value="132"/> |
| 121 | <variable name="row8_y" value="140"/> |
| 122 | <variable name="row8a_y" value="148"/> |
| 123 | <variable name="row9_y" value="156"/> |
| 124 | <variable name="row9a_y" value="164"/> |
| 125 | <variable name="row10_y" value="172"/> |
| 126 | <variable name="row10a_y" value="180"/> |
| 127 | <variable name="row11_y" value="188"/> |
| 128 | <variable name="row11a_y" value="196"/> |
| 129 | <variable name="row12_y" value="204"/> |
| 130 | <variable name="row12a_y" value="212"/> |
| 131 | <variable name="row13_y" value="220"/> |
| 132 | <variable name="slider_y" value="224"/> |
| 133 | <variable name="row13a_y" value="228"/> |
| 134 | <variable name="row14_y" value="236"/> |
| 135 | <variable name="row14a_y" value="244"/> |
| 136 | <variable name="row15_y" value="252"/> |
| 137 | <variable name="row15a_y" value="260"/> |
| 138 | <variable name="navbar_y" value="268"/> |
| 139 | <variable name="navbar_btn_y" value="294"/> |
| 140 | <variable name="keyboard_y" value="124"/> |
| 141 | <variable name="keyboard_terminal_y" value="100"/> |
| 142 | <variable name="background_color" value="#1A1A1A"/> |
| 143 | <variable name="accent_color" value="#0090CA"/> |
| 144 | <variable name="text_color" value="#EEEEEE"/> |
| 145 | <variable name="text_button_color" value="#EEEEEE"/> |
| 146 | <variable name="text_success_color" value="#76FF03"/> |
| 147 | <variable name="text_fail_color" value="#FF0101"/> |
| 148 | <variable name="highlight_color" value="#1A1A1A80"/> |
| 149 | <variable name="caps_highlight_color" value="#22222280"/> |
| 150 | <variable name="transparent" value="#00000000"/> |
| 151 | <variable name="semi_transparent" value="#00000099"/> |
| 152 | <variable name="warning" value="#F8F8A0"/> |
| 153 | <variable name="error" value="#FF0101"/> |
| 154 | <variable name="highlight" value="#0090CA"/> |
| 155 | <variable name="fileselector_linecolor" value="#555555"/> |
| 156 | <variable name="fileselector_highlight_color" value="#555555"/> |
| 157 | <variable name="fileselector_separatorheight" value="1"/> |
| 158 | <variable name="fileselector_spacing" value="0"/> |
| 159 | <variable name="fileselector_install_height" value="248"/> |
| 160 | <variable name="fileselector_filemanager_height" value="248"/> |
| 161 | <variable name="partitionlist_spacing" value="0"/> |
| 162 | <variable name="partitionlist_storage_height" value="160"/> |
| 163 | <variable name="partitionlist_wipe_height" value="160"/> |
| 164 | <variable name="listbox_timezone_height" value="248"/> |
| 165 | <variable name="listbox_settings_height" value="248"/> |
epicX | 9597b84 | 2021-03-20 21:58:17 +0530 | [diff] [blame] | 166 | <variable name="listbox_options_height" value="160"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 167 | <variable name="fastscroll_w" value="10"/> |
| 168 | <variable name="fastscroll_linew" value="1"/> |
| 169 | <variable name="fastscroll_rectw" value="10"/> |
| 170 | <variable name="fastscroll_recth" value="18"/> |
| 171 | <variable name="slidervalue_lineh" value="4"/> |
| 172 | <variable name="slidervalue_padding" value="0"/> |
| 173 | <variable name="slidervalue_sliderw" value="70"/> |
| 174 | <variable name="slidervalue_sliderh" value="72"/> |
| 175 | <variable name="slideout_height" value="232"/> |
| 176 | <variable name="slideout_bg_height" value="248"/> |
| 177 | <variable name="input_height" value="16"/> |
| 178 | <variable name="input_line_width" value="1"/> |
| 179 | <variable name="input_line_console" value="272"/> |
| 180 | <variable name="console_height" value="152"/> |
| 181 | <variable name="console_terminal_s_height" value="100"/> |
| 182 | <variable name="console_terminal_l_height" value="268"/> |
| 183 | <variable name="close_btn_x" value="280"/> |
| 184 | <variable name="pattern_x" value="60"/> |
| 185 | <variable name="pattern_dot_dia" value="12"/> |
| 186 | <variable name="pattern_line_w" value="4"/> |
| 187 | <variable name="pattern_size" value="200"/> |
Yillié | 09badae | 2022-07-11 14:30:26 +0500 | [diff] [blame] | 188 | <variable name="tw_clock_12_pos_x" value="{clock_12_pos}"/> |
| 189 | <variable name="tw_clock_24_pos_x" value="{clock_24_pos}"/> |
| 190 | <variable name="tw_cpu_pos_x" value="{cpu_pos}"/> |
| 191 | <variable name="tw_battery_pos_x" value="{battery_pos}"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 192 | </variables> |
| 193 | |
| 194 | <templates> |
| 195 | <template name="statusbar"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 196 | <fill color="%accent_color%"> |
| 197 | <placement x="0" y="0" w="%screen_width%" h="%header_height%"/> |
| 198 | </fill> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 199 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 200 | <fill color="%text_fail_color%"> |
| 201 | <condition var1="tw_simulate_actions" var2="1"/> |
| 202 | <placement x="0" y="0" w="%screen_width%" h="%status_height%"/> |
| 203 | </fill> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 204 | </template> |
| 205 | |
| 206 | <template name="page"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 207 | <background color="%background_color%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 208 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 209 | <template name="statusbar"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 210 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 211 | <text color="%text_color%"> |
| 212 | <condition var1="tw_no_cpu_temp" var2="1"/> |
Yillié | 09badae | 2022-07-11 14:30:26 +0500 | [diff] [blame] | 213 | <condition var1="tw_cpu_pos_x" var2="0"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 214 | <font resource="font_m"/> |
| 215 | <placement x="%indent%" y="%row1_header_y%"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 216 | <text>{@twrp_watch_header=TWRP %tw_version%}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 217 | </text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 218 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 219 | <text color="%text_color%"> |
| 220 | <condition var1="tw_no_cpu_temp" var2="0"/> |
Yillié | 09badae | 2022-07-11 14:30:26 +0500 | [diff] [blame] | 221 | <condition var1="tw_cpu_pos_x" var2="0"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 222 | <font resource="font_m"/> |
| 223 | <placement x="%indent%" y="%row1_header_y%"/> |
| 224 | <text>{@cpu_temp=CPU: %tw_cpu_temp% °C}</text> |
| 225 | </text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 226 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 227 | <text color="%text_color%"> |
Yillié | 09badae | 2022-07-11 14:30:26 +0500 | [diff] [blame] | 228 | <condition var1="tw_clock_12_pos_x" var2="0"/> |
| 229 | <condition var1="tw_clock_24_pos_x" var2="0"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 230 | <font resource="font_m"/> |
| 231 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 232 | <text>%tw_time%</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 233 | </text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 234 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 235 | <text color="%text_color%"> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 236 | <conditions> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 237 | <condition var1="tw_no_battery_percent" var2="0"/> |
| 238 | <condition var1="tw_battery" op=">" var2="0"/> |
| 239 | <condition var1="tw_battery" op="<" var2="101"/> |
Yillié | 09badae | 2022-07-11 14:30:26 +0500 | [diff] [blame] | 240 | <condition var1="tw_battery_pos_x" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 241 | </conditions> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 242 | <font resource="font_m"/> |
| 243 | <placement x="%indent_right%" y="%row1_header_y%" placement="1"/> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 244 | <text>{@battery_pct=Battery: %tw_battery%}</text> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 245 | </text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 246 | |
Yillié | 09badae | 2022-07-11 14:30:26 +0500 | [diff] [blame] | 247 | <!-- Custom position for status bar items if defined START --> |
| 248 | |
| 249 | <text color="%text_color%"> |
| 250 | <condition var1="tw_no_cpu_temp" var2="1"/> |
| 251 | <condition var1="tw_cpu_pos_x" op="!=" var2="0"/> |
| 252 | <font resource="font_m"/> |
| 253 | <placement x="%tw_cpu_pos_x%" y="%row1_header_y%"/> |
| 254 | <text>{@twrp_watch_header=TWRP %tw_version%}</text> |
| 255 | </text> |
| 256 | |
| 257 | <text color="%text_color%"> |
| 258 | <condition var1="tw_no_cpu_temp" var2="0"/> |
| 259 | <condition var1="tw_cpu_pos_x" op="!=" var2="0"/> |
| 260 | <font resource="font_m"/> |
| 261 | <placement x="%tw_cpu_pos_x%" y="%row1_header_y%"/> |
| 262 | <text>{@cpu_temp=CPU: %tw_cpu_temp% °C}</text> |
| 263 | </text> |
| 264 | |
| 265 | <text color="%text_color%"> |
| 266 | <condition var1="tw_clock_12_pos_x" op="!=" var2="0"/> |
| 267 | <condition var1="tw_military_time" var2="0"/> |
| 268 | <font resource="font_m"/> |
| 269 | <placement x="%tw_clock_12_pos_x%" y="%row1_header_y%"/> |
| 270 | <text>%tw_time%</text> |
| 271 | </text> |
| 272 | |
| 273 | <text color="%text_color%"> |
| 274 | <condition var1="tw_clock_24_pos_x" op="!=" var2="0"/> |
| 275 | <condition var1="tw_military_time" var2="1"/> |
| 276 | <font resource="font_m"/> |
| 277 | <placement x="%tw_clock_24_pos_x%" y="%row1_header_y%"/> |
| 278 | <text>%tw_time%</text> |
| 279 | </text> |
| 280 | |
| 281 | <text color="%text_color%"> |
| 282 | <conditions> |
| 283 | <condition var1="tw_no_battery_percent" var2="0"/> |
| 284 | <condition var1="tw_battery" op=">" var2="0"/> |
| 285 | <condition var1="tw_battery" op="<" var2="101"/> |
| 286 | <condition var1="tw_battery_pos_x" op="!=" var2="0"/> |
| 287 | </conditions> |
| 288 | <font resource="font_m"/> |
| 289 | <placement x="%tw_battery_pos_x%" y="%row1_header_y%"/> |
| 290 | <text>{@battery_pct=Battery: %tw_battery%}</text> |
| 291 | </text> |
| 292 | |
| 293 | <!-- Custom position for status bar items if defined END --> |
| 294 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 295 | <fill color="#000000"> |
| 296 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/> |
| 297 | </fill> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 298 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 299 | <button> |
| 300 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 301 | <image resource="back"/> |
| 302 | <condition var1="tw_busy" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 303 | <action function="key">back</action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 304 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 305 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 306 | <button> |
| 307 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/> |
| 308 | <image resource="home"/> |
| 309 | <condition var1="tw_busy" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 310 | <action function="key">home</action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 311 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 312 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 313 | <button> |
| 314 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/> |
| 315 | <image resource="console"/> |
| 316 | <condition var1="tw_busy" var2="0"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 317 | <action function="overlay">slideout</action> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 318 | </button> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 319 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 320 | <action> |
| 321 | <touch key="power"/> |
Matt Mower | 9472ba1 | 2016-01-20 18:12:47 -0600 | [diff] [blame] | 322 | <action function="togglebacklight"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 323 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 324 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 325 | <action> |
| 326 | <touch key="power+voldown"/> |
| 327 | <action function="screenshot"/> |
| 328 | </action> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 329 | </template> |
| 330 | |
| 331 | <template name="progress_bar"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 332 | <progressbar> |
| 333 | <placement x="%indent%" y="%row11_y%"/> |
| 334 | <resource empty="progress_empty" full="progress_full"/> |
| 335 | <data name="ui_progress"/> |
| 336 | </progressbar> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 337 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 338 | <animation> |
| 339 | <placement x="%indent%" y="%row11_y%"/> |
| 340 | <resource name="progress"/> |
| 341 | <speed fps="24" render="2"/> |
| 342 | <loop frame="1"/> |
| 343 | </animation> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 344 | </template> |
| 345 | |
| 346 | <template name="console"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 347 | <console> |
| 348 | <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%console_height%"/> |
| 349 | </console> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 350 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 351 | <fill color="%fileselector_linecolor%"> |
| 352 | <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 353 | </fill> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 354 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 355 | <fill color="%fileselector_linecolor%"> |
| 356 | <placement x="%indent%" y="row10a_y" w="%content_width%" h="input_line_width"/> |
| 357 | </fill> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 358 | </template> |
| 359 | |
| 360 | <template name="console_terminal"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 361 | <console> |
| 362 | <placement x="%indent%" y="%row1_y%" w="content_width" h="%console_terminal_height%"/> |
| 363 | </console> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 364 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 365 | <fill color="%fileselector_linecolor%"> |
| 366 | <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/> |
| 367 | </fill> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 368 | |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 369 | <fill color="%fileselector_linecolor%"> |
| 370 | <placement x="%indent%" y="row5_y" w="%content_width%" h="input_line_width"/> |
| 371 | </fill> |
| 372 | </template> |
| 373 | |
| 374 | <template name="keyboardterminaltemplate"> |
| 375 | <keyboard> |
| 376 | <condition var1="tw_hide_kb" var2="0"/> |
| 377 | <placement x="0" y="%keyboard_terminal_y%" w="%screen_width%" h="24"/> |
| 378 | <keymargin x="0" y="0"/> |
| 379 | <background color="#111111"/> |
| 380 | <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/> |
| 381 | <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/> |
| 382 | <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="0" y="0"/> |
| 383 | <keylabel key="0:k:29" text="Ctrl"/> |
| 384 | <keylabel key="0:c:27" text="Esc"/> |
| 385 | <keylabel key="0:c:9" text="Tab"/> |
| 386 | <keylabel key="0:k:105" text="<" resource="kb_arrow_left"/> |
| 387 | <keylabel key="0:k:108" text="v" resource="kb_arrow_down"/> |
| 388 | <keylabel key="0:k:103" text="^" resource="kb_arrow_up"/> |
| 389 | <keylabel key="0:k:106" text=">" resource="kb_arrow_right"/> |
| 390 | <highlight color="%highlight_color%"/> |
| 391 | <ctrlhighlight color="#0090CA80"/> |
| 392 | <layout1> |
| 393 | <keysize height="24" width="44"/> |
| 394 | <row1 key01="48:k:29" key02="48:c:27" long02=":c:3" key03="48:c:9" key04="44:k:105" key05="44:k:108" key06="44:k:103" key07="44:k:106"/> |
| 395 | </layout1> |
| 396 | </keyboard> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 397 | </template> |
| 398 | |
| 399 | <template name="keyboardtemplate"> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 400 | <keyboard> |
| 401 | <condition var1="tw_hide_kb" var2="0"/> |
| 402 | <placement x="0" y="%keyboard_y%" w="320" h="144"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 403 | <keymargin x="2" y="2"/> |
| 404 | <background color="#111111"/> |
| 405 | <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/> |
| 406 | <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/> |
| 407 | <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="0" y="0"/> |
| 408 | <keylabel key="0:c:8" text="Bksp" resource="backspace"/> |
| 409 | <keylabel key="0:action" text="Enter" resource="enter"/> |
| 410 | <keylabel key=" " text="Space" resource="space"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 411 | <highlight color="%highlight_color%"/> |
| 412 | <capshighlight color="%highlight_color%"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 413 | <layout1> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 414 | <keysize height="36" width="32"/> |
| 415 | <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"/> |
| 416 | <row2 key01="16:" 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="16:"/> |
| 417 | <row3 key01="48:layout2" key02="z" long02="!" key03="x" long03=""" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="48:c:8"/> |
| 418 | <row4 key01="48:layout3" key02="/" key03="160: " key04="." key05="48:action"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 419 | <keylabel key="0:layout2" text="Shift" resource="shift"/> |
| 420 | <keylabel key="0:layout3" text="?123"/> |
| 421 | </layout1> |
| 422 | <layout2> |
| 423 | <keysize height="36" width="32" capslock="0" revert_layout="1"/> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 424 | <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"/> |
| 425 | <row2 key01="16:" 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="16:"/> |
| 426 | <row3 key01="48:layout1" key02="Z" long02="!" key03="X" long03=""" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="48:c:8"/> |
| 427 | <row4 key01="48:layout3" key02="/" key03="160: " key04="." key05="48:action"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 428 | <keylabel key="0:layout1" text="Shift" resource="shift_fill"/> |
| 429 | <keylabel key="0:layout3" text="?123"/> |
| 430 | </layout2> |
| 431 | <layout3> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 432 | <keysize height="36" width="32"/> |
| 433 | <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0"/> |
| 434 | <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")"/> |
| 435 | <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8"/> |
| 436 | <row4 key01="48:layout1" key02="," key03="160: " key04="." key05="48:action"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 437 | <keylabel key="0:layout1" text="ABC"/> |
| 438 | <keylabel key="0:layout4" text="~\{"/> |
| 439 | </layout3> |
| 440 | <layout4> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 441 | <keysize height="36" width="32"/> |
| 442 | <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}"/> |
| 443 | <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]"/> |
| 444 | <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8"/> |
| 445 | <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="." key05="48:action"/> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 446 | <keylabel key="0:layout1" text="ABC"/> |
| 447 | <keylabel key="0:layout3" text="?123"/> |
| 448 | </layout4> |
z31s1g | 5618952 | 2016-01-13 19:12:40 +0100 | [diff] [blame] | 449 | </keyboard> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 450 | </template> |
Captain Throwback | fec0c3b | 2021-11-04 15:50:36 -0400 | [diff] [blame] | 451 | |
| 452 | <template name="keyboardnum"> |
| 453 | <keyboard> |
| 454 | <condition var1="tw_hide_kb" var2="0"/> |
| 455 | <placement x="0" y="%keyboard_y%" w="320" h="144"/> |
| 456 | <keymargin x="2" y="2"/> |
| 457 | <background color="#111111"/> |
| 458 | <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/> |
| 459 | <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/> |
| 460 | <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="0" y="0"/> |
| 461 | <keylabel key="0:c:8" text="Bksp" resource="backspace"/> |
| 462 | <keylabel key="0:action" text="Enter" resource="enter"/> |
| 463 | <keylabel key=" " text="Space" resource="space"/> |
| 464 | <highlight color="%highlight_color%"/> |
| 465 | <capshighlight color="%highlight_color%"/> |
| 466 | <layout1> |
| 467 | <keysize height="35" width="62"/> |
| 468 | <row1 key01="67:" key02="1" key03="2" key04="3" key05="67:"/> |
| 469 | <row2 key01="67:" key02="4" key03="5" key04="6" key05="67:"/> |
| 470 | <row3 key01="67:" key02="7" key03="8" key04="9" key05="67:"/> |
| 471 | <row4 key01="67:" key02="62:c:8" key03="0" key04="63:action" key05="67:"/> |
| 472 | </layout1> |
| 473 | </keyboard> |
| 474 | </template> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 475 | </templates> |
| 476 | </recovery> |