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 android:title="@string/phone_accounts"> 19 20 <PreferenceCategory 21 android:key="phone_accounts_accounts_list_category_key" 22 android:title="@string/phone_accounts_settings_header"> 23 24 <PreferenceScreen 25 android:key="phone_accounts_all_calling_accounts" 26 android:title="@string/phone_accounts_all_calling_accounts" 27 android:summary="@string/phone_accounts_all_calling_accounts_summary" 28 android:persistent="false" > 29 30 <intent android:action="android.intent.action.MAIN" 31 android:targetPackage="com.android.server.telecom" 32 android:targetClass="com.android.server.telecom.settings.EnableAccountPreferenceActivity" /> 33 </PreferenceScreen> 34 35 </PreferenceCategory> 36 37 <PreferenceCategory 38 android:key="make_and_receive_calls_settings_category_key" 39 android:title="@string/make_and_receive_calls" 40 android:persistent="false"> 41 42 <com.android.phone.settings.AccountSelectionPreference 43 android:key="default_outgoing_account" 44 android:title="@string/phone_accounts_make_calls_with" 45 android:defaultValue="" 46 android:persistent="false"/> 47 48 <PreferenceScreen 49 android:key="smart_forwarding_configuration_key" 50 android:title="@string/smart_forwarding_settings_menu" 51 android:summary="@string/smart_forwarding_settings_menu_summary" 52 android:persistent="false"> 53 54 </PreferenceScreen> 55 56 </PreferenceCategory> 57 58 <PreferenceCategory 59 android:key="phone_accounts_sip_settings_category_key" 60 android:title="@string/sip_settings" 61 android:persistent="false"> 62 63 <PreferenceScreen 64 android:title="@string/sip_accounts" 65 android:persistent="false"> 66 67 <intent android:action="android.intent.action.MAIN" 68 android:targetPackage="com.android.phone" 69 android:targetClass="com.android.services.telephony.sip.SipSettings" /> 70 71 </PreferenceScreen> 72 73 <ListPreference 74 android:key="use_sip_calling_options_key" 75 android:title="@string/sip_call_options_title" 76 android:persistent="true" 77 android:entries="@array/sip_call_options_entries" 78 android:entryValues="@array/sip_call_options_values"/> 79 80 <SwitchPreference 81 android:key="sip_receive_calls_key" 82 android:title="@string/sip_receive_calls" 83 android:summary="@string/sip_receive_calls_summary" 84 android:persistent="true"/> 85 86 </PreferenceCategory> 87 88</PreferenceScreen> 89