gui: stock theme rework

Tries to combine the current theme with a touch of material.
Page structure is untouched for the most part.
Layout grid is changed to achieve a "less random" placement of
objects on a page.

Change-Id: Icaf796be410431b17d5be6ccc1134d40912bef0b
diff --git a/gui/theme/landscape_mdpi/ui.xml b/gui/theme/landscape_mdpi/ui.xml
new file mode 100644
index 0000000..563f16e
--- /dev/null
+++ b/gui/theme/landscape_mdpi/ui.xml
@@ -0,0 +1,635 @@
+<?xml version="1.0"?>

+

+<recovery>

+	<details>

+		<resolution width="800" height="480" />

+		<author>TeamWin</author>

+		<title>Backup Naowz</title>

+		<description>Default basic theme</description>

+		<preview>preview.jpg</preview>

+	</details>

+

+	<include>

+		<xmlfile name="landscape.xml" />

+	</include>

+

+	<resources>

+		<resource name="font_l" type="font"  filename="RobotoCondensed-Regular.ttf" size="18" />

+		<resource name="font_m" type="font" filename="RobotoCondensed-Regular.ttf" size="14" />

+		<resource name="font_s" type="font" filename="RobotoCondensed-Regular.ttf" size="12" />

+		<resource name="fixed" type="font" filename="DroidSansMono.ttf" size="12" />

+

+		<resource name="keylabel" type="font" filename="RobotoCondensed-Regular.ttf" size="21" />

+		<resource name="keylabel-small" type="font" filename="RobotoCondensed-Regular.ttf" size="18" />

+		<resource name="keylabel-longpress" type="font" filename="RobotoCondensed-Regular.ttf" size="11" />

+

+		<resource name="logo" type="image" filename="logo" retainaspect="1" />

+		<resource name="main_button" type="image" filename="main_button" />

+		<resource name="main_button_half_width" type="image" filename="main_button_half_width" />

+		<resource name="main_button_half_width_low" type="image" filename="main_button_half_width_low" />

+		<resource name="tab_3" type="image" filename="tab_3" />

+		<resource name="tab_4" type="image" filename="tab_4" />

+		<resource name="file" type="image" filename="file" retainaspect="1" />

+		<resource name="folder" type="image" filename="folder" retainaspect="1" />

+		<resource name="unlock_icon" type="image" filename="unlock_icon" retainaspect="1" />

+		<resource name="home" type="image" filename="home" retainaspect="1" />

+		<resource name="back" type="image" filename="back" retainaspect="1" />

+		<resource name="console" type="image" filename="console" retainaspect="1" />

+		<resource name="checkbox_false" type="image" filename="checkbox_false" retainaspect="1" />

+		<resource name="checkbox_true" type="image" filename="checkbox_true" retainaspect="1" />

+		<resource name="radio_false" type="image" filename="radio_false" retainaspect="1" />

+		<resource name="radio_true" type="image" filename="radio_true" retainaspect="1" />

+		<resource name="sort_asc" type="image" filename="sort_asc" />

+		<resource name="sort_desc" type="image" filename="sort_desc" />

+		<resource name="sort_empty" type="image" filename="sort_empty" />

+		<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="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="handle" type="image" filename="handle" />

+		<resource name="cursor" type="image" filename="cursor" retainaspect="1" />

+

+		<resource name="backspace" type="image" filename="backspace" retainaspect="1" />

+		<resource name="enter" type="image" filename="enter" retainaspect="1" />

+		<resource name="shift" type="image" filename="shift" retainaspect="1" />

+		<resource name="shift_fill" type="image" filename="shift_fill" retainaspect="1" />

+		<resource name="space" type="image" filename="space" retainaspect="1" />

+	</resources>

+

+	<variables>

+		<variable name="tw_samsung_navbar" value="0" persist="1" />

+		<variable name="tw_navbar_button_position" value="0" persist="1" />

+

+		<variable name="screen_width" value="800" />

+		<variable name="screen_height" value="480" />

+		<variable name="status_height" value="20" />

+		<variable name="header_height" value="80" />

+		<variable name="navbar_height" value="40" />

+		<variable name="content_width" value="760" />

+		<variable name="content_quarter_width" value="590" />

+		<variable name="content_half_width" value="370" />

