From 21ff02a69331fbcd53dc93a1af9a93618225b4bf Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Wed, 18 Feb 2015 14:35:00 -0600 Subject: GUI: Support styles in xml to reduce xml file size Also allow sliders to have their own text label instead of requiring a whole separate text object for the label in the xml. Change-Id: I6e314efb4bb454d496555ff7e003d743063a1308 --- gui/devices/portrait/res/portrait.xml | 1199 ++++++++------------------------- 1 file changed, 280 insertions(+), 919 deletions(-) (limited to 'gui/devices/portrait/res') diff --git a/gui/devices/portrait/res/portrait.xml b/gui/devices/portrait/res/portrait.xml index fe6167155..6fb52f300 100644 --- a/gui/devices/portrait/res/portrait.xml +++ b/gui/devices/portrait/res/portrait.xml @@ -1,6 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15,11 +111,8 @@ - - Install - install @@ -27,66 +120,44 @@ - - Wipe - wipe - - Backup - backup - - Restore - restore - - Mount - mount - - Settings - settings - - - Advanced - advanced - - Reboot - reboot @@ -96,17 +167,13 @@ - - + Select Zip to Install - - - + - Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) tw_back=install @@ -115,16 +182,8 @@ - -
- %tw_zip_location% - - - - - @@ -133,12 +192,9 @@ - - + - Images... - install_image @@ -168,99 +224,76 @@ - - + This operation may install incompatible - - + software and render your device unusable. - - + Folder: - - + + %tw_zip_location% - - + File to flash: - - + + %tw_file% - - + Press back to cancel adding this zip. - Zip file signature verification. - - Inject TWRP after install. - - - + File %tw_zip_queue_count% of max of 10 - - - flash_zip - - - - - Swipe to Confirm Flash + flash_zip - - Add More Zips - install - - Clear Zip Queue - install @@ -288,18 +321,15 @@ - - - - + Flashing file %tw_zip_index% of %tw_zip_queue_count% - - + + %tw_filename% @@ -315,24 +345,18 @@ - - + Zip Install Complete - - - - Wipe cache/dalvik - tw_back=flash_done tw_action=wipe @@ -349,50 +373,29 @@ - +