summaryrefslogblamecommitdiffstats
path: root/gui/devices/800x480/res/ui.xml
blob: a9bf904bbf5af4cfb644067d4a9d5091734782d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                              



                                                
                   
                                                                                                     
                                                                                            
                                                                                              
                                                                              

                                                                                               


                                                                                         



                                                                                                           




                                                                                               






                                                                                                          



                                                                               
                                                                                          













                                                                 
                                                                 






                                                             
                                                             


































                                                                  
                                                              



                                                                      
                                                                     
                                                                          

























                                                                          


                                                             






                                                                          
                                                                             










                                                                                      

                                                                                     
                                                                   

                                                                          

                                                              

                                                               







                                                                      
                                                      










                                                                       



                                                                       
                                                                      

                                                                         
                                                                 




                                                                  
                                                                





                                                                   







                                                                          







                                                                            

                    





                                                                  



                                                        







                                                                        
                                             

                                                                         

                                 

                                                                 
                                                          
                                                                                     



                                                                 
                                                           

                                                                                           

                                                                                            





                                                                        
                                                            



                                                                 




                                                                                    
                                                                       


                                                                 






                                                                                 
                                                                       








                                                                                     
                                                                       











                                                                                     




                                                                




                                                                                             
                                                                                        


















                                                                                             
                                                                       







                                                                                              
                                                                       







                                                                                              
                                                                       













                                                                                              
                                                                       







                                                                                               
                                                                       







                                                                                               
                                                                       

















                                                                                                                                       
                                                                                                 

















                                                                                                                                       
                                                                       
                                                                                







                                                                                                                                                                                                                                                                                 
                                                                                                         







                                                                                                                                                                                                                                                                                 

                                                                                                                                                                                                           











                                                                                                                                                                                    
           