+		<variable name="content_overlay_width" value="380" />

+		<variable name="dialog_height" value="207" />

+		<variable name="dialog_width" value="400" />

+		<variable name="dialog_content_x" value="220" />

+		<variable name="back_button_x" value="264" />

+		<variable name="console_button_x" value="536" />

+		<variable name="back_button_x_1" value="50" />

+		<variable name="home_button_x_1" value="130" />

+		<variable name="console_button_x_1" value="210" />

+		<variable name="back_button_x_2" value="590" />

+		<variable name="home_button_x_2" value="670" />

+		<variable name="console_button_x_2" value="750" />

+		<variable name="col1_x_header" value="60" />

+		<variable name="indent" value="10" />

+		<variable name="col1_x_left" value="20" />

+		<variable name="col2_x_left" value="210" />

+		<variable name="center_x" value="400" />

+		<variable name="col1_x_right" value="410" />

+		<variable name="col2_x_right" value="590" />

+		<variable name="col_button_right" value="620" />

+		<variable name="indent_right" value="790" />

+		<variable name="tab_height" value="30" />

+		<variable name="tab_indicator_height" value="2" />

+		<variable name="tab4_width" value="200" />

+		<variable name="tab4_col2_x" value="200" />

+		<variable name="tab4_col4_x" value="600" />

+		<variable name="btn4_col2_x_left" value="117" />

+		<variable name="btn4_col3_x_left" value="216" />

+		<variable name="btn4_col4_x_left" value="313" />

+		<variable name="btn4_col2_x_right" value="507" />

+		<variable name="btn4_col3_x_right" value="606" />

+		<variable name="btn4_col4_x_right" value="703" />

+		<variable name="row1_header_y" value="0" />

+		<variable name="row2_header_y" value="20" />

+		<variable name="row3_header_y" value="24" />

+		<variable name="row4_header_y" value="52" />

+		<variable name="row1_y" value="80" />

+		<variable name="row1a_y" value="89" />

+		<variable name="row2_y" value="98" />

+		<variable name="row2a_y" value="107" />

+		<variable name="row_tab_y" value="108" />

+		<variable name="row2_input_y" value="116" />

+		<variable name="row3_y" value="116" />

+		<variable name="row3a_y" value="125" />

+		<variable name="row3_input_y" value="125" />

+		<variable name="row4_y" value="134" />

+		<variable name="row4a_y" value="143" />

+		<variable name="row4_input_y" value="143" />

+		<variable name="row5_y" value="152" />

+		<variable name="row5a_y" value="161" />

+		<variable name="row6_y" value="170" />

+		<variable name="row6a_y" value="179" />

+		<variable name="row7_y" value="188" />

+		<variable name="row7a_y" value="197" />

+		<variable name="row8_y" value="206" />

+		<variable name="row8a_y" value="215" />

+		<variable name="row9_y" value="224" />

+		<variable name="row9a_y" value="233" />

+		<variable name="row10_y" value="242" />

+		<variable name="row10a_y" value="251" />

+		<variable name="row11_y" value="260" />

+		<variable name="row11a_y" value="269" />

+		<variable name="row12_y" value="278" />

+		<variable name="row12a_y" value="288" />

+		<variable name="row13_y" value="296" />

+		<variable name="row13a_y" value="305" />

+		<variable name="row14_y" value="314" />

+		<variable name="row14a_y" value="323" />

+		<variable name="row15_y" value="332" />

+		<variable name="row15a_y" value="341" />

+		<variable name="row16_y" value="350" />

+		<variable name="row16a_y" value="359" />

+		<variable name="row17_y" value="368" />

+		<variable name="row17a_y" value="377" />

+		<variable name="row18_y" value="386" />

+		<variable name="row18a_y" value="395" />

+		<variable name="row19_y" value="404" />

+		<variable name="row19a_y" value="413" />

+		<variable name="row20_y" value="422" />

+		<variable name="navbar_y" value="440" />

+		<variable name="navbar_btn_y" value="460" />

+		<variable name="keyboard_y" value="248" />

+		<variable name="background_color" value="#1A1A1A" />

+		<variable name="accent_color" value="#0090CA" />

+		<variable name="text_color" value="#EEEEEE" />

+		<variable name="text_button_color" value="#EEEEEE" />

