blob: 49924863adf297e3e82c39de0e7a2a47494435ce [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"
Tyler Gunna8ff9752014-02-24 11:57:57 -080032 >
Christine Chen4fdf5942013-09-24 17:42:32 -070033
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"
38 android:paddingTop="@dimen/contact_tile_list_padding_top"
39 android:clipToPadding="false"
40 android:fadingEdge="none"
41 android:divider="@null" />
42
Hongwei Wang49113002013-09-16 15:12:56 -070043 <ImageView
44 android:id="@+id/contact_tile_drag_shadow_overlay"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:visibility="gone"/>
Yorke Lee6b049122013-07-16 10:38:02 -070048 </FrameLayout>
Christine Chen4fdf5942013-09-24 17:42:32 -070049
50 <include
51 android:id="@+id/phone_no_favorites_view"
52 android:layout_width="match_parent"
53 android:layout_height="match_parent"
54 android:layout_below="@id/contact_tile_frame"
55 android:layout_alignParentLeft="true"
56 android:layout_alignParentStart="true"
57 android:layout_alignParentBottom="true"
58 layout="@layout/phone_no_favorites"
59 android:visibility="gone"/>
Christine Chen4fdf5942013-09-24 17:42:32 -070060</RelativeLayout>