summaryrefslogtreecommitdiffstats
path: root/gui/theme
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2016-03-02 01:40:36 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-03-31 20:34:49 +0200
commita869fc79bca0f65e5d0d25b0ecd2e86abc127926 (patch)
treef1ae9cfb41f7a4294cd46db24c25b4f9d66a16db /gui/theme
parentprogress: Initialize display percentage variable (diff)
downloadandroid_bootable_recovery-a869fc79bca0f65e5d0d25b0ecd2e86abc127926.tar
android_bootable_recovery-a869fc79bca0f65e5d0d25b0ecd2e86abc127926.tar.gz
android_bootable_recovery-a869fc79bca0f65e5d0d25b0ecd2e86abc127926.tar.bz2
android_bootable_recovery-a869fc79bca0f65e5d0d25b0ecd2e86abc127926.tar.lz
android_bootable_recovery-a869fc79bca0f65e5d0d25b0ecd2e86abc127926.tar.xz
android_bootable_recovery-a869fc79bca0f65e5d0d25b0ecd2e86abc127926.tar.zst
android_bootable_recovery-a869fc79bca0f65e5d0d25b0ecd2e86abc127926.zip
Diffstat (limited to 'gui/theme')
-rw-r--r--gui/theme/common/landscape.xml6
-rw-r--r--gui/theme/common/languages/en.xml2
-rw-r--r--gui/theme/common/portrait.xml8
-rw-r--r--gui/theme/common/watch.xml6
4 files changed, 21 insertions, 1 deletions
diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml
index ba96e4186..525a2c1da 100644
--- a/gui/theme/common/landscape.xml
+++ b/gui/theme/common/landscape.xml
@@ -440,6 +440,12 @@
<data variable="tw_inject_after_zip"/>
</checkbox>
+ <checkbox>
+ <placement x="%col1_x_right%" y="%row12_y%" />
+ <text>{@install_reboot_chk=Reboot after installation is complete}</text>
+ <data variable="tw_install_reboot" />
+ </checkbox>
+
<button style="main_button_half_width">
<placement x="%col1_x_left%" y="%row15a_y%"/>
<text>{@zip_add_btn=Add more Zips}</text>
diff --git a/gui/theme/common/languages/en.xml b/gui/theme/common/languages/en.xml
index 4b7743a19..4c26d304f 100644
--- a/gui/theme/common/languages/en.xml
+++ b/gui/theme/common/languages/en.xml
@@ -82,6 +82,7 @@
<string name="file">File:</string>
<string name="zip_sig_chk">Zip signature verification</string>
<string name="inject_twrp_chk">Inject TWRP after install</string>
+ <string name="install_reboot_chk">Reboot after installation is complete</string>
<string name="options_hdr">Options</string>
<string name="confirm_flash_hdr">Confirm Flash</string>
<string name="zip_queue">Queue:</string>
@@ -666,5 +667,6 @@
<string name="change_fs_err">Error changing file system.</string>
<string name="theme_ver_err">Custom theme version does not match TWRP version. Using stock theme.</string>
<string name="up_a_level">(Up A Level)</string>
+ <string name="install_reboot">Rebooting in 5 seconds</string>
</resources>
</language>
diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml
index 0ac2dfb88..03e3982a2 100644
--- a/gui/theme/common/portrait.xml
+++ b/gui/theme/common/portrait.xml
@@ -386,8 +386,14 @@
</checkbox>
<checkbox>
+ <placement x="%indent%" y="%row13a_y%" />
+ <text>{@install_reboot_chk=Reboot after installation is complete}</text>
+ <data variable="tw_install_reboot" />
+ </checkbox>
+
+ <checkbox>
<condition var1="tw_has_injecttwrp" var2="1"/>
- <placement x="%indent%" y="%row13_y%"/>
+ <placement x="%indent%" y="%row15_y%"/>
<text>{@inject_twrp_chk=Inject TWRP after install}</text>
<data variable="tw_inject_after_zip"/>
</checkbox>
diff --git a/gui/theme/common/watch.xml b/gui/theme/common/watch.xml
index e840687c5..4516ce262 100644
--- a/gui/theme/common/watch.xml
+++ b/gui/theme/common/watch.xml
@@ -525,6 +525,12 @@
<data variable="tw_inject_after_zip"/>
</checkbox>
+ <checkbox>
+ <placement x="%indent%" y="%row4_y%" />
+ <text>{@install_reboot_chk=Reboot after installation is complete}</text>
+ <data variable="tw_install_reboot" />
+ </checkbox>
+
<button>
<placement x="%col1_x_left%" y="%row11_y%"/>
<highlight color="%highlight_color%"/>