abouttreesummaryrefslogcommitdiff
path: root/res/xml/settings.xml
diff options
context:
space:
mode:
authorJules Aguillon2022-06-24 22:00:23 +0200
committerJules Aguillon2022-06-24 22:00:23 +0200
commitff01678ba688778d67f824a0be56634974c1b0e8 (patch)
treea6878b95181c826daa515d8481d375a116b628ff /res/xml/settings.xml
parentd74e8f3b0877570964715ff3d75435b5276cb69d (diff)
downloadunexpected-keyboard-ff01678ba688778d67f824a0be56634974c1b0e8.tar.gz
unexpected-keyboard-ff01678ba688778d67f824a0be56634974c1b0e8.zip
Revert "Remove the vibration settings"
Bring back the "Vibration" option. The duration option isn't added back because the vibration settings are still handled by Android. In fact, the option has no effect if the vibration are disabled in the system settings. This partially reverts commit ef03dfed5c802a855c4655204eee39a8769cfed7.
Diffstat (limited to 'res/xml/settings.xml')
-rw-r--r--res/xml/settings.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 3293f91..7a09aef 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -20,6 +20,7 @@
<CheckBoxPreference android:key="lockable_sub" android:title="Sub" android:defaultValue="false"/>
<CheckBoxPreference android:key="lockable_box" android:title="Box" android:defaultValue="false"/>
</PreferenceScreen>
+ <CheckBoxPreference android:key="vibrate_enabled" android:title="@string/pref_vibrate_title" android:summary="@string/pref_vibrate_summary" android:defaultValue="true"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_category_style">
<ListPreference android:key="theme" android:title="@string/pref_theme" android:summary="%s" android:defaultValue="system" android:entries="@array/pref_theme_entries" android:entryValues="@array/pref_theme_values"/>