diff options
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> |