1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2009 The Android Open Source Project 3 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 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 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. 15 --> 16 17 <PreferenceScreen 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:title="@string/settings"> 20 21 <CheckBoxPreference 22 android:key="alarm_in_silent_mode" 23 android:title="@string/alarm_in_silent_mode_title" 24 android:summary="@string/alarm_in_silent_mode_summary" /> 25 26 <VolumePreference 27 android:title="@string/alarm_volume_title" 28 android:summary="@string/alarm_volume_summary" 29 android:dialogTitle="@string/alarm_volume_title" 30 android:persistent="false" 31 android:streamType="alarm" /> 32 33 <ListPreference 34 android:key="snooze_duration" 35 android:title="@string/snooze_duration_title" 36 android:entries="@array/snooze_duration_entries" 37 android:entryValues="@array/snooze_duration_values" 38 android:defaultValue="10" 39 android:dialogTitle="@string/snooze_duration_title" /> 40 41 <ListPreference 42 android:key="auto_silence" 43 android:title="@string/auto_silence_title" 44 android:entries="@array/auto_silence_entries" 45 android:entryValues="@array/auto_silence_values" 46 android:defaultValue="10" 47 android:dialogTitle="@string/auto_silence_title" /> 48 49 <ListPreference 50 android:key="volume_button_setting" 51 android:title="@string/volume_button_setting_title" 52 android:dialogTitle="@string/volume_button_dialog_title" 53 android:entries="@array/volume_button_setting_entries" 54 android:entryValues="@array/volume_button_setting_values" 55 android:summary="@string/volume_button_setting_summary" 56 android:defaultValue="2" /> 57 58 <com.android.deskclock.AlarmPreference 59 android:key="default_ringtone" 60 android:title="@string/default_ringtone_setting_title" 61 android:ringtoneType="alarm" 62 android:showDefault="false" 63 android:persistent="false" 64 android:showSilent="true" /> 65 66 </PreferenceScreen> 67