summaryrefslogtreecommitdiffstats
path: root/gui/theme
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2017-09-08 19:17:03 +0200
committerEthan Yonker <dees_troy@teamw.in>2017-09-08 19:17:53 +0200
commit75aa615767457f2b62dda65b16ded41b0e6df11f (patch)
tree98a4c6f60f45fd9746ba7b122fd1a82ce9113aee /gui/theme
parentUpdate to AOSP 8.0 base (diff)
downloadandroid_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar
android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.gz
android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.bz2
android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.lz
android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.xz
android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.tar.zst
android_bootable_recovery-75aa615767457f2b62dda65b16ded41b0e6df11f.zip
Diffstat (limited to 'gui/theme')
-rw-r--r--gui/theme/common/landscape.xml6
-rw-r--r--gui/theme/common/languages/en.xml1
-rw-r--r--gui/theme/common/portrait.xml8
-rw-r--r--gui/theme/common/watch.xml6
4 files changed, 20 insertions, 1 deletions
diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml
index c3d89fe2d..5e640104d 100644
--- a/gui/theme/common/landscape.xml
+++ b/gui/theme/common/landscape.xml
@@ -447,6 +447,12 @@
<data variable="tw_install_reboot"/>
</checkbox>
+ <checkbox>
+ <placement x="%col1_x_right%" y="%row13a_y%"/>
+ <text>{@enable_legacy_props_chk=Enable legacy properties for old zips}</text>
+ <data variable="tw_enable_legacy_props"/>
+ </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 5c208316c..435da36a2 100644
--- a/gui/theme/common/languages/en.xml
+++ b/gui/theme/common/languages/en.xml
@@ -82,6 +82,7 @@
<string name="folder">Folder:</string>
<string name="file">File:</string>
<string name="zip_sig_chk">Zip signature verification</string>
+ <string name="enable_legacy_props_chk">Enable legacy properties for old zips</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>
diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml
index f163bea8b..c101014ac 100644
--- a/gui/theme/common/portrait.xml
+++ b/gui/theme/common/portrait.xml
@@ -393,8 +393,14 @@
</checkbox>
<checkbox>
- <condition var1="tw_has_injecttwrp" var2="1"/>
<placement x="%indent%" y="%row15_y%"/>
+ <text>{@enable_legacy_props_chk=Enable legacy properties for old zips}</text>
+ <data variable="tw_enable_legacy_props"/>
+ </checkbox>
+
+ <checkbox>
+ <condition var1="tw_has_injecttwrp" var2="1"/>
+ <placement x="%indent%" y="%row16a_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 d5ef86972..2a8234559 100644
--- a/gui/theme/common/watch.xml
+++ b/gui/theme/common/watch.xml
@@ -555,6 +555,12 @@
<data variable="tw_install_reboot"/>
</checkbox>
+ <checkbox>
+ <placement x="%indent%" y="%row5a_y%"/>
+ <text>{@enable_legacy_props_chk=Enable legacy properties for old zips}</text>
+ <data variable="tw_enable_legacy_props"/>
+ </checkbox>
+
<button>
<placement x="%col1_x_left%" y="%row11_y%"/>
<highlight color="%highlight_color%"/>