tags:

views:

250

answers:

1

Hi,

I want my preference menu to have something to change the duration of a vibration.

There is not an slider tag for prefs.xml, so which is the best way to do this?

Thanks for reading.

+3  A: 

You could create your own Preference class that extends DialogPreference and shows a SeekBar as the dialog view.

Mirko Nasato
Thanks. Here is something useful: http://android.hlidskialf.com/post/android-seekbar-preference
Macarse