diff options
author | bigbiff bigbiff <bigbiff@teamw.in> | 2019-03-13 00:28:31 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2019-03-18 04:39:00 +0100 |
commit | 3ed778ad6389c901077fee38bb77abd55dd4eba4 (patch) | |
tree | 57a2a9af729ca594387f71532797fb9d42bcc8cc /gui/theme | |
parent | fix building TWRP for devices without cache (diff) | |
download | android_bootable_recovery-3ed778ad6389c901077fee38bb77abd55dd4eba4.tar android_bootable_recovery-3ed778ad6389c901077fee38bb77abd55dd4eba4.tar.gz android_bootable_recovery-3ed778ad6389c901077fee38bb77abd55dd4eba4.tar.bz2 android_bootable_recovery-3ed778ad6389c901077fee38bb77abd55dd4eba4.tar.lz android_bootable_recovery-3ed778ad6389c901077fee38bb77abd55dd4eba4.tar.xz android_bootable_recovery-3ed778ad6389c901077fee38bb77abd55dd4eba4.tar.zst android_bootable_recovery-3ed778ad6389c901077fee38bb77abd55dd4eba4.zip |
Diffstat (limited to 'gui/theme')
-rwxr-xr-x[-rw-r--r--] | gui/theme/common/landscape.xml | 9 | ||||
-rwxr-xr-x[-rw-r--r--] | gui/theme/common/languages/en.xml | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | gui/theme/common/portrait.xml | 9 | ||||
-rwxr-xr-x[-rw-r--r--] | gui/theme/common/watch.xml | 1 |
4 files changed, 20 insertions, 0 deletions
diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml index 5bbfe9029..f6f14bc51 100644..100755 --- a/gui/theme/common/landscape.xml +++ b/gui/theme/common/landscape.xml @@ -3166,19 +3166,28 @@ <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> </fill> + <text style="text_m"> + <condition var1="tw_disable_haptics" var2="1"/> + <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/> + <text>{@vibration_disabled=Vibration Disabled for Device}</text> + </text> + <slidervalue> + <condition var1="tw_disable_haptics" var2="0"/> <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/> <text>{@button_vibration=Button Vibration:}</text> <data variable="tw_button_vibrate" min="0" max="300"/> </slidervalue> <slidervalue> + <condition var1="tw_disable_haptics" var2="0"/> <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/> <text>{@kb_vibration=Keyboard Vibration:}</text> <data variable="tw_keyboard_vibrate" min="0" max="300"/> </slidervalue> <slidervalue> + <condition var1="tw_disable_haptics" var2="0"/> <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/> <text>{@act_vibration=Action Vibration:}</text> <data variable="tw_action_vibrate" min="0" max="500"/> diff --git a/gui/theme/common/languages/en.xml b/gui/theme/common/languages/en.xml index afba59a02..03d4e084c 100644..100755 --- a/gui/theme/common/languages/en.xml +++ b/gui/theme/common/languages/en.xml @@ -318,6 +318,7 @@ <string name="settings_tz_btn">Time Zone</string> <string name="settings_screen_btn">Screen</string> <string name="settings_screen_bright_btn">Screen Brightness</string> + <string name="vibration_disabled">Vibration is disabled for this device</string> <string name="settings_vibration_btn">Vibration</string> <string name="settings_language_btn">Language</string> <string name="time_zone_hdr">Time Zone</string> diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml index 11769227f..09b7c6b70 100644..100755 --- a/gui/theme/common/portrait.xml +++ b/gui/theme/common/portrait.xml @@ -3329,19 +3329,28 @@ <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/> </fill> + <text style="text_m"> + <condition var1="tw_disable_haptics" var2="1"/> + <placement x="%indent%" y="%row4_y%"/> + <text>{@vibration_disabled=Vibration Disabled for Device}</text> + </text> + <slidervalue> + <condition var1="tw_disable_haptics" var2="0"/> <placement x="indent" y="%row4_y%" w="%content_width%"/> <text>{@button_vibration=Button Vibration:}</text> <data variable="tw_button_vibrate" min="0" max="300"/> </slidervalue> <slidervalue> + <condition var1="tw_disable_haptics" var2="0"/> <placement x="indent" y="%row9_y%" w="%content_width%"/> <text>{@kb_vibration=Keyboard Vibration:}</text> <data variable="tw_keyboard_vibrate" min="0" max="300"/> </slidervalue> <slidervalue> + <condition var1="tw_disable_haptics" var2="0"/> <placement x="indent" y="%row14_y%" w="%content_width%"/> <text>{@act_vibration=Action Vibration:}</text> <data variable="tw_action_vibrate" min="0" max="500"/> diff --git a/gui/theme/common/watch.xml b/gui/theme/common/watch.xml index 83f4b63f2..d36bb2d5a 100644..100755 --- a/gui/theme/common/watch.xml +++ b/gui/theme/common/watch.xml @@ -3518,6 +3518,7 @@ </button> <button style="main_button"> + <condition var1="tw_disable_haptics" var2="0"/> <placement x="%col1_x_right%" y="%row6_y%"/> <text>{@settings_vibration_btn=Vibration}</text> <action function="page">settings_vibration</action> |