Home | History | Annotate | Download | only in xml
      1 <?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"
     18     xmlns:phone="http://schemas.android.com/apk/res/com.android.phone"
     19     android:title="@string/voicemail">
     20 
     21     <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     <Preference
     54         android:key="@string/voicemail_notifications_key"
     55         android:title="@string/voicemail_notifications_preference_title"/>
     56 </PreferenceScreen>
     57