Dmitri Plotnikov | 84b3cc7 | 2010-10-11 18:19:51 -0700 | [diff] [blame] | 1 | <?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 Cheng | e1db7f5 | 2012-12-11 10:51:03 -0800 | [diff] [blame] | 17 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent"> |
Dmitri Plotnikov | 84b3cc7 | 2010-10-11 18:19:51 -0700 | [diff] [blame] | 20 | |
Zheng Fu | 0300386 | 2014-08-26 14:26:58 -0700 | [diff] [blame] | 21 | <include layout="@layout/contact_list_card"/> |
| 22 | |
Chiao Cheng | e1db7f5 | 2012-12-11 10:51:03 -0800 | [diff] [blame] | 23 | <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 Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 30 | android:layout_marginStart="?attr/contact_browser_list_padding_left" |
| 31 | android:layout_marginEnd="?attr/contact_browser_list_padding_right" |
Brian Attwell | 00caeae | 2014-09-09 14:22:47 -0700 | [diff] [blame] | 32 | android:paddingTop="@dimen/contact_browser_list_item_padding_top_or_bottom" |
| 33 | android:clipToPadding="false" |
Chiao Cheng | e1db7f5 | 2012-12-11 10:51:03 -0800 | [diff] [blame] | 34 | android:fastScrollEnabled="true"/> |
Chiao Cheng | 52d1125 | 2012-12-10 18:32:39 -0800 | [diff] [blame] | 35 | |
Chiao Cheng | e1db7f5 | 2012-12-11 10:51:03 -0800 | [diff] [blame] | 36 | <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 Cheng | 52d1125 | 2012-12-10 18:32:39 -0800 | [diff] [blame] | 43 | |
Chiao Cheng | e1db7f5 | 2012-12-11 10:51:03 -0800 | [diff] [blame] | 44 | </FrameLayout> |