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