blob: 58a7b2410517fa0010d8b1b6e0764d396adad0c0 [file] [log] [blame]
Yorke Lee6b049122013-07-16 10:38:02 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 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
17<!-- Use LinearLayout + FrameLayout, just to rely on android:divider and android:showDividers -->
Christine Chen4fdf5942013-09-24 17:42:32 -070018<RelativeLayout
Yorke Lee6b049122013-07-16 10:38:02 -070019 xmlns:android="http://schemas.android.com/apk/res/android"
Yorke Lee6b049122013-07-16 10:38:02 -070020 android:layout_width="match_parent"
21 android:layout_height="match_parent"
Yorke Lee6b049122013-07-16 10:38:02 -070022 android:divider="?android:attr/dividerHorizontal"
Yorke Leedfb2eee2013-06-26 18:24:32 -070023 android:showDividers="end"
Yorke Lee9e91bb02014-03-05 17:50:50 -080024 android:clipChildren="false">
Christine Chen4fdf5942013-09-24 17:42:32 -070025
Yorke Lee6b049122013-07-16 10:38:02 -070026 <FrameLayout
Christine Chen4fdf5942013-09-24 17:42:32 -070027 android:id="@+id/contact_tile_frame"
Yorke Lee6b049122013-07-16 10:38:02 -070028 android:layout_width="match_parent"
Yorke Lee4ed7db82013-09-27 17:04:00 -070029 android:layout_height="match_parent"
Christine Chen4fdf5942013-09-24 17:42:32 -070030 android:layout_alignParentTop="true"
31 android:layout_alignParentLeft="true"
Yorke Leeefb2d9c2014-04-18 14:05:01 -070032 android:paddingStart="@dimen/favorites_row_start_padding"
33 android:paddingEnd="@dimen/favorites_row_end_padding" >
Hongwei Wangbf5b2982013-09-11 10:07:45 -070034 <com.android.dialer.list.PhoneFavoriteListView
Yorke Lee6b049122013-07-16 10:38:02 -070035 android:id="@+id/contact_tile_list"
36 android:layout_width="match_parent"
37 android:layout_height="match_parent"
Yorke Lee4cde5662014-04-18 17:14:58 -070038 android:paddingTop="@dimen/favorites_row_top_padding"
Yorke Leeefb2d9c2014-04-18 14:05:01 -070039 android:numColumns="@integer/contact_tile_column_count_in_favorites"
Yorke Lee6b049122013-07-16 10:38:02 -070040 android:clipToPadding="false"
41 android:fadingEdge="none"
Yorke Leebd180af2014-05-04 14:50:49 -070042 android:divider="@null"
Yorke Lee781ee242014-05-22 16:11:25 -070043 android:paddingBottom="@dimen/floating_action_button_list_bottom_padding"
Yorke Leebd180af2014-05-04 14:50:49 -070044 android:nestedScrollingEnabled="true" />
Yorke Lee6b049122013-07-16 10:38:02 -070045 </FrameLayout>
Christine Chen4fdf5942013-09-24 17:42:32 -070046
47 <include
Andrew Lee0a4327e2014-06-10 15:09:46 -070048 android:id="@+id/empty_list_view"
Christine Chen4fdf5942013-09-24 17:42:32 -070049 android:layout_width="match_parent"
50 android:layout_height="match_parent"
Andrew Lee0a4327e2014-06-10 15:09:46 -070051 layout="@layout/empty_list_view"
Christine Chen4fdf5942013-09-24 17:42:32 -070052 android:visibility="gone"/>
Andrew Lee0a4327e2014-06-10 15:09:46 -070053
Christine Chen4fdf5942013-09-24 17:42:32 -070054</RelativeLayout>