+		<variable name="text_success_color" value="#76FF03" />

+		<variable name="text_fail_color" value="#FF0101" />

+		<variable name="highlight_color" value="#1A1A1A80" />

+		<variable name="caps_highlight_color" value="#22222280" />

+		<variable name="transparent" value="#00000000" />

+		<variable name="semi_transparent" value="#00000099" />

+		<variable name="warning" value="#F8F8A0" />

+		<variable name="error" value="#FF0101" />

+		<variable name="highlight" value="#0090CA" />

+		<variable name="fileselector_linecolor" value="#555555" />

+		<variable name="fileselector_highlight_color" value="#555555" />

+		<variable name="fileselector_separatorheight" value="1" />

+		<variable name="fileselector_spacing" value="0" />

+		<variable name="fileselector_install_height" value="333" />

+		<variable name="fileselector_install_width" value="400" />

+		<variable name="fileselector_install_folder_width" value="170" />

+		<variable name="fileselector_filemanager_height" value="333" />

+		<variable name="partitionlist_spacing" value="0" />

+		<variable name="partitionlist_storage_height" value="160" />

+		<variable name="partitionlist_flashimage_height" value="144" />

+		<variable name="partitionlist_wipe_height" value="243" />

+		<variable name="partitionlist_mount_height" value="221" />

+		<variable name="partitionlist_backup_height" value="198" />

+		<variable name="listbox_timezone_height" value="306" />

+		<variable name="listbox_settings_height" value="243" />

+		<variable name="fastscroll_w" value="7" />

+		<variable name="fastscroll_linew" value="1" />

+		<variable name="fastscroll_rectw" value="7" />

+		<variable name="fastscroll_recth" value="45" />

+		<variable name="slidervalue_lineh" value="2" />

+		<variable name="slidervalue_padding" value="0" />

+		<variable name="slidervalue_sliderw" value="24" />

+		<variable name="slidervalue_sliderh" value="36" />

+		<variable name="slideout_y" value="40" />

+		<variable name="slideout_height" value="380" />

+		<variable name="slideout_bg_height" value="420" />

+		<variable name="input_height" value="18" />

+		<variable name="input_line_width" value="1" />

+		<variable name="console_height" value="234" />

+		<variable name="console_terminal_height" value="164" />

+		<variable name="dialog_button_x" value="480" />

+		<variable name="date_button_x" value="230" />

+		<variable name="progress_x" value="230" />

+		<variable name="progress_text_x" value="40" />

+		<variable name="progress_text_y" value="348" />

+		<variable name="pattern_x" value="300" />

+		<variable name="pattern_dot_dia" value="12" />

+		<variable name="pattern_line_w" value="4" />

+		<variable name="pattern_size" value="200" />

+	</variables>

+

+	<mousecursor>

+		<placement w="15" h="15" />

+		<background color="#FFFF00FF" resource="cursor" />

+		<speed multiplier="2.5" />

+	</mousecursor>

+

+	<templates>

+		<template name="page">

+			<background color="%background_color%" />

+

+			<object type="fill" color="%accent_color%">

+				<placement x="0" y="0" w="%screen_width%" h="%header_height%" />

+			</object>

+

+			<object type="image">

+				<condition var1="tw_busy" var2="1" />

+				<image resource="logo" />

+				<placement x="0" y="0" />

+			</object>

+

+			<object type="button">

+				<condition var1="tw_busy" var2="0" />

+				<placement x="0" y="0" />

+				<image resource="logo" />

+				<action function="key">home</action>

+			</object>

+

+			<object type="fill" color="#00000030">

+				<condition var1="tw_simulate_actions" var2="0" />

+				<placement x="0" y="0" w="%screen_width%" h="%status_height%" />

+			</object>

+

+			<object type="fill" color="%text_fail_color%">

+				<condition var1="tw_simulate_actions" var2="1" />

+				<placement x="0" y="0" w="%screen_width%" h="%status_height%" />

+			</object>

+

+			<object type="text" color="%text_color%">

+				<condition var1="tw_no_cpu_temp" var2="1" />

+				<font resource="font_m" />

+				<placement x="%indent%" y="%row1_header_y%" />

+				<text>%tw_version%</text>

+			</object>

+

+			<object type="text" color="%text_color%">

