blob: 9bc6e4b5fe3d1076a366044a9e6dc63301158e63 [file] [log] [blame]
Andrew Leee83576c2015-02-26 14:26:16 -08001<?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 Leee94b9452015-02-26 17:20:12 -080022 android:key="@string/ringtone_preference_key"
Andrew Leee83576c2015-02-26 14:26:16 -080023 android:title="@string/ringtone_title"
24 android:dialogTitle="@string/ringtone_title"
25 android:persistent="false"
26 android:ringtoneType="ringtone" />
27
Danny Baumannd83b3be2015-11-13 15:26:46 -080028 <SwitchPreference
Andrew Leec65acdf2015-03-02 22:43:41 -080029 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 Baumannd83b3be2015-11-13 15:26:46 -080034 <SwitchPreference
Andrew Leee94b9452015-02-26 17:20:12 -080035 android:key="@string/play_dtmf_preference_key"
Andrew Leee83576c2015-02-26 14:26:16 -080036 android:title="@string/dtmf_tone_enable_title"
37 android:persistent="false"
38 android:defaultValue="true" />
39
Andrew Leec65acdf2015-03-02 22:43:41 -080040 <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 Leee83576c2015-02-26 14:26:16 -080045
Danny Baumannd83b3be2015-11-13 15:26:46 -080046 <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
cretin4543dacf22015-03-12 16:06:25 -070055 android:key="incall_vibrate_call_waiting"
56 android:title="@string/vibrate_call_waiting"/>
57
58 <SwitchPreference
Danny Baumannd83b3be2015-11-13 15:26:46 -080059 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 Leee83576c2015-02-26 14:26:16 -080069</PreferenceScreen>