summaryrefslogtreecommitdiffstats
path: root/DeviceSettings/res/xml
diff options
context:
space:
mode:
authorAndrew Dodd <atd7@cornell.edu>2012-06-17 12:16:05 -0400
committerAndrew Dodd <atd7@cornell.edu>2012-06-17 12:16:05 -0400
commitf5a640bbed057a3b4af7f2720a8a99cc4d8f158d (patch)
tree551418934fce87a5d1e73336bdf8fd8c8102256b /DeviceSettings/res/xml
parent02d3dd24907604e7f61f1baa15d3662c42b437fa (diff)
downloaddevice_samsung_n7000-f5a640bbed057a3b4af7f2720a8a99cc4d8f158d.zip
device_samsung_n7000-f5a640bbed057a3b4af7f2720a8a99cc4d8f158d.tar.gz
device_samsung_n7000-f5a640bbed057a3b4af7f2720a8a99cc4d8f158d.tar.bz2
DeviceSettings: Control vibrator strength
Change-Id: I504f483cf8ef30274ceb2742d87be380aadacf6b
Diffstat (limited to 'DeviceSettings/res/xml')
-rw-r--r--DeviceSettings/res/xml/haptic_preferences.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/DeviceSettings/res/xml/haptic_preferences.xml b/DeviceSettings/res/xml/haptic_preferences.xml
new file mode 100644
index 0000000..31c0e21
--- /dev/null
+++ b/DeviceSettings/res/xml/haptic_preferences.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <PreferenceCategory
+ android:title="@string/vibrator_subcat_title">
+ <com.cyanogenmod.settings.device.VibratorIntensity
+ android:key="vibrator_intensity"
+ android:title="@string/vibrator_intensity_title_head"
+ android:summary="@string/vibrator_intensity_summary_head"
+ android:entries="@array/vibrator_intensity_entries"
+ android:entryValues="@array/vibrator_intensity_entries_values"
+ android:defaultValue="50" />
+ </PreferenceCategory>
+</PreferenceScreen>