summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2016-05-11 18:21:28 +0100
committerVictor Chang <vichang@google.com>2016-05-16 16:34:43 +0100
commit904516077182cce4ce71a51b27a3ab418ed0f225 (patch)
treeb669f6cf8e5e7f0b58e50abbff18f4bbca802d76 /res/layout
parentb7fc988f231394077c08b5ede4d1a7310da57406 (diff)
downloadpackages_apps_Messaging-904516077182cce4ce71a51b27a3ab418ed0f225.tar.gz
packages_apps_Messaging-904516077182cce4ce71a51b27a3ab418ed0f225.tar.bz2
packages_apps_Messaging-904516077182cce4ce71a51b27a3ab418ed0f225.zip
Separate work and personal contacts search result
This change allows sms app to show search result of different directories in different partitions. Currently, only personal default and enterprise default directory are searched. BUG=26021888 BUG=28016344 (cherry picked from commit 59666b32c192bd28807ccd2f9153c796668bdf13) Change-Id: I733ceaae806d13661861126ce61c34108ac7e662
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/work_directory_header.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/res/layout/work_directory_header.xml b/res/layout/work_directory_header.xml
new file mode 100644
index 0000000..3c882f5
--- /dev/null
+++ b/res/layout/work_directory_header.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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 A`NY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Layout used for list section separators. -->
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:text="@string/work_directory_display_name"
+ style="@style/DirectoryHeaderStyle"
+ />