summaryrefslogtreecommitdiff
path: root/res/xml/display_options.xml
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-02-26 13:46:39 -0800
committerAndrew Lee <anwlee@google.com>2015-02-26 14:13:18 -0800
commitdd9dc5ae60a991ab7e4203c4b539d1dd4811b59a (patch)
treeee8c410a038c8503e7e303195e5ed39741d51d57 /res/xml/display_options.xml
parente3f59a8f06add2edade829ff043ebee8da5fdc85 (diff)
Add DisplayOptions PreferenceFragment.
- Remove display options from the general settings fragment. + Move display options into their own fragment, and add header in the top-level Dialer settingss which points to them. Bug: 19372734 Change-Id: I3452177ba5c31fd9e86dafbcf22eebd56c2bb091
Diffstat (limited to 'res/xml/display_options.xml')
-rw-r--r--res/xml/display_options.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/res/xml/display_options.xml b/res/xml/display_options.xml
new file mode 100644
index 000000000..07aadf758
--- /dev/null
+++ b/res/xml/display_options.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ ~ Copyright (C) 2015 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">
+
+ <com.android.contacts.common.preference.SortOrderPreference
+ android:key="sortOrder"
+ android:title="@string/display_options_sort_list_by"
+ android:dialogTitle="@string/display_options_sort_list_by" />
+
+ <com.android.contacts.common.preference.DisplayOrderPreference
+ android:key="displayOrder"
+ android:title="@string/display_options_view_names_as"
+ android:dialogTitle="@string/display_options_view_names_as" />
+
+</PreferenceScreen>