diff options
author | Dees Troy <dees_troy@teamw.in> | 2013-02-19 15:41:23 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@5.9.244.119> | 2013-02-19 15:41:23 +0100 |
commit | 72394403b98a3990f87e8dbb8cc8e585a3298e09 (patch) | |
tree | 7b69ecf13f3d4378f53f0c92b47fb9a7521660f1 /gui/devices | |
parent | Merge "Add highlight to file selector" into twrp2.4 (diff) | |
parent | Update listbox code (diff) | |
download | android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.gz android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.bz2 android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.lz android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.xz android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.tar.zst android_bootable_recovery-72394403b98a3990f87e8dbb8cc8e585a3298e09.zip |
Diffstat (limited to 'gui/devices')
-rwxr-xr-x | gui/devices/1024x600/res/ui.xml | 6 | ||||
-rw-r--r-- | gui/devices/1024x768/res/ui.xml | 6 | ||||
-rw-r--r-- | gui/devices/1280x800/res/ui.xml | 6 | ||||
-rw-r--r-- | gui/devices/1920x1200/res/ui.xml | 6 | ||||
-rw-r--r-- | gui/devices/2560x1600/res/ui.xml | 6 | ||||
-rw-r--r-- | gui/devices/320x480/res/ui.xml | 16 | ||||
-rw-r--r-- | gui/devices/480x800/res/ui.xml | 16 | ||||
-rw-r--r-- | gui/devices/480x854/res/ui.xml | 16 | ||||
-rw-r--r-- | gui/devices/540x960/res/ui.xml | 16 | ||||
-rw-r--r-- | gui/devices/720x1280/res/ui.xml | 16 | ||||
-rwxr-xr-x | gui/devices/800x1280/res/ui.xml | 16 | ||||
-rwxr-xr-x | gui/devices/800x480/res/ui.xml | 6 |
12 files changed, 72 insertions, 60 deletions
diff --git a/gui/devices/1024x600/res/ui.xml b/gui/devices/1024x600/res/ui.xml index 76d7d7339..9d66a9021 100755 --- a/gui/devices/1024x600/res/ui.xml +++ b/gui/devices/1024x600/res/ui.xml @@ -2497,10 +2497,14 @@ </object> <object type="listbox"> + <highlight color="%fileselector_highlight_color%" /> <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/1024x768/res/ui.xml b/gui/devices/1024x768/res/ui.xml index 7f856de37..cf74e0a35 100644 --- a/gui/devices/1024x768/res/ui.xml +++ b/gui/devices/1024x768/res/ui.xml @@ -2497,10 +2497,14 @@ </object> <object type="listbox"> + <highlight color="%fileselector_highlight_color%" /> <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/1280x800/res/ui.xml b/gui/devices/1280x800/res/ui.xml index 3d0821499..8e96c7bf6 100644 --- a/gui/devices/1280x800/res/ui.xml +++ b/gui/devices/1280x800/res/ui.xml @@ -2497,10 +2497,14 @@ </object> <object type="listbox"> + <highlight color="%fileselector_highlight_color%" /> <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/1920x1200/res/ui.xml b/gui/devices/1920x1200/res/ui.xml index 95237faec..cbe6353a8 100644 --- a/gui/devices/1920x1200/res/ui.xml +++ b/gui/devices/1920x1200/res/ui.xml @@ -2497,10 +2497,14 @@ </object> <object type="listbox"> + <highlight color="%fileselector_highlight_color%" /> <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/2560x1600/res/ui.xml b/gui/devices/2560x1600/res/ui.xml index 45209bb7d..834aa2a45 100644 --- a/gui/devices/2560x1600/res/ui.xml +++ b/gui/devices/2560x1600/res/ui.xml @@ -2497,10 +2497,14 @@ </object> <object type="listbox"> + <highlight color="%fileselector_highlight_color%" /> <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/320x480/res/ui.xml b/gui/devices/320x480/res/ui.xml index 406187e4d..c8ff2fbba 100644 --- a/gui/devices/320x480/res/ui.xml +++ b/gui/devices/320x480/res/ui.xml @@ -137,7 +137,7 @@ <variable name="fileselector_spacing" value="12" /> <variable name="listbox_x" value="3" /> <variable name="listbox_width" value="313" /> - <variable name="listbox_tz_height" value="168" /> + <variable name="listbox_tz_height" value="189" /> <variable name="listbox_background" value="#303030" /> <variable name="listbox_spacing" value="12" /> <variable name="sd_plus_x" value="187" /> @@ -2462,17 +2462,15 @@ <page name="timezone"> <object type="template" name="header" /> - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - <object type="listbox"> - <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/480x800/res/ui.xml b/gui/devices/480x800/res/ui.xml index b2acb237f..718921d76 100644 --- a/gui/devices/480x800/res/ui.xml +++ b/gui/devices/480x800/res/ui.xml @@ -136,7 +136,7 @@ <variable name="fileselector_spacing" value="18" /> <variable name="listbox_x" value="5" /> <variable name="listbox_width" value="470" /> - <variable name="listbox_tz_height" value="280" /> + <variable name="listbox_tz_height" value="310" /> <variable name="listbox_background" value="#303030" /> <variable name="listbox_spacing" value="18" /> <variable name="sd_plus_x" value="280" /> @@ -2461,17 +2461,15 @@ <page name="timezone"> <object type="template" name="header" /> - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - <object type="listbox"> - <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/480x854/res/ui.xml b/gui/devices/480x854/res/ui.xml index 20895f82d..b8bd53f9c 100644 --- a/gui/devices/480x854/res/ui.xml +++ b/gui/devices/480x854/res/ui.xml @@ -135,7 +135,7 @@ <variable name="fileselector_spacing" value="18" /> <variable name="listbox_x" value="5" /> <variable name="listbox_width" value="470" /> - <variable name="listbox_tz_height" value="280" /> + <variable name="listbox_tz_height" value="310" /> <variable name="listbox_background" value="#303030" /> <variable name="listbox_spacing" value="18" /> <variable name="sd_plus_x" value="280" /> @@ -2460,17 +2460,15 @@ <page name="timezone"> <object type="template" name="header" /> - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - <object type="listbox"> - <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml index d3cb57418..01e7f7ae8 100644 --- a/gui/devices/540x960/res/ui.xml +++ b/gui/devices/540x960/res/ui.xml @@ -136,7 +136,7 @@ <variable name="fileselector_spacing" value="18" /> <variable name="listbox_x" value="5" /> <variable name="listbox_width" value="530" /> - <variable name="listbox_tz_height" value="390" /> + <variable name="listbox_tz_height" value="420" /> <variable name="listbox_background" value="#303030" /> <variable name="listbox_spacing" value="18" /> <variable name="sd_plus_x" value="280" /> @@ -2461,17 +2461,15 @@ <page name="timezone"> <object type="template" name="header" /> - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - <object type="listbox"> - <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/720x1280/res/ui.xml b/gui/devices/720x1280/res/ui.xml index 217564fdb..fa51706ff 100644 --- a/gui/devices/720x1280/res/ui.xml +++ b/gui/devices/720x1280/res/ui.xml @@ -141,7 +141,7 @@ <variable name="fileselector_spacing" value="36" /> <variable name="listbox_x" value="5" /> <variable name="listbox_width" value="710" /> - <variable name="listbox_tz_height" value="540" /> + <variable name="listbox_tz_height" value="590" /> <variable name="listbox_background" value="#303030" /> <variable name="listbox_spacing" value="16" /> <variable name="sd_plus_x" value="350" /> @@ -2474,17 +2474,15 @@ <page name="timezone"> <object type="template" name="header" /> - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - <object type="listbox"> - <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/800x1280/res/ui.xml b/gui/devices/800x1280/res/ui.xml index 1b9560478..4fb039d2a 100755 --- a/gui/devices/800x1280/res/ui.xml +++ b/gui/devices/800x1280/res/ui.xml @@ -137,7 +137,7 @@ <variable name="fileselector_spacing" value="36"/> <variable name="listbox_x" value="5" /> <variable name="listbox_width" value="710" /> - <variable name="listbox_tz_height" value="540" /> + <variable name="listbox_tz_height" value="580" /> <variable name="listbox_background" value="#303030" /> <variable name="listbox_spacing" value="16" /> <variable name="sd_plus_x" value="350" /> @@ -2462,17 +2462,15 @@ <page name="timezone"> <object type="template" name="header" /> - <object type="text" color="%text_color%"> - <font resource="font" /> - <placement x="%center_x%" y="%row1_header_y%" placement="5" /> - <text>Select Time Zone</text> - </object> - <object type="listbox"> - <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <highlight color="%fileselector_highlight_color%" /> + <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> diff --git a/gui/devices/800x480/res/ui.xml b/gui/devices/800x480/res/ui.xml index 342b14e8e..9d6abf9a8 100755 --- a/gui/devices/800x480/res/ui.xml +++ b/gui/devices/800x480/res/ui.xml @@ -2505,10 +2505,14 @@ </object> <object type="listbox"> + <highlight color="%fileselector_highlight_color%" /> <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> + <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> + <text>Select Time Zone:</text> <icon selected="radio_true" unselected="radio_false" /> + <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> <background color="%listbox_background%" /> - <font resource="font" spacing="%listbox_spacing%" color="%text_color%" /> + <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> <data name="tw_time_zone_guisel" /> <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> |