blob: 36734c523101527175917a5b178540a9d1b41137 [file] [log] [blame]
Dmitri Plotnikov84b3cc72010-10-11 18:19:51 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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
Chiao Chenge1db7f52012-12-11 10:51:03 -080017<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="match_parent">
Dmitri Plotnikov84b3cc72010-10-11 18:19:51 -070020
Zheng Fu03003862014-08-26 14:26:58 -070021 <include layout="@layout/contact_list_card"/>
22
Chiao Chenge1db7f52012-12-11 10:51:03 -080023 <view
24 class="com.android.contacts.common.list.PinnedHeaderListView"
25 android:id="@android:id/list"
26 android:layout_width="match_parent"
27 android:layout_height="match_parent"
28 android:layout_marginLeft="?attr/contact_browser_list_padding_left"
29 android:layout_marginRight="?attr/contact_browser_list_padding_right"
Fabrice Di Meglio7d3b9152013-04-04 19:49:34 -070030 android:layout_marginStart="?attr/contact_browser_list_padding_left"
31 android:layout_marginEnd="?attr/contact_browser_list_padding_right"
Brian Attwell00caeae2014-09-09 14:22:47 -070032 android:paddingTop="@dimen/contact_browser_list_item_padding_top_or_bottom"
33 android:clipToPadding="false"
Chiao Chenge1db7f52012-12-11 10:51:03 -080034 android:fastScrollEnabled="true"/>
Chiao Cheng52d11252012-12-10 18:32:39 -080035
Chiao Chenge1db7f52012-12-11 10:51:03 -080036 <TextView android:id="@android:id/empty"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:layout_gravity="center"
40 android:textSize="20sp"
41 android:textColor="?android:attr/textColorSecondary"
42 android:text="@string/listFoundAllContactsZero"/>
Chiao Cheng52d11252012-12-10 18:32:39 -080043
Chiao Chenge1db7f52012-12-11 10:51:03 -080044</FrameLayout>