summaryrefslogtreecommitdiffstats
path: root/gui/devices/portrait
diff options
context:
space:
mode:
authorAleksa Sarai <cyphar@cyphar.com>2015-12-31 17:36:00 +0100
committerz31s1g <z31s1g@googlemail.com>2016-01-02 19:44:48 +0100
commitb25a18395e666bbe13506651d5de84054aae0fcc (patch)
tree2fd5195a8b25ac31b614cea56c67499866434bcd /gui/devices/portrait
parenttwrp: fix a typo and remove whitespace (diff)
downloadandroid_bootable_recovery-b25a18395e666bbe13506651d5de84054aae0fcc.tar
android_bootable_recovery-b25a18395e666bbe13506651d5de84054aae0fcc.tar.gz
android_bootable_recovery-b25a18395e666bbe13506651d5de84054aae0fcc.tar.bz2
android_bootable_recovery-b25a18395e666bbe13506651d5de84054aae0fcc.tar.lz
android_bootable_recovery-b25a18395e666bbe13506651d5de84054aae0fcc.tar.xz
android_bootable_recovery-b25a18395e666bbe13506651d5de84054aae0fcc.tar.zst
android_bootable_recovery-b25a18395e666bbe13506651d5de84054aae0fcc.zip
Diffstat (limited to 'gui/devices/portrait')
-rw-r--r--gui/devices/portrait/res/portrait.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/gui/devices/portrait/res/portrait.xml b/gui/devices/portrait/res/portrait.xml
index 9c230675f..b7e79e9e9 100644
--- a/gui/devices/portrait/res/portrait.xml
+++ b/gui/devices/portrait/res/portrait.xml
@@ -58,6 +58,10 @@
<sort name="tw_gui_sort_order" />
</style>
+ <style name="patternpassword">
+ <size name="tw_gui_pattern_grid_size" default="3" />
+ </style>
+
<style name="partitionlist">
<style name="scrolllist" />
<icon selected="checkbox_true" unselected="checkbox_false" />
@@ -3382,10 +3386,12 @@
<object type="text">
<condition var1="tw_password_fail" var2="1" />
<font resource="font" color="%text_fail_color%"/>
- <placement x="%center_x%" y="%row2_text_y%" placement="5" />
+ <placement x="%center_x%" y="%row1_text_y%" placement="5" />
<text>Pattern Failed, Please Try Again</text>
</object>
+ <object type="template" name="pattern_options" />
+
<object type="patternpassword">
<placement x="%pattern_x%" y="%pattern_y%" w="%pattern_width%" h="%pattern_width%" />
<dot color="%pattern_dot_color%" activecolor="%pattern_dot_color_active%" radius="%pattern_dot_radius%" />
@@ -3395,7 +3401,7 @@
</object>
<object type="button">
- <placement x="%col_center_x%" y="%row4_y%" />
+ <placement x="%col_center_x%" y="%pattern_cancel_y%" />
<text>Cancel</text>
<actions>
<action function="set">tw_page_done=1</action>