滑块在我的preferenceScreen我的、滑块、preferenceScreen

由网友(真心比不上红钞票)分享简介:我希望我的preference菜单中有一些改变振动的持续时间。I want my preference menu to have something to change the duration of a vibration.没有滑盖标记为prefs.xml,那么什么是做到这一点的最好方法是什么?There is...

我希望我的preference菜单中有一些改变振动的持续时间。

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

没有滑盖标记为prefs.xml,那么什么是做到这一点的最好方法是什么?

There is no slider tag for prefs.xml, so what is the best way to do this?

推荐答案

您可以创建自己的preference类扩展Dialog$p$pference并显示出搜索栏的对话视图。

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

阅读全文

相关推荐

最新文章