Andrew Lee | e83576c | 2015-02-26 14:26:16 -0800 | [diff] [blame] | 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 |
Andrew Lee | e94b945 | 2015-02-26 17:20:12 -0800 | [diff] [blame] | 22 | android:key="@string/ringtone_preference_key" |
Andrew Lee | e83576c | 2015-02-26 14:26:16 -0800 | [diff] [blame] | 23 | android:title="@string/ringtone_title" |
| 24 | android:dialogTitle="@string/ringtone_title" |
| 25 | android:persistent="false" |
| 26 | android:ringtoneType="ringtone" /> |
| 27 | |
Danny Baumann | c81afb6 | 2015-11-13 15:26:46 -0800 | [diff] [blame] | 28 | <SwitchPreference |
Andrew Lee | c65acdf | 2015-03-02 22:43:41 -0800 | [diff] [blame] | 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 | |
Danny Baumann | c81afb6 | 2015-11-13 15:26:46 -0800 | [diff] [blame] | 34 | <SwitchPreference |
Andrew Lee | e94b945 | 2015-02-26 17:20:12 -0800 | [diff] [blame] | 35 | android:key="@string/play_dtmf_preference_key" |
Andrew Lee | e83576c | 2015-02-26 14:26:16 -0800 | [diff] [blame] | 36 | android:title="@string/dtmf_tone_enable_title" |
| 37 | android:persistent="false" |
| 38 | android:defaultValue="true" /> |
| 39 | |
Andrew Lee | c65acdf | 2015-03-02 22:43:41 -0800 | [diff] [blame] | 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" /> |
Andrew Lee | e83576c | 2015-02-26 14:26:16 -0800 | [diff] [blame] | 45 | |
Danny Baumann | c81afb6 | 2015-11-13 15:26:46 -0800 | [diff] [blame] | 46 | <PreferenceCategory |
| 47 | android:key="dialer_general_incall_vibration_category_key" |
| 48 | android:title="@string/incall_vibration_category_title"> |
| 49 | |
| 50 | <SwitchPreference |
| 51 | android:key="incall_vibrate_outgoing" |
| 52 | android:title="@string/incall_vibrate_outgoing_title" /> |
| 53 | |
| 54 | <SwitchPreference |
cretin45 | daae259 | 2015-03-12 16:06:25 -0700 | [diff] [blame] | 55 | android:key="incall_vibrate_call_waiting" |
| 56 | android:title="@string/vibrate_call_waiting"/> |
| 57 | |
| 58 | <SwitchPreference |
Danny Baumann | c81afb6 | 2015-11-13 15:26:46 -0800 | [diff] [blame] | 59 | android:key="incall_vibrate_hangup" |
| 60 | android:title="@string/incall_vibrate_hangup_title" /> |
| 61 | |
| 62 | <SwitchPreference |
| 63 | android:key="incall_vibrate_45secs" |
| 64 | android:title="@string/incall_vibrate_45_title" |
| 65 | android:summary="@string/incall_vibrate_45_summary" /> |
| 66 | |
| 67 | </PreferenceCategory> |
| 68 | |
Andrew Lee | e83576c | 2015-02-26 14:26:16 -0800 | [diff] [blame] | 69 | </PreferenceScreen> |