summaryrefslogtreecommitdiffstats
path: root/gui/devices/480x854
diff options
context:
space:
mode:
authorGary Peck <gary@realify.com>2012-11-22 03:02:02 +0100
committerGary Peck <gary@realify.com>2012-11-22 14:56:38 +0100
commitffdc6aea4cec62e07d3a695f0b96d256088f5b9b (patch)
treee6bc2dd87808bc0d7e67c01d7127a821539a4da6 /gui/devices/480x854
parentFix compiling for x86 targets (diff)
downloadandroid_bootable_recovery-ffdc6aea4cec62e07d3a695f0b96d256088f5b9b.tar
android_bootable_recovery-ffdc6aea4cec62e07d3a695f0b96d256088f5b9b.tar.gz
android_bootable_recovery-ffdc6aea4cec62e07d3a695f0b96d256088f5b9b.tar.bz2
android_bootable_recovery-ffdc6aea4cec62e07d3a695f0b96d256088f5b9b.tar.lz
android_bootable_recovery-ffdc6aea4cec62e07d3a695f0b96d256088f5b9b.tar.xz
android_bootable_recovery-ffdc6aea4cec62e07d3a695f0b96d256088f5b9b.tar.zst
android_bootable_recovery-ffdc6aea4cec62e07d3a695f0b96d256088f5b9b.zip
Diffstat (limited to 'gui/devices/480x854')
-rw-r--r--gui/devices/480x854/res/ui.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/gui/devices/480x854/res/ui.xml b/gui/devices/480x854/res/ui.xml
index 62fb909db..b1cf00c6d 100644
--- a/gui/devices/480x854/res/ui.xml
+++ b/gui/devices/480x854/res/ui.xml
@@ -2115,6 +2115,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>