由网友(亡命爱人)分享简介:我有这个$ C $下我的preference屏幕,I have this code for my Preference screen,我有这个$ C $下我的preference屏幕,
I have this code for my Preference screen,
<RingtonePreference
android:key="notification_sound"
android:ringtoneType="notification"
android:title="Notification Sound"
android:showDefault="true"
android:showSilent="true" />
我要为铃声preference设为默认值的XML 默认通知声音
,该怎么办呢?
感谢
推荐答案
我找到的解决方案,这要归功于乔
,设置defaultValue必须是:
i found solution, thanks to Joe
, defaultValue Must be :
android:defaultValue="content://settings/system/notification_sound"
相关推荐
最新文章