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.app.settings.DefaultRingtonePreference 22 android:dialogTitle="@string/ringtone_title" 23 android:key="@string/ringtone_preference_key" 24 android:persistent="false" 25 android:ringtoneType="ringtone" 26 android:title="@string/ringtone_title"/> 27 28 <SwitchPreference 29 android:defaultValue="false" 30 android:key="@string/vibrate_on_preference_key" 31 android:persistent="false" 32 android:title="@string/vibrate_on_ring_title"/> 33 34 <SwitchPreference 35 android:defaultValue="true" 36 android:key="@string/play_dtmf_preference_key" 37 android:persistent="false" 38 android:title="@string/dtmf_tone_enable_title"/> 39 40 <ListPreference 41 android:entries="@array/dtmf_tone_length_entries" 42 android:entryValues="@array/dtmf_tone_length_entry_values" 43 android:key="@string/dtmf_tone_length_preference_key" 44 android:title="@string/dtmf_tone_length_title"/> 45 46</PreferenceScreen> 47