blob: 5634ba57173669d25b1e30d7ff1eac5acad0d984 [file] [log] [blame]
Andrew Lee787a8cb2014-10-30 14:07:24 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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 xmlns:android="http://schemas.android.com/apk/res/android"
Andrew Leebf07f762015-04-07 19:05:50 -070018 xmlns:phone="http://schemas.android.com/apk/res/com.android.phone"
Andrew Lee787a8cb2014-10-30 14:07:24 -070019 android:title="@string/voicemail">
20
Andrew Leebf07f762015-04-07 19:05:50 -070021 <com.android.phone.settings.VoicemailProviderListPreference
22 android:key="button_voicemail_provider_key"
23 android:title="@string/voicemail_provider"
24 android:summary="@string/sum_voicemail_choose_provider"
25 android:defaultValue=""
26 android:persistent="true" />
27
28 <PreferenceScreen
29 android:key="button_voicemail_setting_key"
30 android:title="@string/voicemail_settings"
31 android:persistent="false">
32
33 <!-- Note for all com.android.phone.EditPhoneNumberPreference objects
34
35 The last several attributes are for use with the EditText field
36 in the dialog. These attributes are forwarded to that field
37 when the edittext is created. The attributes include:
38 1. android:singleLine
39 2. android:autoText
40 3. android:background -->
41
42 <com.android.phone.EditPhoneNumberPreference
43 android:key="button_voicemail_key"
44 android:title="@string/voicemail_settings_number_label"
45 android:persistent="false"
46 android:dialogTitle="@string/voicemail"
47 phone:confirmMode="confirm"
48 android:singleLine="true"
49 android:autoText="false" />
50
51 </PreferenceScreen>
52
53 <com.android.phone.settings.VoicemailRingtonePreference
54 android:key="@string/voicemail_notification_ringtone_key"
55 android:title="@string/voicemail_notification_ringtone_title"
56 android:persistent="false"
57 android:ringtoneType="notification" />
58
59 <CheckBoxPreference
60 android:key="@string/voicemail_notification_vibrate_key"
61 android:title="@string/voicemail_notification_vibrate_when_title"
62 android:persistent="true" />
Andrew Lee787a8cb2014-10-30 14:07:24 -070063</PreferenceScreen>