1 <?xml version="1.0" encoding="utf-8"?> 2 3 <!-- 4 ~ Copyright (C) 2014 The Android Open Source Project 5 ~ 6 ~ Licensed under the Apache License, Version 2.0 (the "License"); 7 ~ you may not use this file except in compliance with the License. 8 ~ You may obtain a copy of the License at 9 ~ 10 ~ http://www.apache.org/licenses/LICENSE-2.0 11 ~ 12 ~ Unless required by applicable law or agreed to in writing, software 13 ~ distributed under the License is distributed on an "AS IS" BASIS, 14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 ~ See the License for the specific language governing permissions and 16 ~ limitations under the License 17 --> 18 19 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> 20 21 <com.android.dialer.settings.DefaultRingtonePreference 22 android:key="@string/ringtone_preference_key" 23 android:title="@string/ringtone_title" 24 android:dialogTitle="@string/ringtone_title" 25 android:persistent="false" 26 android:ringtoneType="ringtone" /> 27 28 <CheckBoxPreference 29 android:key="@string/vibrate_on_preference_key" 30 android:title="@string/vibrate_on_ring_title" 31 android:persistent="false" 32 android:defaultValue="false" /> 33 34 <CheckBoxPreference 35 android:key="@string/play_dtmf_preference_key" 36 android:title="@string/dtmf_tone_enable_title" 37 android:persistent="false" 38 android:defaultValue="true" /> 39 40 <ListPreference 41 android:key="@string/dtmf_tone_length_preference_key" 42 android:title="@string/dtmf_tone_length_title" 43 android:entries="@array/dtmf_tone_length_entries" 44 android:entryValues="@array/dtmf_tone_length_entry_values" /> 45 46 </PreferenceScreen> 47