Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2008 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 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     17     xmlns:phone="http://schemas.android.com/apk/res/com.android.phone"
     18         android:title="@string/call_settings">
     19 
     20     <PreferenceScreen
     21         android:key="button_fdn_key"
     22         android:title="@string/fdn"
     23         android:summary="@string/sum_fdn"
     24         android:persistent="false">
     25 
     26         <intent android:action="android.intent.action.MAIN"
     27             android:targetPackage="com.android.phone"
     28             android:targetClass="com.android.phone.FdnSetting" />
     29 
     30     </PreferenceScreen>
     31 
     32     <PreferenceScreen
     33         android:key="button_respond_via_sms_key"
     34         android:title="@string/respond_via_sms_setting_title"
     35         android:summary="@string/respond_via_sms_setting_summary"
     36         android:persistent="false">
     37 
     38         <intent android:action="android.intent.action.MAIN"
     39             android:targetPackage="com.android.phone"
     40             android:targetClass="com.android.phone.RespondViaSmsManager$Settings" />
     41     </PreferenceScreen>
     42 
     43     <PreferenceCategory
     44         android:key="button_voicemail_category_key"
     45         android:title="@string/voicemail"
     46         android:persistent="false">
     47       <ListPreference
     48           android:key="button_voicemail_provider_key"
     49           android:title="@string/voicemail_provider"
     50           android:summary="@string/sum_voicemail_choose_provider"
     51           android:defaultValue=""
     52           android:persistent="true"
     53       />
     54       <PreferenceScreen android:key="button_voicemail_setting_key"
     55             android:title="@string/voicemail_settings"
     56             android:persistent="false">
     57 
     58             <!-- Note for all com.android.phone.EditPhoneNumberPreference objects
     59 
     60            The last several attributes are for use with the EditText field
     61            in the dialog.  These attributes are forwarded to that field
     62            when the edittext is created.  The attributes include:
     63              1. android:singleLine
     64              2. android:autoText
     65              3. android:background -->
     66 
     67               <com.android.phone.EditPhoneNumberPreference
     68                 android:key="button_voicemail_key"
     69                 android:title="@string/voicemail_settings_number_label"
     70                 android:persistent="false"
     71                 android:dialogTitle="@string/voicemail"
     72                 phone:confirmMode="confirm"
     73                 android:singleLine="true"
     74                 android:autoText="false" />
     75       </PreferenceScreen>
     76   </PreferenceCategory>
     77 
     78   <PreferenceCategory android:key="button_misc_category_key"
     79         android:title="@string/other_settings"
     80         android:persistent="false" />
     81 
     82     <CheckBoxPreference
     83         android:key="button_auto_retry_key"
     84         android:title="@string/auto_retry_mode_title"
     85         android:persistent="false"
     86         android:summary="@string/auto_retry_mode_summary"/>
     87 
     88     <ListPreference
     89         android:key="button_tty_mode_key"
     90         android:title="@string/tty_mode_option_title"
     91         android:summary="@string/tty_mode_option_summary"
     92         android:persistent="false"
     93         android:entries="@array/tty_mode_entries"
     94         android:entryValues="@array/tty_mode_values"/>
     95 
     96      <CheckBoxPreference
     97         android:key="button_hac_key"
     98         android:title="@string/hac_mode_title"
     99         android:persistent="true"
    100         android:summary="@string/hac_mode_summary"/>
    101 
    102     <ListPreference
    103         android:key="button_dtmf_settings"
    104         android:title="@string/dtmf_tones_title"
    105         android:summary="@string/dtmf_tones_summary"
    106         android:entries="@array/dtmf_tone_entries"
    107         android:entryValues="@array/dtmf_tone_values"/>
    108 
    109     <PreferenceScreen
    110         android:key="button_gsm_more_expand_key"
    111         android:title="@string/labelGSMMore"
    112         android:summary="@string/sum_gsm_call_settings"
    113         android:persistent="false">
    114 
    115         <intent android:action="android.intent.action.MAIN"
    116             android:targetPackage="com.android.phone"
    117             android:targetClass="com.android.phone.GsmUmtsCallOptions"/>
    118     </PreferenceScreen>
    119 
    120     <PreferenceScreen
    121         android:key="button_cdma_more_expand_key"
    122         android:title="@string/labelCDMAMore"
    123         android:summary="@string/sum_cdma_call_settings"
    124         android:persistent="false">
    125 
    126         <intent android:action="android.intent.action.MAIN"
    127             android:targetPackage="com.android.phone"
    128             android:targetClass="com.android.phone.CdmaCallOptions"/>
    129     </PreferenceScreen>
    130 </PreferenceScreen>
    131