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/watch/res/watch.xml | 1165 +++++++++------------------------------ 1 file changed, 275 insertions(+), 890 deletions(-) (limited to 'gui/devices/watch/res/watch.xml') diff --git a/gui/devices/watch/res/watch.xml b/gui/devices/watch/res/watch.xml index 49e172e3a..786049a03 100644 --- a/gui/devices/watch/res/watch.xml +++ b/gui/devices/watch/res/watch.xml @@ -1,6 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -17,75 +113,51 @@ - - Install - install_select - - Wipe - wipe - - Backup - backup - - Restore - restore - - Mount - mount - - Settings - settings - - Advanced - advanced - - Reboot - reboot @@ -98,11 +170,8 @@ - - Install Zips - install @@ -110,11 +179,8 @@ - - Install Images - install_image @@ -134,17 +200,13 @@ - - + Select Zip to Install - - - + - Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) tw_back=install @@ -153,16 +215,8 @@ - -
- %tw_zip_location% - - - - - @@ -195,93 +249,71 @@ - - + This operation may install incompatible - - + software and render your device unusable. - - + Folder and File: - - + + %tw_zip_location% - - + + %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 @@ -307,19 +339,16 @@ - - - - - + + Flashing file %tw_zip_index% of %tw_zip_queue_count% - - - + + + %tw_filename% @@ -334,24 +363,18 @@ - - + Zip Install Complete - - - - Wipe cache/dalvik - tw_back=flash_done tw_action=wipe @@ -367,39 +390,20 @@ - - + - - Reboot System - - - tw_back=main2 - tw_action=reboot - tw_action_param=system - tw_has_action2=0 - tw_text1=No OS Installed! Are you - tw_text2=sure you wish to reboot? - tw_text3= - tw_text4= - tw_action_text1=Rebooting... - tw_action_text2= - tw_complete_text1=Rebooting... - tw_slider_text=Swipe to Reboot - rebootcheck - - + - + Failed - + - + Successful @@ -424,17 +428,13 @@ - - + Select Image to Install - - - + - Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) tw_back=install_image @@ -443,16 +443,8 @@ - -
- %tw_zip_location% - - - - - @@ -483,46 +475,37 @@ - -
- Select Partition to Flash Image: - - -
- - + Folder: - - + + %tw_zip_location% - - + File to flash: - - + + %tw_file% - - + Swipe to Confirm Flash tw_back=flashimage_confirm tw_action=flashimage @@ -535,12 +518,6 @@ - - - - Swipe to Confirm Flash - - @@ -583,46 +560,34 @@ - - + %tw_text1% - - + %tw_text2% - - + %tw_text3% - - + %tw_text4% - - + Press back button to cancel. - - - action_page - - - - - %tw_slider_text% + action_page @@ -642,27 +607,22 @@ - - + %tw_action_text1% - - + %tw_action_text2% - - + - Cancel - %tw_cancel_param% @@ -694,14 +654,12 @@ - - + %tw_action_text1% - - + %tw_action_text2% @@ -736,22 +694,21 @@ - - + %tw_complete_text1% - + - + Failed - + - + Successful @@ -818,66 +775,55 @@ - - + Factory Reset - - + Wipes Data, Cache, and Dalvik - + - (not including internal storage) - + - Android Secure - + - SD-EXT - - + Most of the time this is - - + the only wipe that you need. - - + Press back button to cancel. - - Advanced Wipe - partitionlisterror=0 advancedwipe @@ -886,11 +832,8 @@ - - Format Data - formatdata @@ -901,11 +844,8 @@ - - Wipe Encryption - tw_back=wipe tw_action=wipe @@ -921,8 +861,7 @@ - - + Swipe to Factory Reset tw_back=wipe tw_action=wipe @@ -933,12 +872,6 @@ - - - - Swipe to Factory Reset - - main @@ -957,29 +890,20 @@ tw_wipe_list= - - + Wipe Menu - -
- Select Partitions to Wipe: - - - -
- - + Swipe to Wipe tw_back=advancedwipe tw_action=wipe @@ -991,11 +915,8 @@ - - - + - Repair or Change File System @@ -1003,19 +924,13 @@ - + - + Invalid partition selection - - - - Swipe to Wipe - - main @@ -1030,41 +945,33 @@ - - + Format Data will wipe all of your apps, - - + backups, pictures, videos, media, and - - + removes encryption on internal storage. - - + This cannot be undone. Press back to cancel. - - + Type yes to continue. - - - %tw_confirm_formatdata% @@ -1128,83 +1035,69 @@ - - + Partition Options for: %tw_partition_name% - - + Mount Point: %tw_partition_mount_point% - - + Current file system: %tw_partition_file_system% - + - Present: Yes - + - Present: No - + - Removable: Yes - + - Removable: No - - + Size: %tw_partition_size%MB - - + Used: %tw_partition_used%MB - - + Free: %tw_partition_free%MB - - + Backup Size: %tw_partition_backup_size%MB - - Repair - tw_back=partitionoptions tw_action=repair @@ -1220,11 +1113,8 @@ - - Change File Sys - selectfilesystem @@ -1264,37 +1154,30 @@ - - + Change file system for: %tw_partition_name% - - + Mount Point: %tw_partition_mount_point% - - + Current file system: %tw_partition_file_system% - - + Proceed with caution! - - EXT2 - tw_back=refreshfilesystem tw_action=changefilesystem @@ -1312,11 +1195,8 @@ - - EXT3 - tw_back=refreshfilesystem tw_action=changefilesystem @@ -1334,11 +1214,8 @@ - - EXT4 - tw_back=refreshfilesystem tw_action=changefilesystem @@ -1356,11 +1233,8 @@ - - F2FS - tw_back=refreshfilesystem tw_action=changefilesystem @@ -1378,11 +1252,8 @@ - - FAT - tw_back=refreshfilesystem tw_action=changefilesystem @@ -1400,11 +1271,8 @@ - - exFAT - tw_back=refreshfilesystem tw_action=changefilesystem @@ -1436,11 +1304,8 @@ - - - + - Backup Name: %tw_backup_name% tw_fileexists=0 @@ -1449,33 +1314,20 @@ - -
- Select Partitions to Back Up: - - - -
- - - + - More... backupoptions - - - + - Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) tw_back=backup @@ -1485,22 +1337,13 @@ - Compression - - - - backup_run - - - - - Swipe to Back Up + backup_run @@ -1517,36 +1360,29 @@ - - + More Backup Options - + - - - No Encryption backupencryption - + - - - Using Encryption tw_password_not_match=0 @@ -1554,11 +1390,8 @@ - - - + - Refresh Sizes @@ -1566,11 +1399,8 @@ - - - + - Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) tw_back=backupotions @@ -1580,18 +1410,14 @@ - Enable compression. - - Skip MD5 generation during backup. - @@ -1619,17 +1445,13 @@ - + - Please Enter a Backup Name - - - %tw_backup_name% @@ -1641,28 +1463,22 @@ - + - + A backup with that name already exists! - - Append Date - - - Cancel - tw_backup_name=(Auto Generate) backup @@ -1693,42 +1509,34 @@ - - + Encrypt your backup? - - + Please Enter A Password: - - - %tw_backup_encrypt_display% backupencryption2 - + - + Passwords Do Not Match - - Cancel - tw_encrypt_backup=0 tw_backup_password= @@ -1757,23 +1565,18 @@ - - + Encrypt your backup? - - + Please Enter Password Again: - - - %tw_backup_encrypt_display2% @@ -1783,11 +1586,8 @@ - - Cancel - tw_encrypt_backup=0 tw_backup_password= @@ -1839,20 +1639,17 @@ - - + %tw_operation% %tw_partition% - - + %tw_file_progress% - - + %tw_size_progress% @@ -1863,12 +1660,9 @@ - - + - Cancel - @@ -1906,11 +1700,8 @@ - - - + - Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) tw_back=restore @@ -1919,16 +1710,8 @@ - -
- Select Package to Restore: - - - - - @@ -1978,23 +1761,18 @@ - - + Backup Encrypted - - + Please Enter Your Password: - - - %tw_restore_display% @@ -2003,19 +1781,16 @@ - + - + Password Failed, Please Try Again - - Cancel - tw_page_done=1 restore @@ -2023,11 +1798,8 @@ - - Delete - tw_back=restore tw_action=cmd @@ -2059,8 +1831,7 @@ - - + Trying Decryption with Your Password @@ -2100,24 +1871,14 @@ - -
- Restoring: %tw_restore_name% - - - -
- - - + - Rename Backup tw_backup_rename= @@ -2126,11 +1887,8 @@ - - - + - Delete Backup tw_back=restore @@ -2147,22 +1905,13 @@ - Enable MD5 verification of backup. - - - - restore_run - - - - - Swipe to Restore + restore_run @@ -2179,17 +1928,13 @@ - + - Please Enter a New Backup Name - - - %tw_backup_rename% @@ -2209,19 +1954,16 @@ - + - + A backup with that name already exists! - - Cancel - restore_select @@ -2243,14 +1985,12 @@ - - + %tw_operation% %tw_partition% - - + %tw_size_progress% @@ -2278,25 +2018,16 @@ - -
- Select Storage: - - -
- - OK - tw_clear_destination=%tw_back% clear_vars @@ -2322,23 +2053,13 @@ - -
- Select Partitions to Mount: - - - -
- - - + - Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) tw_back=mount @@ -2347,51 +2068,39 @@ - - USB Storage - usb_mount - - Enable MTP - - - Disable MTP - - - Decrypt Data - decrypt @@ -2411,8 +2120,7 @@ - - + USB Storage Mounted @@ -2423,18 +2131,14 @@ Be sure to safely remove your device - + - from your computer before unmounting! - - Unmount - usb_umount @@ -2458,40 +2162,20 @@ - - + Reboot Menu - - - System - - - tw_back=reboot - tw_action=reboot - tw_action_param=system - tw_has_action2=0 - tw_text1=No OS Installed! Are you - tw_text2=sure you wish to reboot? - tw_action_text1=Rebooting... - tw_complete_text1=Rebooting... - tw_slider_text=Swipe to Reboot - rebootcheck - - - Power Off - tw_back=reboot tw_action=reboot @@ -2507,12 +2191,9 @@ - - Recovery - tw_back=reboot tw_action=reboot @@ -2528,12 +2209,9 @@ - - Bootloader - tw_back=reboot tw_action=reboot @@ -2549,12 +2227,9 @@ - - Download - tw_back=reboot tw_action=reboot @@ -2587,94 +2262,68 @@ - Zip file signature verification. - - Use rm -rf instead of formatting. - - Skip MD5 generation during backup. - - Enable MD5 verification of backup files. - - Use 24-hour clock. - - Simulate actions for theme testing. - - Simulate failure for actions. - - - Time Zone - timezone - - Screen - screen - - Restore Defaults - - - Vibration - vibrate @@ -2694,16 +2343,10 @@ - - + -
- Select Time Zone: - - - BST11;BDT HST10;HDT @@ -2733,65 +2376,46 @@ - Do you use daylight savings time (DST)? - - - + Offset (usually 0): %tw_time_zone_guioffset% - - + - None - tw_time_zone_guioffset=0 - - + - 15 - tw_time_zone_guioffset=15 - - + - 30 - tw_time_zone_guioffset=30 - - + - 45 - tw_time_zone_guioffset=45 - - Set Time Zone - - - + Current Time Zone: %tw_time_zone% @@ -2810,8 +2434,7 @@ - - + Screen Settings @@ -2837,12 +2460,11 @@ - - + + + + - - - Screen timeout in seconds: @@ -2850,9 +2472,6 @@ - - - Brightness: %tw_brightness_pct%% @@ -2879,34 +2498,27 @@ - - + Vibration Settings : - Button Vibration: - - Keyboard Vibration: - - Action Vibration: - @@ -2925,18 +2537,14 @@ - - + Advanced - - Copy Log to SD - tw_back=advanced tw_action=copylog @@ -2949,77 +2557,53 @@ - - Fix Permissions - fixperms - - Partition SD Card - partsdcard - - File Manager - filemanagerlist - - Terminal Command - terminalfolder - - Reload Theme - - - ADB Sideload - sideload - - HTC Dumlock - htcdumlock - - Re-Inject TWRP - tw_back=advanced tw_action=reinjecttwrp @@ -3047,101 +2631,81 @@ - - + Partition SD Card - - tw_sdext_size-128 - - tw_sdext_size+128 - - + EXT Size: %tw_sdext_size% - - tw_swap_size-32 - - tw_swap_size+32 - - + Swap Size: %tw_swap_size% - - + File system: %tw_sdpart_file_system% - EXT3 - tw_sdpart_file_system=ext3 - - EXT4 tw_sdpart_file_system=ext4 - - + You will lose all files on your SD card! - - + This action cannot be undone! - - - partsdcardaction + Swipe to Partition tw_back=partsdcard tw_action=partitionsd @@ -3155,12 +2719,6 @@ - - - - Swipe to Partition - - main @@ -3175,19 +2733,14 @@ - - + HTC Dumlock - - - Restore Original Boot - tw_back=htcdumlock tw_action=htcdumlockrestoreboot @@ -3200,12 +2753,8 @@ - - - Reflash Recovery - tw_back=htcdumlock tw_action=htcdumlockreflashrecovery @@ -3218,12 +2767,8 @@ - - - Install HTC Dumlock - tw_back=htcdumlock tw_action=installhtcdumlock @@ -3257,38 +2802,22 @@ - - - - - - - - Swipe to Unlock + - - + File Manager: Select a File or Folder - -
- %tw_file_location1% - - - - - @@ -3321,12 +2850,9 @@
- - + - Select - tw_filename1=tw_file_location1 tw_fm_isfolder=1 @@ -3339,25 +2865,20 @@ - - + %tw_fm_type% Selected: - - + %tw_filename1% - - Copy File - tw_filemanager_command=cp tw_fm_text1=Copying @@ -3366,12 +2887,9 @@ - - Copy Folder - tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R tw_fm_text1=Copying @@ -3380,11 +2898,8 @@ - - Move - tw_filemanager_command=mv tw_fm_text1=Moving @@ -3393,11 +2908,8 @@ - - chmod 755 - tw_filemanager_command=chmod 755 tw_fm_text1=chmod 755 @@ -3410,11 +2922,8 @@ - - chmod - tw_filemanager_rename=0000 tw_fm_text2= @@ -3426,11 +2935,8 @@ - - Delete - tw_filemanager_command=rm -rf tw_fm_text1=Deleting @@ -3443,12 +2949,9 @@ - - Rename File - tw_filemanager_rename=tw_selection1 tw_fm_text1=Renaming @@ -3458,12 +2961,9 @@ - - Rename Folder - tw_filemanager_rename=tw_selection1 tw_fm_text1=Renaming @@ -3488,23 +2988,14 @@ - - + Browse to Destination & Press Select - -
- %tw_file_location2% - - - - - @@ -3523,12 +3014,9 @@ filemanageroptions
- - + - Select - tw_fm_text2=to tw_fm_text3=%tw_file_location2% @@ -3542,17 +3030,13 @@ - + - Please Enter a New %tw_fm_type% Name - - - %tw_filemanager_rename% @@ -3566,11 +3050,8 @@ - - Cancel - filemanageroptions @@ -3592,17 +3073,13 @@ - + - Please Enter a New %tw_fm_type% Name - - - %tw_filemanager_rename% @@ -3616,11 +3093,8 @@ - - Cancel - filemanageroptions @@ -3650,9 +3124,6 @@ - - - %tw_filemanager_rename% @@ -3665,11 +3136,8 @@ - - Cancel - filemanageroptions @@ -3691,48 +3159,35 @@ - - + %tw_fm_text1% - - + %tw_filename1% - - + %tw_fm_text2% - - + %tw_fm_text3% - - + Press back button to cancel. - - filemanageracction - - - - Swipe to Confirm - - %tw_back% @@ -3747,9 +3202,7 @@ - - - + %tw_fm_text1% @@ -3799,17 +3252,13 @@ - - + Please Enter Your Password - - - %tw_crypto_display% @@ -3818,19 +3267,16 @@ - + - + Password Failed, Please Try Again - - Cancel - tw_page_done=1 main @@ -3845,8 +3291,7 @@ - - + Trying Decryption with Your Password @@ -3885,23 +3330,14 @@ - - + Browse to Starting Folder - -
- %tw_terminal_location% - - - - - @@ -3920,12 +3356,9 @@ advanced
- - + - Select - terminalcommand @@ -3937,35 +3370,26 @@ - - - + - Starting Path: %tw_terminal_location% - - - %tw_terminal_command% %tw_terminal_command% - - + - KILL - @@ -3985,31 +3409,25 @@ - - + ADB Sideload - Wipe Dalvik Cache. - - Wipe Cache. - - - + Swipe to Start Sideload tw_back=advanced tw_action=adbsideload @@ -4023,12 +3441,6 @@ - - - - Swipe to Start Sideload - - main @@ -4043,41 +3455,34 @@ - - + Fix Permissions - - + Note: Fixing permissions is rarely needed. - Also fix SELinux contexts - - - + Fixing SELinux contexts may cause - - + your device to not boot properly. - - + Swipe to Fix Permissions tw_back=advanced tw_action=fixpermissions @@ -4089,12 +3494,6 @@ - - - - Swipe to Fix Permissions - - main @@ -4111,42 +3510,34 @@ - - + Install SuperSU? - - + Your device does not appear to be rooted. - - + Install SuperSU now? - - + This will root your device. - - Do Not Install - tw_page_done=1 - - + Swipe to Install tw_action=installsu tw_action_text1=Installing SuperSU @@ -4154,12 +3545,6 @@ singleaction_page - - - - - Swipe to Install - -- cgit v1.2.3