Android 默认铃声首选项为静音
我在preferences.xml中有一个铃声首选项,当前默认为系统通知声音 我想将其默认为silent,但在查找silent声音的内容URI时遇到了问题Android 默认铃声首选项为静音,android,android-preferences,ringtone,Android,Android Preferences,Ringtone,我在preferences.xml中有一个铃声首选项,当前默认为系统通知声音 我想将其默认为silent,但在查找silent声音的内容URI时遇到了问题 <RingtonePreference android:defaultValue="content://settings/system/notification_sound" android:key="@string/pref_alarm_tone_scan_notificatio
<RingtonePreference
android:defaultValue="content://settings/system/notification_sound"
android:key="@string/pref_alarm_tone_scan_notification_sound"
android:ringtoneType="notification"
android:showDefault="true"
android:showSilent="true"
android:title="@string/pref_alarm_notification_sound_title" />
无声的声音是一根空弦
android:defaultValue=""
无声的声音是一根空弦
android:defaultValue=""
无声的声音是一根空弦
android:defaultValue=""
无声的声音是一根空弦
android:defaultValue=""
检查此链接是否是由于有人未调用setDefaultValues()而引起的。我实际上希望我的默认设置为静默(并在我的preferences.xml文件中应用其他默认设置。请检查此链接,因为有人没有调用setDefaultValues()。我实际上希望我的默认设置为静默(并应用my preferences.xml文件中的其他默认值。检查此链接是否是有人未调用setDefaultValues()的问题。我实际上希望我的默认值为静默(并应用my preferences.xml文件中的其他默认值。检查此链接是否是有人未调用setDefaultValues()的问题).I实际上希望我的默认设置为静默(并应用preferences.xml文件中的其他默认设置)。