+				<condition var1="tw_no_cpu_temp" var2="0" />

+				<font resource="font_m" />

+				<placement x="%indent%" y="%row1_header_y%" />

+				<text>CPU: %tw_cpu_temp% &#xB0;C</text>

+			</object>

+

+			<object type="text" color="%text_color%">

+				<font resource="font_m" />

+				<placement x="%center_x%" y="%row1_header_y%" placement="5" />

+				<text>%tw_time%</text>

+			</object>

+

+			<object type="text" color="%text_color%">

+				<conditions>

+					<condition var1="tw_no_battery_percent" var2="0" />

+					<condition var1="tw_battery" op="&gt;" var2="0" />

+					<condition var1="tw_battery" op="&lt;" var2="101" />

+				</conditions>

+				<font resource="font_m" />

+				<placement x="%indent_right%" y="%row1_header_y%" placement="1" />

+				<text>Battery: %tw_battery%</text>

+			</object>

+

+			<object type="fill" color="#000000">

+				<placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="0" />

+				<condition var1="tw_samsung_navbar" op="!=" var2="1" />

+				<placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />

+				<image resource="back" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="key">back</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="0" />

+				<condition var1="tw_samsung_navbar" op="=" var2="1" />

+				<placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />

+				<image resource="console" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="overlay">slideout</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="0" />

+				<placement x="%center_x%" y="%navbar_btn_y%" placement="4" />

+				<image resource="home" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="key">home</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="0" />

+				<condition var1="tw_samsung_navbar" op="!=" var2="1" />

+				<placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />

+				<image resource="console" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="overlay">slideout</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="0" />

+				<condition var1="tw_samsung_navbar" op="=" var2="1" />

+				<placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />

+				<image resource="back" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="key">back</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="1" />

+				<condition var1="tw_samsung_navbar" op="!=" var2="1" />

+				<placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />

+				<image resource="back" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="key">back</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="1" />

+				<condition var1="tw_samsung_navbar" op="=" var2="1" />

+				<placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />

+				<image resource="console" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="overlay">slideout</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="1" />

+				<placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />

+				<image resource="home" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="key">home</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="1" />

+				<condition var1="tw_samsung_navbar" op="!=" var2="1" />

+				<placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />

+				<image resource="console" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="overlay">slideout</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="1" />

+				<condition var1="tw_samsung_navbar" op="=" var2="1" />

+				<placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />

+				<image resource="back" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="key">back</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="2" />

+				<condition var1="tw_samsung_navbar" op="!=" var2="1" />

+				<placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />

+				<image resource="back" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="key">back</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="2" />

+				<condition var1="tw_samsung_navbar" op="=" var2="1" />

+				<placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />

+				<image resource="console" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="overlay">slideout</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="2" />

+				<placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />

+				<image resource="home" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="key">home</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="2" />

+				<condition var1="tw_samsung_navbar" op="!=" var2="1" />

+				<placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />

+				<image resource="console" />

+				<condition var1="tw_busy" var2="0" />

+				<action function="overlay">slideout</action>

+			</object>

+

+			<object type="button">

+				<condition var1="tw_navbar_button_position" op="=" var2="2" />

+				<condition var1="tw_samsung_navbar" op="=" var2="1" />

+				<placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />

+				<image resource="back" />

+				<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="%progress_x%" y="%row16_y%" />

+				<resource empty="progress_empty" full="progress_full" />

+				<data name="ui_progress" />

+			</object>

+

+			<object type="animation">

+				<placement x="%progress_x%" y="%row16_y%" />

+				<resource name="progress" />

+				<speed fps="24" render="2" />

+				<loop frame="1" />

+			</object>

+		</template>

+

+		<template name="sort_options">

+			<object type="image">

+				<placement x="%col_button_right%" y="%row1a_y%" />

+				<image resource="main_button_half_width_low" />

+			</object>

+

+			<object type="image">

+				<placement x="%col_button_right%" y="%row4a_y%" />

+				<image resource="main_button_half_width_low" />

+			</object>

+

+			<object type="image">

+				<placement x="%col_button_right%" y="%row7a_y%" />

+				<image resource="main_button_half_width_low" />

+			</object>

+

