diff options
Diffstat (limited to '')
-rwxr-xr-x | gui/theme/common/portrait.xml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml index 09b7c6b70..1cf4d8980 100755 --- a/gui/theme/common/portrait.xml +++ b/gui/theme/common/portrait.xml @@ -479,8 +479,9 @@ <template name="console"/> <button style="main_button_half_height"> + <condition var1="tw_ab_device" var2="0"/> <placement x="%indent%" y="%row21a_y%"/> - <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text> + <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text> <actions> <action function="set">tw_back=flash_done</action> <action function="set">tw_action=wipe</action> @@ -497,6 +498,22 @@ </button> <button style="main_button_half_height"> + <condition var1="tw_ab_device" var2="1"/> + <placement x="%indent%" y="%row21a_y%"/> + <text>{@wipe_dalvik_btn=Wipe Dalvik}</text> + <actions> + <action function="set">tw_back=flash_done</action> + <action function="set">tw_action=wipe</action> + <action function="set">tw_action_param=dalvik</action> + <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action> + <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action> + <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action> + <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action> + <action function="page">confirm_action</action> + </actions> + </button> + + <button style="main_button_half_height"> <placement x="%center_x%" y="%row21a_y%"/> <text>{@reboot_system_btn=Reboot System}</text> <actions> |