diff options
Diffstat (limited to '')
-rwxr-xr-x | gui/theme/common/portrait.xml | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml index c2d32dd3e..c993225bb 100755 --- a/gui/theme/common/portrait.xml +++ b/gui/theme/common/portrait.xml @@ -136,6 +136,16 @@ <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/> </style> + <style name="advanced_listbox"> + <highlight color="%fileselector_highlight_color%"/> + <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/> + <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/> + <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/> + <icon selected="handle" unselected="handle"/> + <background color="%background_color%"/> + <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/> + </style> + <style name="slider"> <placement x="%center_x%" y="%row23_y%"/> <font resource="font_s" color="%text_color%"/> @@ -3501,18 +3511,14 @@ <button style="main_button"> <condition var1="tw_has_data_media" var2="1"/> <placement x="%center_x%" y="%row2a_y%"/> - <text>{@fix_context_btn=Fix Contexts}</text> - <action function="page">fixcontexts</action> + <text>{@adb_sideload_btn=ADB Sideload}</text> + <action function="page">sideload</action> </button> <button style="main_button"> - <condition var1="tw_allow_partition_sdcard" var2="1"/> <placement x="%indent%" y="%row8_y%"/> - <text>{@part_sd_btn=Partition SD Card}</text> - <actions> - <action function="set">partitionlisterror=0</action> - <action function="page">partsdcardsel</action> - </actions> + <text>{@terminal_btn=Terminal}</text> + <action function="page">terminalcommand</action> </button> <button style="main_button"> @@ -3521,45 +3527,39 @@ <action function="page">filemanagerlist</action> </button> - <button style="main_button"> - <placement x="%indent%" y="%row13a_y%"/> - <text>{@terminal_btn=Terminal}</text> - <action function="page">terminalcommand</action> - </button> - - <button style="main_button"> - <placement x="%center_x%" y="%row13a_y%"/> - <text>{@reload_theme_btn=Reload Theme}</text> - <action function="reload"/> - </button> - - <button style="main_button"> - <placement x="%indent%" y="%row19_y%"/> - <text>{@adb_sideload_btn=ADB Sideload}</text> - <action function="page">sideload</action> - </button> - - <button style="main_button"> - <condition var1="tw_show_dumlock" var2="1"/> - <placement x="%center_x%" y="%row19_y%"/> - <text>{@dumlock_btn=HTC Dumlock}</text> - <action function="page">htcdumlock</action> - </button> - - <button style="main_button"> - <condition var1="tw_has_injecttwrp" var2="1"/> - <placement x="%center_x%" y="%row19_y%"/> - <text>{@inject_twrp_btn=Inject TWRP}</text> - <actions> - <action function="set">tw_back=advanced</action> - <action function="set">tw_action=reinjecttwrp</action> - <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> - <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> - <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> - <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> - <action function="page">confirm_action</action> - </actions> - </button> + <listbox style="advanced_listbox"> + <placement x="%indent%" y="%row13a_y%" w="%content_width%" h="%listbox_advanced_height%"/> + <listitem name="{@reload_theme_btn=Reload Theme}"> + <action function="reload"/> + </listitem> + <listitem name="{@part_sd_btn=Partition SD Card}"> + <condition var1="tw_allow_partition_sdcard" var2="1"/> + <actions> + <action function="set">partitionlisterror=0</action> + <action function="page">partsdcardsel</action> + </actions> + </listitem> + <listitem name="{@fix_context_btn=Fix Contexts}"> + <condition var1="tw_has_data_media" var2="1"/> + <action function="page">fixcontexts</action> + </listitem> + <listitem name="{@dumlock_btn=HTC Dumlock}"> + <condition var1="tw_show_dumlock" var2="1"/> + <action function="page">htcdumlock</action> + </listitem> + <listitem name="{@inject_twrp_btn=Inject TWRP}"> + <condition var1="tw_has_injecttwrp" var2="1"/> + <actions> + <action function="set">tw_back=advanced</action> + <action function="set">tw_action=reinjecttwrp</action> + <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action> + <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action> + <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action> + <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action> + <action function="page">confirm_action</action> + </actions> + </listitem> + </listbox> <action> <touch key="home"/> |