z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <recovery> |
| 4 | <details> |
| 5 | <resolution width="320" height="320" /> |
| 6 | <roundscreen offset_x="40" offset_y="40" /> |
| 7 | <author>TeamWin</author> |
| 8 | <title>Backup Naowz</title> |
| 9 | <description>Default basic theme</description> |
| 10 | <preview>preview.jpg</preview> |
| 11 | </details> |
| 12 | |
| 13 | <include> |
| 14 | <xmlfile name="watch.xml" /> |
| 15 | </include> |
| 16 | |
| 17 | <resources> |
| 18 | <resource name="font_l" type="font" filename="RobotoCondensed-Regular.ttf" size="24" /> |
| 19 | <resource name="font_m" type="font" filename="RobotoCondensed-Regular.ttf" size="14" /> |
| 20 | <resource name="font_s" type="font" filename="RobotoCondensed-Regular.ttf" size="12" /> |
| 21 | <resource name="fixed" type="font" filename="DroidSansMono.ttf" size="14" /> |
| 22 | |
| 23 | <resource name="keylabel" type="font" filename="RobotoCondensed-Regular.ttf" size="18" /> |
| 24 | <resource name="keylabel-small" type="font" filename="RobotoCondensed-Regular.ttf" size="14" /> |
| 25 | <resource name="keylabel-longpress" type="font" filename="RobotoCondensed-Regular.ttf" size="12" /> |
| 26 | |
| 27 | <resource name="main_button" type="image" filename="main_button" /> |
| 28 | <resource name="main_button_half_height" type="image" filename="main_button_half_height" /> |
| 29 | <resource name="main_button_full_width" type="image" filename="main_button_full_width" /> |
| 30 | <resource name="main_button_quarter_width" type="image" filename="main_button_quarter_width" /> |
| 31 | <resource name="q_btn_arrow_right" type="image" filename="q_btn_arrow_right" retainaspect="1" /> |
| 32 | <resource name="q_btn_arrow_left" type="image" filename="q_btn_arrow_left" retainaspect="1" /> |
| 33 | <resource name="q_btn_storage" type="image" filename="q_btn_storage" retainaspect="1" /> |
| 34 | <resource name="q_btn_refresh" type="image" filename="q_btn_refresh" retainaspect="1" /> |
| 35 | <resource name="q_btn_accept" type="image" filename="q_btn_accept" retainaspect="1" /> |
| 36 | <resource name="q_btn_accept_transp" type="image" filename="q_btn_accept_transp" retainaspect="1" /> |
| 37 | <resource name="q_btn_addzip" type="image" filename="q_btn_addzip" retainaspect="1" /> |
| 38 | <resource name="q_btn_encryption_dis" type="image" filename="q_btn_encryption_dis" retainaspect="1" /> |
| 39 | <resource name="q_btn_encryption_en" type="image" filename="q_btn_encryption_en" retainaspect="1" /> |
| 40 | <resource name="q_btn_delete" type="image" filename="q_btn_delete" retainaspect="1" /> |
| 41 | <resource name="q_btn_reset" type="image" filename="q_btn_reset" retainaspect="1" /> |
| 42 | <resource name="q_btn_folder" type="image" filename="q_btn_folder" retainaspect="1" /> |
| 43 | <resource name="file" type="image" filename="file" retainaspect="1" /> |
| 44 | <resource name="folder" type="image" filename="folder" retainaspect="1" /> |
| 45 | <resource name="unlock_icon" type="image" filename="unlock_icon" retainaspect="1" /> |
| 46 | <resource name="home" type="image" filename="home" retainaspect="1" /> |
| 47 | <resource name="back" type="image" filename="back" retainaspect="1" /> |
| 48 | <resource name="console" type="image" filename="console" retainaspect="1" /> |
| 49 | <resource name="checkbox_false" type="image" filename="checkbox_false" retainaspect="1" /> |
| 50 | <resource name="checkbox_false_small" type="image" filename="checkbox_false_small" retainaspect="1" /> |
| 51 | <resource name="checkbox_true" type="image" filename="checkbox_true" retainaspect="1" /> |
| 52 | <resource name="checkbox_true_small" type="image" filename="checkbox_true_small" retainaspect="1" /> |
| 53 | <resource name="radio_false" type="image" filename="radio_false" retainaspect="1" /> |
| 54 | <resource name="radio_true" type="image" filename="radio_true" retainaspect="1" /> |
| 55 | <resource name="progress" type="animation" filename="indeterminate" /> |
| 56 | <resource name="progress_empty" type="image" filename="progress_empty" /> |
| 57 | <resource name="progress_full" type="image" filename="progress_fill" /> |
| 58 | <resource name="slider" type="image" filename="slider" /> |
| 59 | <resource name="slider_used" type="image" filename="slider_used" /> |
| 60 | <resource name="slider_touch" type="image" filename="slider_touch" /> |
| 61 | <resource name="handle" type="image" filename="handle" /> |
| 62 | <resource name="backspace" type="image" filename="backspace" retainaspect="1" /> |
| 63 | <resource name="enter" type="image" filename="enter" retainaspect="1" /> |
| 64 | <resource name="shift" type="image" filename="shift" retainaspect="1" /> |
| 65 | <resource name="shift_fill" type="image" filename="shift_fill" retainaspect="1" /> |
| 66 | <resource name="space" type="image" filename="space" retainaspect="1" /> |
| 67 | <resource name="close" type="image" filename="close" retainaspect="1" /> |
| 68 | </resources> |
| 69 | |
| 70 | <variables> |
| 71 | <variable name="screen_width" value="320" /> |
| 72 | <variable name="screen_half_width" value="160" /> |
| 73 | <variable name="screen_height" value="320" /> |
| 74 | <variable name="status_height" value="20" /> |
| 75 | <variable name="header_height" value="20" /> |
| 76 | <variable name="navbar_height" value="52" /> |
| 77 | <variable name="content_width" value="304" /> |
| 78 | <variable name="content_half_width" value="148" /> |
| 79 | <variable name="back_button_x" value="70" /> |
| 80 | <variable name="console_button_x" value="250" /> |
| 81 | <variable name="indent" value="8" /> |
| 82 | <variable name="col1_x_left" value="8" /> |
| 83 | <variable name="col1_x_left_negative" value="156" /> |
| 84 | <variable name="center_x" value="160" /> |
| 85 | <variable name="col1_x_right" value="164" /> |
| 86 | <variable name="indent_right" value="312" /> |
| 87 | <variable name="btn4_col2_x" value="86" /> |
| 88 | <variable name="btn4_col3_x" value="164" /> |
| 89 | <variable name="btn4_col4_x" value="242" /> |
| 90 | <variable name="row1_header_y" value="0" /> |
| 91 | <variable name="row2_header_y" value="20" /> |
| 92 | <variable name="row1_y" value="28" /> |
| 93 | <variable name="row1a_y" value="36" /> |
| 94 | <variable name="row2_y" value="44" /> |
| 95 | <variable name="row2a_y" value="52" /> |
| 96 | <variable name="row3_y" value="60" /> |
| 97 | <variable name="row3_input_y" value="64" /> |
| 98 | <variable name="row3a_y" value="68" /> |
| 99 | <variable name="row4_y" value="76" /> |
| 100 | <variable name="row4a_y" value="84" /> |
| 101 | <variable name="row5_y" value="92" /> |
| 102 | <variable name="row5a_y" value="100" /> |
| 103 | <variable name="row6_y" value="108" /> |
| 104 | <variable name="row6_input_y" value="112" /> |
| 105 | <variable name="row6a_y" value="116" /> |
| 106 | <variable name="row6a_input_y" value="120" /> |
| 107 | <variable name="row7_y" value="124" /> |
| 108 | <variable name="row7a_y" value="132" /> |
| 109 | <variable name="row8_y" value="140" /> |
| 110 | <variable name="row8a_y" value="148" /> |
| 111 | <variable name="row9_y" value="156" /> |
| 112 | <variable name="row9a_y" value="164" /> |
| 113 | <variable name="row10_y" value="172" /> |
| 114 | <variable name="row10a_y" value="180" /> |
| 115 | <variable name="row11_y" value="188" /> |
| 116 | <variable name="row11a_y" value="196" /> |
| 117 | <variable name="row12_y" value="204" /> |
| 118 | <variable name="row12a_y" value="212" /> |
| 119 | <variable name="row13_y" value="220" /> |
| 120 | <variable name="slider_y" value="224" /> |
| 121 | <variable name="row13a_y" value="228" /> |
| 122 | <variable name="row14_y" value="236" /> |
| 123 | <variable name="row14a_y" value="244" /> |
| 124 | <variable name="row15_y" value="252" /> |
| 125 | <variable name="row15a_y" value="260" /> |
| 126 | <variable name="navbar_y" value="268" /> |
| 127 | <variable name="navbar_btn_y" value="294" /> |
| 128 | <variable name="keyboard_y" value="124" /> |
| 129 | <variable name="background_color" value="#1A1A1A" /> |
| 130 | <variable name="accent_color" value="#0090CA" /> |
| 131 | <variable name="text_color" value="#EEEEEE" /> |
| 132 | <variable name="text_button_color" value="#EEEEEE" /> |
| 133 | <variable name="text_success_color" value="#76FF03" /> |
| 134 | <variable name="text_fail_color" value="#FF0101" /> |
| 135 | <variable name="highlight_color" value="#1A1A1A80" /> |
| 136 | <variable name="caps_highlight_color" value="#22222280" /> |
| 137 | <variable name="transparent" value="#00000000" /> |
| 138 | <variable name="semi_transparent" value="#00000099" /> |
| 139 | <variable name="warning" value="#F8F8A0" /> |
| 140 | <variable name="error" value="#FF0101" /> |
| 141 | <variable name="highlight" value="#0090CA" /> |
| 142 | <variable name="fileselector_linecolor" value="#555555" /> |
| 143 | <variable name="fileselector_highlight_color" value="#555555" /> |
| 144 | <variable name="fileselector_separatorheight" value="1" /> |
| 145 | <variable name="fileselector_spacing" value="0" /> |
| 146 | <variable name="fileselector_install_height" value="248" /> |
| 147 | <variable name="fileselector_filemanager_height" value="248" /> |
| 148 | <variable name="partitionlist_spacing" value="0" /> |
| 149 | <variable name="partitionlist_storage_height" value="160" /> |
| 150 | <variable name="partitionlist_wipe_height" value="160" /> |
| 151 | <variable name="listbox_timezone_height" value="248" /> |
| 152 | <variable name="listbox_settings_height" value="248" /> |
| 153 | <variable name="fastscroll_w" value="10" /> |
| 154 | <variable name="fastscroll_linew" value="1" /> |
| 155 | <variable name="fastscroll_rectw" value="10" /> |
| 156 | <variable name="fastscroll_recth" value="18" /> |
| 157 | <variable name="slidervalue_lineh" value="4" /> |
| 158 | <variable name="slidervalue_padding" value="0" /> |
| 159 | <variable name="slidervalue_sliderw" value="70" /> |
| 160 | <variable name="slidervalue_sliderh" value="72" /> |
| 161 | <variable name="slideout_height" value="232" /> |
| 162 | <variable name="slideout_bg_height" value="248" /> |
| 163 | <variable name="input_height" value="16" /> |
| 164 | <variable name="input_line_width" value="1" /> |
| 165 | <variable name="input_line_console" value="272" /> |
| 166 | <variable name="console_height" value="152" /> |
| 167 | <variable name="console_terminal_height" value="64" /> |
| 168 | <variable name="close_btn_x" value="280" /> |
| 169 | <variable name="pattern_x" value="60" /> |
| 170 | <variable name="pattern_dot_dia" value="20" /> |
| 171 | <variable name="pattern_line_w" value="8" /> |
| 172 | <variable name="pattern_size" value="200" /> |
| 173 | </variables> |
| 174 | |
| 175 | <templates> |
| 176 | <template name="statusbar"> |
| 177 | <object type="fill" color="%accent_color%"> |
| 178 | <placement x="0" y="0" w="%screen_width%" h="%header_height%" /> |
| 179 | </object> |
| 180 | |
| 181 | <object type="fill" color="%text_fail_color%"> |
| 182 | <condition var1="tw_simulate_actions" var2="1" /> |
| 183 | <placement x="0" y="0" w="%screen_width%" h="%status_height%" /> |
| 184 | </object> |
| 185 | </template> |
| 186 | |
| 187 | <template name="page"> |
| 188 | <background color="%background_color%" /> |
| 189 | |
| 190 | <object type="template" name="statusbar" /> |
| 191 | |
| 192 | <object type="text" color="%text_color%"> |
| 193 | <condition var1="tw_no_cpu_temp" var2="1" /> |
| 194 | <font resource="font_m" /> |
| 195 | <placement x="%indent%" y="%row1_header_y%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 196 | <text>{@twrp_watch_header=TWRP %tw_version%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 197 | </object> |
| 198 | |
| 199 | <object type="text" color="%text_color%"> |
| 200 | <condition var1="tw_no_cpu_temp" var2="0" /> |
| 201 | <font resource="font_m" /> |
| 202 | <placement x="%indent%" y="%row1_header_y%" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 203 | <text>{@cpu_temp=CPU: %tw_cpu_temp% °C}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 204 | </object> |
| 205 | |
| 206 | <object type="text" color="%text_color%"> |
| 207 | <font resource="font_m" /> |
| 208 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 209 | <text>%tw_time%</text> |
| 210 | </object> |
| 211 | |
| 212 | <object type="text" color="%text_color%"> |
| 213 | <conditions> |
| 214 | <condition var1="tw_no_battery_percent" var2="0" /> |
| 215 | <condition var1="tw_battery" op=">" var2="0" /> |
| 216 | <condition var1="tw_battery" op="<" var2="101" /> |
| 217 | </conditions> |
| 218 | <font resource="font_m" /> |
| 219 | <placement x="%indent_right%" y="%row1_header_y%" placement="1" /> |
Ethan Yonker | 74db157 | 2015-10-28 12:44:49 -0500 | [diff] [blame] | 220 | <text>{@battery_pct=Battery: %tw_battery%}</text> |
z31s1g | 28f0a92 | 2015-11-07 18:50:22 +0100 | [diff] [blame] | 221 | </object> |
| 222 | |
| 223 | <object type="fill" color="#000000"> |
| 224 | <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" /> |
| 225 | </object> |
| 226 | |
| 227 | <object type="button"> |
| 228 | <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 229 | <image resource="back" /> |
| 230 | <condition var1="tw_busy" var2="0" /> |
| 231 | <action function="key">back</action> |
| 232 | </object> |
| 233 | |
| 234 | <object type="button"> |
| 235 | <placement x="%center_x%" y="%navbar_btn_y%" placement="4" /> |
| 236 | <image resource="home" /> |
| 237 | <condition var1="tw_busy" var2="0" /> |
| 238 | <action function="key">home</action> |
| 239 | </object> |
| 240 | |
| 241 | <object type="button"> |
| 242 | <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" /> |
| 243 | <image resource="console" /> |
| 244 | <condition var1="tw_busy" var2="0" /> |
| 245 | <action function="overlay">slideout</action> |
| 246 | </object> |
| 247 | |
| 248 | <object type="action"> |
| 249 | <touch key="power" /> |
| 250 | <action function="overlay">lock</action> |
| 251 | </object> |
| 252 | |
| 253 | <object type="action"> |
| 254 | <touch key="power+voldown" /> |
| 255 | <action function="screenshot" /> |
| 256 | </object> |
| 257 | </template> |
| 258 | |
| 259 | <template name="progress_bar"> |
| 260 | <object type="progressbar"> |
| 261 | <placement x="%indent%" y="%row11_y%" /> |
| 262 | <resource empty="progress_empty" full="progress_full" /> |
| 263 | <data name="ui_progress" /> |
| 264 | </object> |
| 265 | |
| 266 | <object type="animation"> |
| 267 | <placement x="%indent%" y="%row11_y%" /> |
| 268 | <resource name="progress" /> |
| 269 | <speed fps="24" render="2" /> |
| 270 | <loop frame="1" /> |
| 271 | </object> |
| 272 | </template> |
| 273 | |
| 274 | <template name="console"> |
| 275 | <object type="console"> |
| 276 | <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%console_height%" /> |
| 277 | </object> |
| 278 | |
| 279 | <object type="fill" color="%fileselector_linecolor%"> |
| 280 | <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1" /> |
| 281 | </object> |
| 282 | |
| 283 | <object type="fill" color="%fileselector_linecolor%"> |
| 284 | <placement x="%indent%" y="row10a_y" w="%content_width%" h="input_line_width" /> |
| 285 | </object> |
| 286 | </template> |
| 287 | |
| 288 | <template name="console_terminal"> |
| 289 | <object type="console"> |
| 290 | <placement x="%indent%" y="%row1_y%" w="content_width" h="%console_terminal_height%" /> |
| 291 | </object> |
| 292 | |
| 293 | <object type="fill" color="%fileselector_linecolor%"> |
| 294 | <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1" /> |
| 295 | </object> |
| 296 | |
| 297 | <object type="fill" color="%fileselector_linecolor%"> |
| 298 | <placement x="%indent%" y="row5_y" w="%content_width%" h="input_line_width" /> |
| 299 | </object> |
| 300 | </template> |
| 301 | |
| 302 | <template name="keyboardtemplate"> |
| 303 | <object type="keyboard"> |
| 304 | <placement x="0" y="%keyboard_y%" w="320" h="144" /> |
| 305 | <keymargin x="2" y="2"/> |
| 306 | <background color="#111111"/> |
| 307 | <key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/> |
| 308 | <key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/> |
| 309 | <longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="0" y="0"/> |
| 310 | <keylabel key="0:c:8" text="Bksp" resource="backspace"/> |
| 311 | <keylabel key="0:action" text="Enter" resource="enter"/> |
| 312 | <keylabel key=" " text="Space" resource="space"/> |
| 313 | <highlight color="%highlight_color%" /> |
| 314 | <capshighlight color="%highlight_color%" /> |
| 315 | <layout1> |
| 316 | <keysize height="36" width="32" /> |
| 317 | <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" /> |
| 318 | <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:" /> |
| 319 | <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" /> |
| 320 | <row4 key01="48:layout3" key02="/" key03="160: " key04="." key05="48:action" /> |
| 321 | <keylabel key="0:layout2" text="Shift" resource="shift"/> |
| 322 | <keylabel key="0:layout3" text="?123"/> |
| 323 | </layout1> |
| 324 | <layout2> |
| 325 | <keysize height="36" width="32" capslock="0" revert_layout="1"/> |
| 326 | <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" /> |
| 327 | <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:" /> |
| 328 | <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" /> |
| 329 | <row4 key01="48:layout3" key02="/" key03="160: " key04="." key05="48:action" /> |
| 330 | <keylabel key="0:layout1" text="Shift" resource="shift_fill"/> |
| 331 | <keylabel key="0:layout3" text="?123"/> |
| 332 | </layout2> |
| 333 | <layout3> |
| 334 | <keysize height="36" width="32" /> |
| 335 | <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> |
| 336 | <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> |
| 337 | <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" /> |
| 338 | <row4 key01="48:layout1" key02="," key03="160: " key04="." key05="48:action" /> |
| 339 | <keylabel key="0:layout1" text="ABC"/> |
| 340 | <keylabel key="0:layout4" text="~\{"/> |
| 341 | </layout3> |
| 342 | <layout4> |
| 343 | <keysize height="36" width="32" /> |
| 344 | <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" /> |
| 345 | <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" /> |
| 346 | <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8" /> |
| 347 | <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="." key05="48:action" /> |
| 348 | <keylabel key="0:layout1" text="ABC"/> |
| 349 | <keylabel key="0:layout3" text="?123"/> |
| 350 | </layout4> |
| 351 | </object> |
| 352 | </template> |
| 353 | </templates> |
| 354 | </recovery> |