blob: 363565a5dd4ca61a92ec6684de7e755c530f6899 [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 Leec59a4b52013-07-29 08:51:35 -070024 android:clipChildren="false"
25 android:background="@color/background_dialer_light">
Christine Chen4fdf5942013-09-24 17:42:32 -070026
Yorke Lee6b049122013-07-16 10:38:02 -070027 <FrameLayout
Christine Chen4fdf5942013-09-24 17:42:32 -070028 android:id="@+id/contact_tile_frame"
Yorke Lee6b049122013-07-16 10:38:02 -070029 android:layout_width="match_parent"
Yorke Lee4ed7db82013-09-27 17:04:00 -070030 android:layout_height="match_parent"
Christine Chen4fdf5942013-09-24 17:42:32 -070031 android:layout_alignParentTop="true"
32 android:layout_alignParentLeft="true"
33 android:layout_alignParentStart="true">
34
Hongwei Wangbf5b2982013-09-11 10:07:45 -070035 <com.android.dialer.list.PhoneFavoriteListView
Yorke Lee6b049122013-07-16 10:38:02 -070036 android:id="@+id/contact_tile_list"
37 android:layout_width="match_parent"
38 android:layout_height="match_parent"
39 android:paddingTop="@dimen/contact_tile_list_padding_top"
40 android:clipToPadding="false"
41 android:fadingEdge="none"
42 android:divider="@null" />
43
Hongwei Wang49113002013-09-16 15:12:56 -070044 <ImageView
45 android:id="@+id/contact_tile_drag_shadow_overlay"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:visibility="gone"/>
Yorke Lee6b049122013-07-16 10:38:02 -070049 </FrameLayout>
Christine Chen4fdf5942013-09-24 17:42:32 -070050
51 <include
52 android:id="@+id/phone_no_favorites_view"
53 android:layout_width="match_parent"
54 android:layout_height="match_parent"
55 android:layout_below="@id/contact_tile_frame"
56 android:layout_alignParentLeft="true"
57 android:layout_alignParentStart="true"
58 android:layout_alignParentBottom="true"
59 layout="@layout/phone_no_favorites"
60 android:visibility="gone"/>
61
62</RelativeLayout>