summaryrefslogtreecommitdiffstats
path: root/gui/devices/540x960
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-02-19 15:40:49 +0100
committerGerrit Code Review <gerrit@5.9.244.119>2013-02-19 15:40:49 +0100
commitc4517b2042899851d86997201b68ae9236528fb5 (patch)
tree17cd7ecebafab01d09cc1bd247acc00dac13739a /gui/devices/540x960
parentThis adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future. (diff)
parentAdd button highlight (diff)
downloadandroid_bootable_recovery-c4517b2042899851d86997201b68ae9236528fb5.tar
android_bootable_recovery-c4517b2042899851d86997201b68ae9236528fb5.tar.gz
android_bootable_recovery-c4517b2042899851d86997201b68ae9236528fb5.tar.bz2
android_bootable_recovery-c4517b2042899851d86997201b68ae9236528fb5.tar.lz
android_bootable_recovery-c4517b2042899851d86997201b68ae9236528fb5.tar.xz
android_bootable_recovery-c4517b2042899851d86997201b68ae9236528fb5.tar.zst
android_bootable_recovery-c4517b2042899851d86997201b68ae9236528fb5.zip
Diffstat (limited to 'gui/devices/540x960')
-rw-r--r--gui/devices/540x960/res/ui.xml84
1 files changed, 83 insertions, 1 deletions
diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml
index 1ff4821ac..ad8c91efc 100644
--- a/gui/devices/540x960/res/ui.xml
+++ b/gui/devices/540x960/res/ui.xml
@@ -96,6 +96,7 @@
<variable name="text_color" value="#FFFFFF" />
<variable name="text_success_color" value="#33B5E5" />
<variable name="text_fail_color" value="#FF0101" />
+ <variable name="highlight_color" value="#90909080" />
<variable name="home_button_x" value="10" />
<variable name="home_button_y" value="919" />
<variable name="back_button_x" value="466" />
@@ -320,7 +321,7 @@
<object type="keyboard">
<placement x="0" y="600" />
<layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
- <highlight color="#90909080" />
+ <highlight color="%highlight_color%" />
<layout1>
<keysize height="78" width="54" />
<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" />
@@ -367,6 +368,7 @@
<object type="template" name="header" />
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text>Install</text>
@@ -378,6 +380,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text>Wipe</text>
@@ -386,6 +389,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Backup</text>
@@ -394,6 +398,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Restore</text>
@@ -402,6 +407,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
<text>Mount</text>
@@ -410,6 +416,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
<text>Settings</text>
@@ -419,6 +426,7 @@
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
<text>Advanced</text>
@@ -427,6 +435,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
<text>Reboot</text>
@@ -621,6 +630,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
<placement x="%col1_x%" y="%row_queue_y%" />
<font resource="font" color="%button_text_color%" />
@@ -630,6 +640,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row_queue_y%" />
<font resource="font" color="%button_text_color%" />
<text>Clear Zip Queue</text>
@@ -701,6 +712,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
<text>Wipe cache/dalvik</text>
@@ -721,6 +733,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
<text>Reboot System</text>
@@ -743,6 +756,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col_center_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
<text>Home</text>
@@ -810,6 +824,7 @@
<object type="template" name="header" />
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_show_exclamation" var2="1" />
<placement x="%exclamation_x%" y="%exclamation_y%" />
<font resource="font" color="%button_text_color%" />
@@ -893,6 +908,7 @@
<object type="template" name="action_page_console" />
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_has_cancel" var2="1" />
<placement x="%col_center_medium_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
@@ -952,6 +968,7 @@
<object type="template" name="action_page_console" />
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_show_reboot" var2="0" />
<placement x="%col_center_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
@@ -964,6 +981,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_show_reboot" var2="1" />
<placement x="%col_center_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
@@ -1053,6 +1071,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text>Cache</text>
@@ -1070,6 +1089,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text>Dalvik Cache</text>
@@ -1087,6 +1107,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Factory Reset</text>
@@ -1105,6 +1126,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>System</text>
@@ -1123,6 +1145,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_has_external" var2="1" />
<placement x="%col1_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
@@ -1144,6 +1167,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_has_internal" var2="1" />
<placement x="%col2_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
@@ -1165,6 +1189,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<conditions>
<condition var1="tw_has_internal" var2="1" />
<condition var1="tw_has_data_media" var2="1" />
@@ -1192,6 +1217,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_has_data_media" var2="0" />
<placement x="%col1_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
@@ -1210,6 +1236,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_has_sdext_partition" var2="1" />
<placement x="%col2_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
@@ -1268,6 +1295,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text>Refresh Sizes</text>
@@ -1276,6 +1304,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%backup_name_y%" />
<font resource="font" color="%button_text_color%" />
<text>Set Backup Name</text>
@@ -1502,6 +1531,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col_center_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Cancel</text>
@@ -1660,6 +1690,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text>Rename Backup</text>
@@ -1672,6 +1703,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Delete Backup</text>
@@ -1850,6 +1882,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col_center_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Cancel</text>
@@ -2108,6 +2141,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_has_usb_storage" var2="1" />
<placement x="%col1_x%" y="row3_y" />
<font resource="font" color="%button_text_color%" />
@@ -2117,6 +2151,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<conditions>
<condition var1="tw_is_encrypted" var2="1" />
<condition var1="tw_is_decrypted" var2="0" />
@@ -2163,6 +2198,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
<text>Unmount</text>
@@ -2197,6 +2233,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_reboot_system" var2="1" />
<placement x="%col1_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2217,6 +2254,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_reboot_poweroff" var2="1" />
<placement x="%col2_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2237,6 +2275,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_reboot_recovery" var2="1" />
<placement x="%col1_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2257,6 +2296,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_reboot_bootloader" var2="1" />
<placement x="%col2_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2277,6 +2317,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_download_mode" var2="1" />
<placement x="%col1_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2384,6 +2425,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
<text>Time Zone</text>
@@ -2392,6 +2434,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col_center_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
<text>Restore Defaults</text>
@@ -2468,6 +2511,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
<font resource="font" color="%button_text_color%" />
<text>None</text>
@@ -2476,6 +2520,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
<font resource="font" color="%button_text_color%" />
<text>15</text>
@@ -2484,6 +2529,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
<font resource="font" color="%button_text_color%" />
<text>30</text>
@@ -2492,6 +2538,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
<font resource="font" color="%button_text_color%" />
<text>45</text>
@@ -2500,6 +2547,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col_center_x%" y="%tz_set_y%" />
<font resource="font" color="%button_text_color%" />
<text>Set Time Zone</text>
@@ -2536,6 +2584,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text>Copy Log to SD</text>
@@ -2552,6 +2601,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text>Fix Permissions</text>
@@ -2569,6 +2619,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_allow_partition_sdcard" var2="1" />
<placement x="%col1_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2578,6 +2629,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>File Manager</text>
@@ -2586,6 +2638,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
<text>Terminal Command</text>
@@ -2594,6 +2647,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
<text>Reload Theme</text>
@@ -2602,6 +2656,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
<text>ADB Sideload</text>
@@ -2610,6 +2665,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_show_dumlock" var2="1" />
<placement x="%col2_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2619,6 +2675,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_has_injecttwrp" var2="1" />
<placement x="%col2_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2658,6 +2715,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text></text>
@@ -2666,6 +2724,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%sd_plus_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
<text></text>
@@ -2680,6 +2739,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%sdswap_button_y%" />
<font resource="font" color="%button_text_color%" />
<text></text>
@@ -2688,6 +2748,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%sd_plus_x%" y="%sdswap_button_y%" />
<font resource="font" color="%button_text_color%" />
<text></text>
@@ -2708,6 +2769,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%sdfilesystem_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>EXT3</text>
@@ -2716,6 +2778,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_sdext_disable_ext4" var2="0" />
<placement x="%col2_x%" y="%sdfilesystem_button_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2782,6 +2845,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_show_dumlock" var2="1" />
<placement x="%col1_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2799,6 +2863,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_show_dumlock" var2="1" />
<placement x="%col2_x%" y="%row1_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2816,6 +2881,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_show_dumlock" var2="1" />
<placement x="%col1_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2917,6 +2983,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
<font resource="font" color="%button_text_color%" />
<text>Select</text>
@@ -2948,6 +3015,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_fm_isfolder" var2="0" />
<placement x="%col1_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2961,6 +3029,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_fm_isfolder" var2="1" />
<placement x="%col1_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
@@ -2974,6 +3043,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Move</text>
@@ -2986,6 +3056,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
<text>chmod 755</text>
@@ -3002,6 +3073,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col2_x%" y="%row3_y%" />
<font resource="font" color="%button_text_color%" />
<text>chmod</text>
@@ -3017,6 +3089,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col1_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
<text>Delete</text>
@@ -3033,6 +3106,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_fm_isfolder" var2="0" />
<placement x="%col2_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
@@ -3047,6 +3121,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_fm_isfolder" var2="1" />
<placement x="%col2_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
@@ -3110,6 +3185,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
<font resource="font" color="%button_text_color%" />
<text>Select</text>
@@ -3153,6 +3229,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col_center_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Cancel</text>
@@ -3202,6 +3279,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col_center_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Cancel</text>
@@ -3250,6 +3328,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col_center_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Cancel</text>
@@ -3412,6 +3491,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%col_center_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Cancel</text>
@@ -3504,6 +3584,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
<font resource="font" color="%button_text_color%" />
<text>Select</text>
@@ -3544,6 +3625,7 @@
</object>
<object type="button">
+ <highlight color="%highlight_color%" />
<condition var1="tw_terminal_state" var2="1" />
<placement x="%filemanager_select_x%" y="%terminal_button_y%" />
<font resource="font" color="%button_text_color%" />