summaryrefslogtreecommitdiffstats
path: root/gui/devices
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-02-07 19:38:55 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-02-07 19:38:55 +0100
commit50b24dd57c4266a34d238b2e7e3278312a685b2d (patch)
tree0c7be37f026aa24597356f26e0e6542aa5cf06fd /gui/devices
parentDisable alpha blending for non-transparent bitmaps (diff)
parentAdd haptic feedback (diff)
downloadandroid_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.gz
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.bz2
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.lz
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.xz
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.zst
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.zip
Diffstat (limited to 'gui/devices')
-rw-r--r--gui/devices/1080x1920/res/ui.xml41
1 files changed, 40 insertions, 1 deletions
diff --git a/gui/devices/1080x1920/res/ui.xml b/gui/devices/1080x1920/res/ui.xml
index beaf37325..0f61faca7 100644
--- a/gui/devices/1080x1920/res/ui.xml
+++ b/gui/devices/1080x1920/res/ui.xml
@@ -2456,7 +2456,16 @@
</object>
<object type="button">
- <placement x="%col_center_x%" y="%row4_y%" />
+ <highlight color="%highlight_color%" />
+ <placement x="%col2_x%" y="%row4_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Vibration Duration</text>
+ <image resource="main_button" />
+ <action function="page">Vibrate</action>
+ </object>
+
+ <object type="button">
+ <placement x="%col_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
<text>Restore Defaults</text>
<image resource="main_button" />
@@ -2663,6 +2672,36 @@
<object type="template" name="footer" />
</page>
+ <page name="Vibrate">
+ <object type="template" name="header" />
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row1_header_y%" placement="5" />
+ <text>Vibration Settings :</text>
+ </object>
+
+ <object type="slidervalue">
+ <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
+ <font resource="font" color="%text_color%" />
+ <text>Vibration Value : </text>
+ <data variable="tw_vibrate" min="0" max="300" />
+ <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
+ </object>
+
+ <object type="action">
+ <touch key="home" />
+ <action function="page">main</action>
+ </object>
+
+ <object type="action">
+ <touch key="back" />
+ <action function="page">settings</action>
+ </object>
+
+ <object type="template" name="footer" />
+ </page>
+
<page name="advanced">
<object type="template" name="header" />