diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-02-05 15:02:06 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-02-07 16:53:41 +0100 |
commit | 03db326c64b246974d9cfaba02406d7bd77d8c37 (patch) | |
tree | 657ab4029909cfa614c9cee91f19a27b55da1763 /gui/devices/480x854 | |
parent | Add haptic feedback (diff) | |
download | android_bootable_recovery-03db326c64b246974d9cfaba02406d7bd77d8c37.tar android_bootable_recovery-03db326c64b246974d9cfaba02406d7bd77d8c37.tar.gz android_bootable_recovery-03db326c64b246974d9cfaba02406d7bd77d8c37.tar.bz2 android_bootable_recovery-03db326c64b246974d9cfaba02406d7bd77d8c37.tar.lz android_bootable_recovery-03db326c64b246974d9cfaba02406d7bd77d8c37.tar.xz android_bootable_recovery-03db326c64b246974d9cfaba02406d7bd77d8c37.tar.zst android_bootable_recovery-03db326c64b246974d9cfaba02406d7bd77d8c37.zip |
Diffstat (limited to 'gui/devices/480x854')
-rw-r--r-- | gui/devices/480x854/res/ui.xml | 57 |
1 files changed, 56 insertions, 1 deletions
diff --git a/gui/devices/480x854/res/ui.xml b/gui/devices/480x854/res/ui.xml index 08c3ddcfe..687300ab2 100644 --- a/gui/devices/480x854/res/ui.xml +++ b/gui/devices/480x854/res/ui.xml @@ -2442,7 +2442,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" /> @@ -2649,6 +2658,52 @@ <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>Button Vibration:</text> + <data variable="tw_button_vibrate" min="0" max="300" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + </object> + + <object type="slidervalue"> + <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <text>Keyboard Vibration:</text> + <data variable="tw_keyboard_vibrate" min="0" max="300" /> + <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> + </object> + + <object type="slidervalue"> + <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> + <font resource="font" color="%text_color%" /> + <text>Action Vibration:</text> + <data variable="tw_action_vibrate" min="0" max="500" /> + <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" /> |