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     <PreferenceCategory
     33         android:key="button_voicemail_category_key"
     34         android:title="@string/voicemail"
     35         android:persistent="false">
     36       <ListPreference
     37           android:key="button_voicemail_provider_key"
     38           android:title="@string/voicemail_provider"
     39           android:summary="@string/sum_voicemail_choose_provider"
     40           android:defaultValue=""
     41           android:persistent="true"
     42       />
     43       <PreferenceScreen android:key="button_voicemail_setting_key"
     44             android:title="@string/voicemail_settings"
     45             android:persistent="false">
     46 
     47             <!-- Note for all com.android.phone.EditPhoneNumberPreference objects
     48 
     49            The last several attributes are for use with the EditText field
     50            in the dialog.  These attributes are forwarded to that field
     51            when the edittext is created.  The attributes include:
     52              1. android:singleLine
     53              2. android:autoText
     54              3. android:background -->
     55 
     56               <com.android.phone.EditPhoneNumberPreference
     57                 android:key="button_voicemail_key"
     58                 android:title="@string/voicemail_settings_number_label"
     59                 android:persistent="false"
     60                 android:dialogTitle="@string/voicemail"
     61                 phone:confirmMode="confirm"
     62                 android:singleLine="true"
     63                 android:autoText="false" />
     64       </PreferenceScreen>
     65   </PreferenceCategory>
     66 
     67   <PreferenceCategory android:key="button_misc_category_key"
     68         android:title="@string/other_settings"
     69         android:persistent="false" />
     70 
     71     <CheckBoxPreference
     72         android:key="button_auto_retry_key"
     73         android:title="@string/auto_retry_mode_title"
     74         android:persistent="false"
     75         android:summary="@string/auto_retry_mode_summary"/>
     76 
     77     <ListPreference
     78         android:key="button_tty_mode_key"
     79         android:title="@string/tty_mode_option_title"
     80         android:summary="@string/tty_mode_option_summary"
     81         android:persistent="false"
     82         android:entries="@array/tty_mode_entries"
     83         android:entryValues="@array/tty_mode_values"/>
     84 
     85      <CheckBoxPreference
     86         android:key="button_hac_key"
     87         android:title="@string/hac_mode_title"
     88         android:persistent="true"
     89         android:summary="@string/hac_mode_summary"/>
     90 
     91     <ListPreference
     92         android:key="button_dtmf_settings"
     93         android:title="@string/dtmf_tones_title"
     94         android:summary="@string/dtmf_tones_summary"
     95         android:entries="@array/dtmf_tone_entries"
     96         android:entryValues="@array/dtmf_tone_values"/>
     97 
     98     <PreferenceScreen
     99         android:key="button_gsm_more_expand_key"
    100         android:title="@string/labelGSMMore"
    101         android:summary="@string/sum_gsm_call_settings"
    102         android:persistent="false">
    103 
    104         <intent android:action="android.intent.action.MAIN"
    105             android:targetPackage="com.android.phone"
    106             android:targetClass="com.android.phone.GsmUmtsCallOptions"/>
    107     </PreferenceScreen>
    108 
    109     <PreferenceScreen
    110         android:key="button_cdma_more_expand_key"
    111         android:title="@string/labelCDMAMore"
    112         android:summary="@string/sum_cdma_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.CdmaCallOptions"/>
    118     </PreferenceScreen>
    119 </PreferenceScreen>
    120