<?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" type="font" filename="RobotoCondensed-Regular.ttf" size="16" />
		<resource name="fixed" type="font" filename="DroidSansMono.ttf" size="12" />
		<resource name="twrplogo" type="image" filename="twrplogo" retainaspect="1" />
		<resource name="main_button" type="image" filename="button" />
		<resource name="file_icon" type="image" filename="file" retainaspect="1" />
		<resource name="folder_icon" type="image" filename="folder" retainaspect="1" />
		<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" retainaspect="1" />
		<resource name="checkbox_true" type="image" filename="checkbox_checked" retainaspect="1" />
		<resource name="radio_false" type="image" filename="radio_empty" retainaspect="1" />
		<resource name="radio_true" type="image" filename="radio_selected" retainaspect="1" />
		<resource name="medium_button" type="image" filename="medium-button" />
		<resource name="mediumwide_button" type="image" filename="mediumwide-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" retainaspect="1" />
		<resource name="back_icon" type="image" filename="back-icon" retainaspect="1" />
		<resource name="console_button" type="image" filename="console-toggle" retainaspect="1" />
		<resource name="slider" type="image" filename="slider" retainaspect="1" />
		<resource name="slider-used" type="image" filename="slider-used" retainaspect="1" />
		<resource name="slider-touch" type="image" filename="slider-touch" retainaspect="1" />
		<resource name="unlock-icon" type="image" filename="unlock" retainaspect="1" />
		<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" />
		<resource name="cursor" type="image" filename="cursor" retainaspect="1" />
	</resources>

	<variables>
		<variable name="col1_x" value="23" />
		<variable name="col2_x" value="210" />
		<variable name="col3_x" value="410" />
		<variable name="col4_x" value="610" />
		<variable name="row1_y" value="90" />
		<variable name="row2_y" value="340" />
		<variable name="col_center_x" value="310" />
		<variable name="center_x" value="400" />
		<variable name="screen_width" value="800" />
		<variable name="screen_height" value="480" />
		<variable name="col_progressbar_x" value="300" />
		<variable name="row_progressbar_y" value="440" />
		<variable name="col1_medium_x" value="120" />
		<variable name="col2_medium_x" value="250" />
		<variable name="col3_medium_x" value="380" />
		<variable name="col4_medium_x" value="510" />
		<variable name="row1_medium_y" value="105" />
		<variable name="row2_medium_y" value="175" />
		<variable name="row3_medium_y" value="245" />
		<variable name="row4_medium_y" value="340" />
		<variable name="row5_medium_y" value="320" />
		<variable name="row1_text_y" value="58" />
		<variable name="row2_text_y" value="78" />
		<variable name="row3_text_y" value="100" />
		<variable name="row4_text_y" value="120" />
		<variable name="row5_text_y" value="140" />
		<variable name="row6_text_y" value="160" />
		<variable name="row7_text_y" value="180" />
		<variable name="row8_text_y" value="200" />
		<variable name="row9_text_y" value="220" />
		<variable name="row10_text_y" value="240" />
		<variable name="row11_text_y" value="260" />
		<variable name="row12_text_y" value="280" />
		<variable name="row13_text_y" value="300" />
		<variable name="row14_text_y" value="320" />
		<variable name="row15_text_y" value="340" />
		<variable name="row16_text_y" value="360" />
		<variable name="row17_text_y" value="380" />
		<variable name="row18_text_y" value="400" />
		<variable name="row_offsetmedium_y" value="320" />
		<variable name="home_button_x" value="589" />
		<variable name="home_button_y" value="5" />
		<variable name="back_button_x" value="659" />
		<variable name="back_button_y" value="5" />
		<variable name="console_button_x" value="729" />
		<variable name="console_button_y" value="5" />
		<variable name="nandcheck_col1" value="23" />
		<variable name="nandcheck_col2" value="360" />
		<variable name="nandcheck_row1" value="130" />
		<variable name="nandcheck_row2" value="160" />
		<variable name="nandcheck_row3" value="190" />
		<variable name="nandcheck_row4" value="220" />
		<variable name="nandcheck_row5" value="250" />
		<variable name="nandcheck_row6" value="280" />
		<variable name="nandcheck_row7" value="310" />
		<variable name="nandcheck_row8" value="340" />
		<variable name="button_text_color" value="#AAAAAA" />
		<variable name="text_color" value="#A0A0A0" />
		<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="slider_x" value="225" />
		<variable name="slider_y" value="390" />
		<variable name="slider_text_y" value="425" />
		<variable name="sort_text_x" value="170" />
		<variable name="sort_asc_text_y" value="418" />
		<variable name="sort_asc_button_y" value="413" />
		<variable name="sort_desc_text_y" value="452" />
		<variable name="sort_desc_button_y" value="447" />
		<variable name="sort_col1_button_x" value="300" />
		<variable name="sort_col2_button_x" value="370" />
		<variable name="sort_col3_button_x" value="440" />
		<variable name="col1_sdext_x" value="265" />
		<variable name="col2_sdext_x" value="475" />
		<variable name="row1_sdext_y" value="85" />
		<variable name="row2_sdext_y" value="150" />
		<variable name="row_extsize_y" value="85" />
		<variable name="row_swapsize_y" value="150" />
		<variable name="input_x" value="28" />
		<variable name="input_width" value="720" />
		<variable name="input_height" value="25" />
		<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="25" />
		<variable name="console_width" value="750" />
		<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="230" />
		<variable name="console_install_height" value="260" />
		<variable name="console_installdone_height" value="260" />
		<variable name="fileselector_folder_x" value="28" />
		<variable name="fileselector_folder_width" value="248" />
		<variable name="fileselector_folderonly_width" value="400" />
		<variable name="fileselector_file_x" value="278" />
		<variable name="fileselector_file_width" value="506" />
		<variable name="fileselector_install_y" value="120" />
		<variable name="fileselector_install_height" value="290" />
		<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="#50505080" />
		<variable name="fastscroll_rectcolor" value="#33B5E580" />
		<variable name="fastscroll_w" value="25" />
		<variable name="fastscroll_linew" value="2" />
		<variable name="fastscroll_rectw" value="12" />
		<variable name="fastscroll_recth" value="20" />
		<variable name="zipstorage_text_y" value="88" />
		<variable name="listbox_x" value="156" />
		<variable name="listbox_y" value="90" />
		<variable name="listbox_width" value="460" />
		<variable name="listbox_tz_height" value="170" />
		<variable name="listbox_background" value="#303030" />
		<variable name="listbox_spacing" value="12" />
		<variable name="sd_plus_x" value="280" />
		<variable name="lock_y" value="150" />
		<variable name="filemanager_select_x" value="610" />
		<variable name="filemanager_select_y" value="413" />
		<variable name="backup_name_text_y" value="440" />
		<variable name="backup_name_button_y" value="195" />
		<variable name="col_right_x" value="772" />
		<variable name="cancel_button_y" value="180" />
		<variable name="terminal_console_y" value="0" />
		<variable name="terminal_console_height" value="240" />
		<variable name="terminal_text_y" value="247" />
		<variable name="terminal_button_y" value="237" />
		<variable name="terminal_input_width" value="551" />
		<variable name="button_fill_color" value="#303030" />
		<variable name="button_fill_full_width" value="400" />
		<variable name="button_fill_main_width" value="367" />
		<variable name="button_fill_main_height" value="120" />
		<variable name="button_fill_half_height" value="40" />
		<variable name="button_fill_quarter_height" value="30" />
		<variable name="button_full_center_x" value="200" />
		<variable name="flash_list_height" value="140" />
		<variable name="backup_list_x" value="23" />
		<variable name="backup_list_y" value="80" />
		<variable name="backup_list_width" value="367" />
		<variable name="backup_list_height" value="290" />
		<variable name="backup_storage_y" value="190" />
		<variable name="backup_encrypt_y" value="235" />
		<variable name="restore_list_y" value="100" />
		<variable name="restore_list_height" value="270" />
		<variable name="mount_list_height" value="360" />
		<variable name="mount_storage_row" value="500" />
		<variable name="wipe_list_height" value="300" />
		<variable name="wipe_button_y" value="150" />
		<variable name="slidervalue_x" value="200" />
		<variable name="slidervalue_w" value="400" />
		<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="0" />
		<variable name="slidervalue_sliderw" value="7" />
		<variable name="slidervalue_sliderh" value="40" />
		<variable name="pattern_x" value="200" />
		<variable name="pattern_y" value="110" />
		<variable name="pattern_width" value="300" />
		<variable name="pattern_dot_color" value="#33B5E5" />
		<variable name="pattern_dot_color_active" value="#FFFFFF" />
		<variable name="pattern_dot_radius" value="10" />
		<variable name="pattern_line_color" value="#33B5E5" />
		<variable name="pattern_line_width" value="7" />
	</variables>

	<mousecursor>
		<placement w="15" h="15" />
		<background color="#FFFF00FF" resource="cursor" />
		<speed multiplier="1.5" />
	</mousecursor>

	<templates>
		<template name="header">
			<background color="#000000FF" />

			<object type="fill" color="%button_fill_color%">
				<placement x="0" y="0" w="800" h="58" />
			</object>

			<object type="fill" color="%highlight%">
				<placement x="0" y="58" w="800" h="2" />
			</object>

			<object type="image">
				<image resource="twrplogo" />
				<placement x="35" y="29" placement="4" />
			</object>

			<object type="text" color="%text_color%">
				<font resource="font" />
				<placement x="70" y="2" />
				<text>Team Win Recovery Project  v%tw_version%</text>
			</object>

			<object type="text" color="%text_color%">
				<font resource="font" />
				<placement x="70" y="37" />
				<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>
				<text>Battery Level: %tw_battery%</text>
			</object>

			<object type="text" color="%text_color%">
				<font resource="font" />
				<placement x="425" y="37" />
				<text>%tw_time%</text>
			</object>

			<object type="text" color="%text_color%">
				<font resource="font" />
				<placement x="500" y="37" />
				<conditions>
					<condition var1="tw_no_cpu_temp" var2="0" />
				</conditions>
				<text>CPU: %tw_cpu_temp% &#xB0;C</text>
			</object>

			<object type="text" color="%text_color%">
				<condition var1="tw_simulate_actions" var2="1" />
				<font resource="font" />
				<placement x="250" y="20" />
				<text>SIMULATING ACTIONS</text>
			</object>

			<object type="button">
				<highlight color="%highlight_color%" />
				<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">
				<highlight color="%highlight_color%" />
				<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="sort_options">
			<object type="text" color="%text_color%">
				<font resource="font" />
				<placement x="%sort_text_x%" y="%sort_asc_text_y%" />
				<text>Sort Ascending:</text>
			</object>

			<object type="button">
				<highlight color="%highlight_color%" />
				<placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
				<font resource="font" color="%button_text_color%" />
				<text>Name</text>
				<image resource="sort_button" />
				<action function="set">tw_gui_sort_order=1</action>
			</object>

			<object type="button">
				<highlight color="%highlight_color%" />
				<placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
				<font resource="font" color="%button_text_color%" />
				<text>Date</text>
				<image resource="sort_button" />
				<action function="set">tw_gui_sort_order=2</action>
			</object>

			<object type="button">
				<highlight color="%highlight_color%" />
				<placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
				<font resource="font" 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="font" />
				<placement x="%sort_text_x%" y="%sort_desc_text_y%" />
				<text>Sort Descending:</text>
			</object>

			<object type="button">
				<highlight color="%highlight_color%" />
				<placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
				<font resource="font" color="%button_text_color%" />
				<text>Name</text>
				<image resource="sort_button" />
				<action function="set">tw_gui_sort_order=-1</action>
			</object>

			<object type="button">
				<highlight color="%highlight_color%" />
				<placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
				<font resource="font" color="%button_text_color%" />
				<text>Date</text>
				<image resource="sort_button" />
				<action function="set">tw_gui_sort_order=-2</action>
			</object>

			<object type="button">
				<highlight color="%highlight_color%" />
				<placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
				<font resource="font" color="%button_text_color%" />
				<text>Size</text>
				<image resource="sort_button" />
				<action function="set">tw_gui_sort_order=-3</action>
			</object>
		</template>

		<template name="flash_zip_console">
			<object type="console">
				<placement x="%console_x%" y="85" w="%console_width%" h="260" />
				<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
				<font resource="fixed" />
			</object>
		</template>

		<template name="action_page_console">
			<object type="console">
				<placement x="%console_x%" y="160" w="%console_width%" h="230" />
				<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
				<font resource="fixed" />
			</object>
		</template>

		<template name="footer">
			<object type="console">
				<slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
				<placement x="%console_x%" y="60" w="%console_width%" h="380" />
				<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="277" />
				<layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
				<highlight color="%highlight_color%" />
				<capshighlight color="%caps_highlight_color%" />
				<layout1>
					<keysize height="51" width="73" />
					<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" key11="70:c:8" />
					<row2 key01="107:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="109:action" />
					<row3 key01="79:layout2" key02="72:z" key03="72:x" key04="72:c" key05="72:v" key06="72:b" key07="72:n" key08="72:m" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
					<row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
				</layout1>
				<layout2>
					<keysize height="51" width="73" 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" key11="70:c:8" />
					<row2 key01="107:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="109:action" />
					<row3 key01="79:layout1" key02="72:Z" key03="72:X" key04="72:C" key05="72:V" key06="72:B" key07="72:N" key08="72:M" key09="72:," long09="!" key10="72:." long10="?" key11="73::" long11="+" />
					<row4 key01="103:layout3" key02="72:" key03="/" long03="@" key04="315: " key05="'" long05="73:c:34" key06="-" long06="_" />
				</layout2>
				<layout3>
					<keysize height="51" width="73" />
					<row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="70:c:8" />
					<row2 key01="107:#" key02="$" key03="%" key04="&amp;" key05="*" key06="-" key07="+" key08="(" key09=")" key10="109:action" />
					<row3 key01="79:layout4" key02="72:&lt;" key03="72:&gt;" key04="72:=" key05="72::" key06="72:;" key07="72:," key08="72:." key09="72:!" key10="72:?" key11="73:/" />
					<row4 key01="103:layout1" key02="72:" key03="@" key04="315: " key05="73:c:34" key06="_" />
				</layout3>
				<layout4>
					<keysize height="51" width="73" />
					<row1 key01="~" key02="`" key03="|" key04="73:" key05="73:" key06="73:" key07="73:" key08="73:" key09="73:" key10="73:" key11="70:c:8" />
					<row2 key01="107:" key02="73:" key03="73:" key04="73:" key05="^" key06="73:" key07="73:" key08="{" key09="}" key10="109:action" />
					<row3 key01="79:layout3" key02="72:\" key03="72:" key04="72:" key05="72:" key06="72:" key07="72:[" key08="72:]" key09="72:!" key10="72:?" />
					<row4 key01="103:layout1" key02="72:" key03="72:" key04="315: " />
				</layout4>
			</object>
		</template>
	</templates>
</recovery>