summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorDmitri Plotnikov <dplotnikov@google.com>2010-09-17 18:12:49 -0700
committerDmitri Plotnikov <dplotnikov@google.com>2010-09-17 18:12:49 -0700
commitc85ad182093f5556d6dbb310f4708cdc174b2665 (patch)
treeb5cdafee003608cd8ca5cf9f7a8f7b95551c501e /res/xml
parent5fb1fec44e99da51f5479450d066ca4484cda619 (diff)
downloadpackages_apps_Contacts-c85ad182093f5556d6dbb310f4708cdc174b2665.tar.gz
packages_apps_Contacts-c85ad182093f5556d6dbb310f4708cdc174b2665.tar.bz2
packages_apps_Contacts-c85ad182093f5556d6dbb310f4708cdc174b2665.zip
Changing preferences to PreferenceActivity.
Change-Id: I30f76e94c22828a9516cf2a72a2a772e0b4da44c
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/preference_display_options.xml30
-rw-r--r--res/xml/preference_headers.xml24
2 files changed, 54 insertions, 0 deletions
diff --git a/res/xml/preference_display_options.xml b/res/xml/preference_display_options.xml
new file mode 100644
index 000000000..a662efa0c
--- /dev/null
+++ b/res/xml/preference_display_options.xml
@@ -0,0 +1,30 @@
+<?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">
+ <PreferenceCategory
+ android:title="@string/preference_displayOptions">
+ <com.android.contacts.preference.SortOrderPreference
+ android:key="sortOrder"
+ android:title="@string/display_options_sort_list_by"
+ android:dialogTitle="@string/display_options_sort_list_by" />
+
+ <com.android.contacts.preference.DisplayOrderPreference
+ android:key="sortOrder"
+ android:title="@string/display_options_view_names_as"
+ android:dialogTitle="@string/display_options_view_names_as" />
+ </PreferenceCategory>
+</PreferenceScreen>
diff --git a/res/xml/preference_headers.xml b/res/xml/preference_headers.xml
new file mode 100644
index 000000000..ed709fcc1
--- /dev/null
+++ b/res/xml/preference_headers.xml
@@ -0,0 +1,24 @@
+<?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.
+-->
+
+<preference-headers
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <header
+ android:fragment="com.android.contacts.preference.DisplayOptionsPreferenceFragment"
+ android:title="@string/preference_displayOptions" />
+
+</preference-headers>