diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-02-07 19:39:13 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit> | 2014-02-07 19:39:13 +0100 |
commit | 75de542490f6a78f346c75fdea0bfc7975e6b4d2 (patch) | |
tree | 13308f75330d0f61b3daa9f16e43425c59bef9f3 /gui/devices/800x480/res | |
parent | Merge "Add haptic feedback" into android-4.4 (diff) | |
parent | Expansion of vibrate options (diff) | |
download | android_bootable_recovery-75de542490f6a78f346c75fdea0bfc7975e6b4d2.tar android_bootable_recovery-75de542490f6a78f346c75fdea0bfc7975e6b4d2.tar.gz android_bootable_recovery-75de542490f6a78f346c75fdea0bfc7975e6b4d2.tar.bz2 android_bootable_recovery-75de542490f6a78f346c75fdea0bfc7975e6b4d2.tar.lz android_bootable_recovery-75de542490f6a78f346c75fdea0bfc7975e6b4d2.tar.xz android_bootable_recovery-75de542490f6a78f346c75fdea0bfc7975e6b4d2.tar.zst android_bootable_recovery-75de542490f6a78f346c75fdea0bfc7975e6b4d2.zip |
Diffstat (limited to 'gui/devices/800x480/res')
-rwxr-xr-x | gui/devices/800x480/res/ui.xml | 67 |
1 files changed, 61 insertions, 6 deletions
diff --git a/gui/devices/800x480/res/ui.xml b/gui/devices/800x480/res/ui.xml index 9c391b33e..87a354389 100755 --- a/gui/devices/800x480/res/ui.xml +++ b/gui/devices/800x480/res/ui.xml @@ -2438,20 +2438,29 @@ <object type="button"> <highlight color="%highlight_color%" /> - <placement x="%col4_x%" y="%row2_y%" /> + <placement x="%col2_x%" y="%row2_y%" /> <font resource="font" color="%button_text_color%" /> - <text>Screen</text> + <text>Restore Defaults</text> <image resource="main_button" /> - <action function="page">screen</action> + <action function="restoredefaultsettings"></action> </object> <object type="button"> <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%slider_y%" /> + <placement x="%col3_x%" y="%row2_y%" /> <font resource="font" color="%button_text_color%" /> - <text>Restore Defaults</text> + <text>Vibration Duration</text> <image resource="main_button" /> - <action function="restoredefaultsettings"></action> + <action function="page">Vibrate</action> + </object> + + <object type="button"> + <highlight color="%highlight_color%" /> + <placement x="%col4_x%" y="%row2_y%" /> + <font resource="font" color="%button_text_color%" /> + <text>Screen</text> + <image resource="main_button" /> + <action function="page">screen</action> </object> <object type="action"> @@ -2660,6 +2669,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_text_y%" placement="5" /> + <text>Vibration Settings :</text> + </object> + + <object type="slidervalue"> + <placement x="slidervalue_x" y="%row3_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="slidervalue_x" y="%row7_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="slidervalue_x" y="%row11_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" /> |