summaryrefslogtreecommitdiff
path: root/res/xml/call_feature_setting.xml
blob: 36fd6b99e2c32b951a4b915f83ccacf81b73d9c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:phone="http://schemas.android.com/apk/res/com.android.phone"
    android:title="@string/call_settings">

    <PreferenceCategory
        android:key="button_ringtone_category_key"
        android:title="@string/preference_category_ringtone"
        android:persistent="false">

        <com.android.phone.DefaultRingtonePreference
            android:key="button_ringtone_key"
            android:title="@string/ringtone_title"
            android:dialogTitle="@string/ringtone_title"
            android:persistent="false"
            android:ringtoneType="ringtone" />

        <CheckBoxPreference
            android:key="button_vibrate_on_ring"
            android:title="@string/vibrate_on_ring_title"
            android:persistent="false"
            android:defaultValue="false" />
    </PreferenceCategory>

  <PreferenceCategory
      android:key="button_misc_category_key"
      android:title="@string/other_settings"
      android:persistent="false" />

  <PreferenceScreen
      android:key="button_voicemail_category_key"
      android:title="@string/voicemail"
      android:persistent="false">
      <ListPreference
          android:key="button_voicemail_provider_key"
          android:title="@string/voicemail_provider"
          android:summary="@string/sum_voicemail_choose_provider"
          android:defaultValue=""
          android:persistent="true" />
      <PreferenceScreen
          android:key="button_voicemail_setting_key"
          android:title="@string/voicemail_settings"
          android:persistent="false">

          <!-- Note for all com.android.phone.EditPhoneNumberPreference objects

               The last several attributes are for use with the EditText field
               in the dialog.  These attributes are forwarded to that field
               when the edittext is created.  The attributes include:
               1. android:singleLine
               2. android:autoText
               3. android:background -->

          <com.android.phone.EditPhoneNumberPreference
              android:key="button_voicemail_key"
              android:title="@string/voicemail_settings_number_label"
              android:persistent="false"
              android:dialogTitle="@string/voicemail"
              phone:confirmMode="confirm"
              android:singleLine="true"
              android:autoText="false" />
      </PreferenceScreen>

      <RingtonePreference
          android:key="button_voicemail_notification_ringtone_key"
          android:title="@string/voicemail_notification_ringtone_title"
          android:persistent="true"
          android:ringtoneType="notification"
          android:defaultValue="content://settings/system/notification_sound" />
      <CheckBoxPreference
          android:key="button_voicemail_notification_vibrate_key"
          android:title="@string/voicemail_notification_vibrate_when_title"
          android:persistent="true"
          />
  </PreferenceScreen>

  <CheckBoxPreference
      android:key="button_play_dtmf_tone"
      android:title="@string/dtmf_tone_enable_title"
      android:persistent="false"
      android:defaultValue="true" />

  <PreferenceScreen
      android:key="button_respond_via_sms_key"
      android:title="@string/respond_via_sms_setting_title"
      android:summary="@string/respond_via_sms_setting_summary"
      android:persistent="false">
      <intent
          android:action="android.intent.action.MAIN"
          android:targetPackage="com.android.phone"
          android:targetClass="com.android.phone.RespondViaSmsManager$Settings" />
  </PreferenceScreen>

  <PreferenceScreen
      android:key="button_fdn_key"
      android:title="@string/fdn"
      android:persistent="false">
      <intent android:action="android.intent.action.MAIN"
          android:targetPackage="com.android.phone"
          android:targetClass="com.android.phone.FdnSetting" />
  </PreferenceScreen>

    <CheckBoxPreference
        android:key="button_auto_retry_key"
        android:title="@string/auto_retry_mode_title"
        android:persistent="false"
        android:summary="@string/auto_retry_mode_summary"/>

    <ListPreference
        android:key="button_tty_mode_key"
        android:title="@string/tty_mode_option_title"
        android:summary="@string/tty_mode_option_summary"
        android:persistent="false"
        android:entries="@array/tty_mode_entries"
        android:entryValues="@array/tty_mode_values"/>

     <CheckBoxPreference
        android:key="button_hac_key"
        android:title="@string/hac_mode_title"
        android:persistent="true"
        android:summary="@string/hac_mode_summary"/>

    <ListPreference
        android:key="button_dtmf_settings"
        android:title="@string/dtmf_tones_title"
        android:summary="@string/dtmf_tones_summary"
        android:entries="@array/dtmf_tone_entries"
        android:entryValues="@array/dtmf_tone_values"/>

    <PreferenceScreen
        android:key="button_gsm_more_expand_key"
        android:title="@string/labelGSMMore"
        android:summary="@string/sum_gsm_call_settings"
        android:persistent="false">

        <intent android:action="android.intent.action.MAIN"
            android:targetPackage="com.android.phone"
            android:targetClass="com.android.phone.GsmUmtsCallOptions"/>
    </PreferenceScreen>

    <PreferenceScreen
        android:key="button_cdma_more_expand_key"
        android:title="@string/labelCDMAMore"
        android:summary="@string/sum_cdma_call_settings"
        android:persistent="false">

        <intent android:action="android.intent.action.MAIN"
            android:targetPackage="com.android.phone"
            android:targetClass="com.android.phone.CdmaCallOptions"/>
    </PreferenceScreen>
</PreferenceScreen>