summaryrefslogtreecommitdiff
path: root/res/xml/sip_settings_category.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/sip_settings_category.xml')
-rw-r--r--res/xml/sip_settings_category.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/res/xml/sip_settings_category.xml b/res/xml/sip_settings_category.xml
new file mode 100644
index 00000000..e857be68
--- /dev/null
+++ b/res/xml/sip_settings_category.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:phone="http://schemas.android.com/apk/res/com.android.phone">
+ <PreferenceCategory
+ android:key="sip_settings_category_key"
+ android:title="@string/sip_settings"
+ android:persistent="false">
+
+ <PreferenceScreen
+ android:key="sip_account_settings_key"
+ android:title="@string/sip_accounts_title"
+ android:persistent="false">
+
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="com.android.phone"
+ android:targetClass="com.android.phone.sip.SipSettings" />
+ </PreferenceScreen>
+
+ <ListPreference
+ android:key="sip_call_options_key"
+ android:title="@string/sip_call_options_title"
+ android:persistent="true"
+ android:entries="@array/sip_call_options_entries"
+ android:entryValues="@array/sip_call_options_values"/>
+
+ <ListPreference
+ android:key="sip_call_options_wifi_only_key"
+ android:title="@string/sip_call_options_title"
+ android:dialogTitle="@string/sip_call_options_wifi_only_title"
+ android:persistent="true"
+ android:entries="@array/sip_call_options_wifi_only_entries"
+ android:entryValues="@array/sip_call_options_values"/>
+ </PreferenceCategory>
+</PreferenceScreen>