summaryrefslogtreecommitdiffstats
path: root/gui/devices/540x960/res
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2012-12-12 20:12:36 +0100
committerGerrit Code Review <gerrit@5.9.244.119>2012-12-12 20:12:36 +0100
commita23258d30d2759922530e413b46fee860f492305 (patch)
tree473e93e32aa61084fd0dd4e8a97a9cdede657e18 /gui/devices/540x960/res
parentMerge "print partition details independent of whether its mountable" into jb-wip (diff)
parentadd Decrypt Data button (diff)
downloadandroid_bootable_recovery-a23258d30d2759922530e413b46fee860f492305.tar
android_bootable_recovery-a23258d30d2759922530e413b46fee860f492305.tar.gz
android_bootable_recovery-a23258d30d2759922530e413b46fee860f492305.tar.bz2
android_bootable_recovery-a23258d30d2759922530e413b46fee860f492305.tar.lz
android_bootable_recovery-a23258d30d2759922530e413b46fee860f492305.tar.xz
android_bootable_recovery-a23258d30d2759922530e413b46fee860f492305.tar.zst
android_bootable_recovery-a23258d30d2759922530e413b46fee860f492305.zip
Diffstat (limited to 'gui/devices/540x960/res')
-rw-r--r--gui/devices/540x960/res/ui.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml
index 5e90ae0ba..481beca5f 100644
--- a/gui/devices/540x960/res/ui.xml
+++ b/gui/devices/540x960/res/ui.xml
@@ -2116,6 +2116,18 @@
<action function="page">usb_mount</action>
</object>
+ <object type="button">
+ <conditions>
+ <condition var1="tw_is_encrypted" var2="1" />
+ <condition var1="tw_is_decrypted" var2="0" />
+ </conditions>
+ <placement x="%col2_x%" y="row3_y" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Decrypt Data</text>
+ <image resource="main_button" />
+ <action function="page">decrypt</action>
+ </object>
+
<object type="action">
<touch key="home" />
<action function="page">main</action>