+			<object type="button" style="sort_asc">

+				<condition var1="tw_gui_sort_order" op="=" var2="1" />

+				<placement x="%col_button_right%" y="%row1a_y%" />

+				<text>Sort by Name</text>

+				<action function="set">tw_gui_sort_order=-1</action>

+			</object>

+

+			<object type="button" style="sort_desc">

+				<condition var1="tw_gui_sort_order" op="=" var2="-1" />

+				<placement x="%col_button_right%" y="%row1a_y%" />

+				<text>Sort by Name</text>

+				<action function="set">tw_gui_sort_order=1</action>

+			</object>

+

+			<object type="button" style="sort_empty">

+				<conditions>

+					<condition var1="tw_gui_sort_order" op="!=" var2="1" />

+					<condition var1="tw_gui_sort_order" op="!=" var2="-1" />

+				</conditions>

+				<placement x="%col_button_right%" y="%row1a_y%" />

+				<text>Sort by Name</text>

+				<action function="set">tw_gui_sort_order=1</action>

+			</object>

+

+			<object type="button" style="sort_asc">

+				<condition var1="tw_gui_sort_order" op="=" var2="2" />

+				<placement x="%col_button_right%" y="%row4a_y%" />

+				<text>Sort by Date</text>

+				<action function="set">tw_gui_sort_order=-2</action>

+			</object>

+

+			<object type="button" style="sort_desc">

+				<condition var1="tw_gui_sort_order" op="=" var2="-2" />

+				<placement x="%col_button_right%" y="%row4a_y%" />

+				<text>Sort by Date</text>

+				<action function="set">tw_gui_sort_order=2</action>

+			</object>

+

+			<object type="button" style="sort_empty">

+				<conditions>

+					<condition var1="tw_gui_sort_order" op="!=" var2="2" />

+					<condition var1="tw_gui_sort_order" op="!=" var2="-2" />

+				</conditions>

+				<placement x="%col_button_right%" y="%row4a_y%" />

+				<text>Sort by Date</text>

+				<action function="set">tw_gui_sort_order=2</action>

+			</object>

+

+			<object type="button" style="sort_asc">

+				<condition var1="tw_gui_sort_order" op="=" var2="3" />

+				<placement x="%col_button_right%" y="%row7a_y%" />

+				<text>Sort by Size</text>

+				<action function="set">tw_gui_sort_order=-3</action>

+			</object>

+

+			<object type="button" style="sort_desc">

+				<condition var1="tw_gui_sort_order" op="=" var2="-3" />

+				<placement x="%col_button_right%" y="%row7a_y%" />

+				<text>Sort by Size</text>

+				<action function="set">tw_gui_sort_order=3</action>

+			</object>

+

+			<object type="button" style="sort_empty">

+				<conditions>

+					<condition var1="tw_gui_sort_order" op="!=" var2="3" />

+					<condition var1="tw_gui_sort_order" op="!=" var2="-3" />

+				</conditions>

+				<placement x="%col_button_right%" y="%row7a_y%" />

+				<text>Sort by Size</text>

+				<action function="set">tw_gui_sort_order=3</action>

+			</object>

+		</template>

+

+		<template name="tabs_settings">

+			<object type="button" style="tab">

+				<placement x="0" y="%row1_y%" w="%tab4_width%" h="%tab_height%" />

+				<text>GENERAL</text>

+				<action function="page">settings</action>

+			</object>

+

+			<object type="button" style="tab">

+				<placement x="%tab4_col2_x%" y="%row1_y%" w="%tab4_width%" h="%tab_height%" />

+				<text>TIME ZONE</text>

+				<action function="page">settings_timezone</action>

+			</object>

+

+			<object type="button" style="tab">

+				<placement x="%center_x%" y="%row1_y%" w="%tab4_width%" h="%tab_height%" />

+				<text>SCREEN</text>

+				<action function="page">settings_screen</action>

+			</object>

+

+			<object type="button" style="tab">

+				<placement x="%tab4_col4_x%" y="%row1_y%" w="%tab4_width%" h="%tab_height%" />

+				<text>VIBRATION</text>

+				<action function="page">settings_vibration</action>

+			</object>

+		</template>

+

+		<template name="console">

+			<object type="console">

+				<placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%console_height%" />

+			</object>

+

