1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 The Android Open Source Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
18 android:title="@string/sound_settings"
19 android:key="sound_settings"
20 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
23 android:title="@string/sound_category_sound_title"/>
27 android:title="@string/silent_mode_title"
28 android:summary="@string/silent_mode_summary"
29 android:persistent="false"
30 android:disableDependentsState="true" />
34 android:title="@string/vibrate_title"
35 android:summary="@string/vibrate_summary"
36 android:entries="@array/vibrate_entries"
37 android:entryValues="@array/vibrate_values" />
39 <com.android.settings.RingerVolumePreference
40 android:key="ring_volume"
41 android:dependency="silent"
42 android:title="@string/all_volume_title"
43 android:summary="@string/ring_volume_summary"
44 android:dialogTitle="@string/all_volume_title"
45 android:persistent="false"
46 android:streamType="ring" />
49 android:title="@string/sound_category_calls_title"/>
51 <com.android.settings.DefaultRingtonePreference
52 android:key="ringtone"
53 android:title="@string/ringtone_title"
54 android:summary="@string/ringtone_summary"
55 android:dialogTitle="@string/ringtone_title"
56 android:persistent="false"
57 android:ringtoneType="ringtone" />
60 android:title="@string/sound_category_notification_title"/>
62 <!-- Do not nest these, or removals in code will break -->
64 <com.android.settings.DefaultRingtonePreference
65 android:key="notification_sound"
66 android:title="@string/notification_sound_title"
67 android:summary="@string/notification_sound_summary"
68 android:dialogTitle="@string/notification_sound_dialog_title"
69 android:persistent="false"
70 android:ringtoneType="notification" />
73 android:key="notification_pulse"
74 android:title="@string/notification_pulse_title"
75 android:summary="@string/notification_pulse_summary"
76 android:persistent="false" />
79 android:title="@string/sound_category_feedback_title"/>
81 <!-- Do not nest these, or removals in code will break -->
84 android:key="dtmf_tone"
85 android:title="@string/dtmf_tone_enable_title"
86 android:summaryOn="@string/dtmf_tone_enable_summary_on"
87 android:summaryOff="@string/dtmf_tone_enable_summary_off"
88 android:defaultValue="true" />
91 android:key="sound_effects"
92 android:title="@string/sound_effects_enable_title"
93 android:summaryOn="@string/sound_effects_enable_summary_on"
94 android:summaryOff="@string/sound_effects_enable_summary_off"
95 android:defaultValue="true" />
98 android:key="lock_sounds"
99 android:title="@string/lock_sounds_enable_title"
100 android:summaryOn="@string/lock_sounds_enable_summary_on"
101 android:summaryOff="@string/lock_sounds_enable_summary_off"
102 android:defaultValue="true" />
105 android:key="haptic_feedback"
106 android:title="@string/haptic_feedback_enable_title"
107 android:summaryOn="@string/haptic_feedback_enable_summary_on"
108 android:summaryOff="@string/haptic_feedback_enable_summary_off"
109 android:defaultValue="true" />
112 android:key="emergency_tone"
113 android:title="@string/emergency_tone_title"
114 android:summary="@string/emergency_tone_summary"
115 android:entries="@array/emergency_tone_entries"
116 android:entryValues="@array/emergency_tone_values" />