summaryrefslogtreecommitdiffstats
path: root/gui/devices/portrait
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-05-28 16:44:41 +0200
committerEthan Yonker <dees_troy@teamw.in>2015-05-28 16:47:25 +0200
commita2719156c236c8be02403ef028490f001d393d8e (patch)
treef61805a35f33ae82216d0123dc72488ef8ea2fc1 /gui/devices/portrait
parentMount system as read-only by default (diff)
downloadandroid_bootable_recovery-a2719156c236c8be02403ef028490f001d393d8e.tar
android_bootable_recovery-a2719156c236c8be02403ef028490f001d393d8e.tar.gz
android_bootable_recovery-a2719156c236c8be02403ef028490f001d393d8e.tar.bz2
android_bootable_recovery-a2719156c236c8be02403ef028490f001d393d8e.tar.lz
android_bootable_recovery-a2719156c236c8be02403ef028490f001d393d8e.tar.xz
android_bootable_recovery-a2719156c236c8be02403ef028490f001d393d8e.tar.zst
android_bootable_recovery-a2719156c236c8be02403ef028490f001d393d8e.zip
Diffstat (limited to 'gui/devices/portrait')
-rw-r--r--gui/devices/portrait/res/portrait.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/gui/devices/portrait/res/portrait.xml b/gui/devices/portrait/res/portrait.xml
index 997da9d23..9ffd6e44e 100644
--- a/gui/devices/portrait/res/portrait.xml
+++ b/gui/devices/portrait/res/portrait.xml
@@ -1118,6 +1118,25 @@
</object>
<object type="button">
+ <condition var1="tw_partition_can_resize" op="=" var2="1" />
+ <placement x="%col1_x%" y="%row3_y%" />
+ <text>Resize</text>
+ <actions>
+ <action function="set">tw_back=partitionoptions</action>
+ <action function="set">tw_action=resize</action>
+ <action function="set">tw_action_param=%tw_partition_mount_point%</action>
+ <action function="set">tw_has_action2=1</action>
+ <action function="set">tw_action2=getpartitiondetails</action>
+ <action function="set">tw_text1=Resize %tw_partition_name%?</action>
+ <action function="set">tw_text2=</action>
+ <action function="set">tw_action_text1=Resizing...</action>
+ <action function="set">tw_complete_text1=Resize Complete</action>
+ <action function="set">tw_slider_text=Swipe to Resize</action>
+ <action function="page">confirm_action</action>
+ </actions>
+ </object>
+
+ <object type="button">
<condition var1="tw_partition_can_repair" op="=" var2="1" />
<placement x="%col1_x%" y="%row4_y%" />
<text>Repair</text>