summaryrefslogtreecommitdiffstats
path: root/gui/devices/320x320/res/ui.xml
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/320x320/res/ui.xml
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/320x320/res/ui.xml')
-rw-r--r--gui/devices/320x320/res/ui.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/gui/devices/320x320/res/ui.xml b/gui/devices/320x320/res/ui.xml
index afe2509db..345a81c6a 100644
--- a/gui/devices/320x320/res/ui.xml
+++ b/gui/devices/320x320/res/ui.xml
@@ -211,6 +211,7 @@
<variable name="pattern_dot_radius" value="7" />
<variable name="pattern_line_color" value="#33B5E5" />
<variable name="pattern_line_width" value="4" />
+ <variable name="pattern_button_y" value="33" />
</variables>
<templates>
@@ -323,6 +324,40 @@
</object>
</template>
+ <template name="pattern_options">
+ <object type="button">
+ <placement x="%col1_medium_x%" y="%pattern_button_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>3x3</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_pattern_grid_size=3</action>
+ </object>
+
+ <object type="button">
+ <placement x="%col2_medium_x%" y="%pattern_button_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>4x4</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_pattern_grid_size=4</action>
+ </object>
+
+ <object type="button">
+ <placement x="%col3_medium_x%" y="%pattern_button_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>5x5</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_pattern_grid_size=5</action>
+ </object>
+
+ <object type="button">
+ <placement x="%col4_medium_x%" y="%pattern_button_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>6x6</text>
+ <image resource="sort_button" />
+ <action function="set">tw_gui_pattern_grid_size=6</action>
+ </object>
+ </template>
+
<template name="sort_options">
<object type="text" color="%text_color%">
<font resource="mediumfont" />