+			<object type="fill" color="%fileselector_linecolor%">

+				<placement x="%col1_x_left%" y="row2_y" w="%content_width%" h="input_line_width" placement="1" />

+			</object>

+

+			<object type="fill" color="%fileselector_linecolor%">

+				<placement x="%col1_x_left%" y="row15_y" w="%content_width%" h="input_line_width" />

+			</object>

+		</template>

+

+		<template name="console_terminal">

+			<object type="console">

+				<placement x="%col1_x_left%" y="%row3_header_y%" w="content_width" h="%console_terminal_height%" />

+			</object>

+

+			<object type="fill" color="%fileselector_linecolor%">

+				<placement x="%col1_x_left%" y="%row3_header_y%" w="%content_width%" h="input_line_width" placement="1" />

+			</object>

+

+			<object type="fill" color="%fileselector_linecolor%">

+				<placement x="%col1_x_left%" y="row7_y" w="%content_width%" h="input_line_width" />

+			</object>

+		</template>

+

+		<template name="keyboardtemplate">

+			<object type="keyboard">

+				<placement x="0" y="%keyboard_y%" w="800" h="192" />

+				<keymargin x="4" y="4"/>

+				<background color="#111111"/>

+				<key-alphanumeric color="#111111" font="keylabel" textcolor="#EEEEEE"/>

+				<key-other color="#111111" font="keylabel-small" textcolor="#5b5b5bff"/>

+				<longpress font="keylabel-longpress" textcolor="#5b5b5bff" x="14" y="2"/>

+				<keylabel key="0:c:8" text="Bksp" resource="backspace"/>

+				<keylabel key="0:action" text="Enter" resource="enter"/>

+				<keylabel key=" " text="Space" resource="space"/>

+				<highlight color="%highlight_color%" />

+				<capshighlight color="%highlight_color%" />

+				<layout1>

+					<keysize height="48" width="80" />

+					<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="40:" key02="a" long02="@" key03="s" long03="#" key04="d" long04="$" key05="f" long05="%" key06="g" long06="&amp;" key07="h" long07="*" key08="j" long08="-" key09="k" long09="+" key10="l" long10="_" key11="40:" />

+					<row3 key01="120:layout2" key02="z" long02="!" key03="x" long03='"' key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="120:c:8" />

+					<row4 key01="120:layout3" key02="/" key03="400: " key04="." key05="120:action" />

+					<keylabel key="0:layout2" text="Shift" resource="shift"/>

+					<keylabel key="0:layout3" text="?123"/>

+				</layout1>

+				<layout2>

+					<keysize height="48" width="80" 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="40:" key02="A" long02="@" key03="S" long03="#" key04="D" long04="$" key05="F" long05="%" key06="G" long06="&amp;" key07="H" long07="*" key08="J" long08="-" key09="K" long09="+" key10="L" long10="_" key11="40:" />

+					<row3 key01="120:layout1" key02="Z" long02="!" key03="X" long03='"' key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="120:c:8" />

+					<row4 key01="120:layout3" key02="/" key03="400: " key04="." key05="120:action" />

+					<keylabel key="0:layout1" text="Shift" resource="shift_fill"/>

+					<keylabel key="0:layout3" text="?123"/>

+				</layout2>

+				<layout3>

+					<keysize height="48" width="80" />

+					<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="&amp;" key06="*" key07="-" key08="+" key09="(" key10=")" />

+					<row3 key01="120:layout4" key02="!" key03="80:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="120:c:8" />

+					<row4 key01="120:layout1" key02="," key03="400: " key04="." key05="120:action" />

+					<keylabel key="0:layout1" text="ABC"/>

+					<keylabel key="0:layout4" text="~\{"/>

+				</layout3>

+				<layout4>

+					<keysize height="48" width="80" />

+					<row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="%" key08="80:" key09="{" key10="}" />

+					<row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />

+					<row3 key01="120:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="&lt;" key08="&gt;" key09="120:c:8" />

+					<row4 key01="120:layout1" key02="80:c:34" key03="400: " key04="." key05="120:action" />

+					<keylabel key="0:layout1" text="ABC"/>

+					<keylabel key="0:layout3" text="?123"/>

+				</layout4>

+			</object>

+		</template>

+	</templates>

+</recovery>