Yorke Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 1 | <?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 Chen | 4fdf594 | 2013-09-24 17:42:32 -0700 | [diff] [blame] | 18 | <RelativeLayout |
Yorke Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
Yorke Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="match_parent" |
Yorke Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 22 | android:divider="?android:attr/dividerHorizontal" |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 23 | android:showDividers="end" |
Yorke Lee | c59a4b5 | 2013-07-29 08:51:35 -0700 | [diff] [blame] | 24 | android:clipChildren="false" |
| 25 | android:background="@color/background_dialer_light"> |
Christine Chen | 4fdf594 | 2013-09-24 17:42:32 -0700 | [diff] [blame] | 26 | |
Yorke Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 27 | <FrameLayout |
Christine Chen | 4fdf594 | 2013-09-24 17:42:32 -0700 | [diff] [blame] | 28 | android:id="@+id/contact_tile_frame" |
Yorke Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 29 | android:layout_width="match_parent" |
Yorke Lee | 4ed7db8 | 2013-09-27 17:04:00 -0700 | [diff] [blame^] | 30 | android:layout_height="match_parent" |
Christine Chen | 4fdf594 | 2013-09-24 17:42:32 -0700 | [diff] [blame] | 31 | android:layout_alignParentTop="true" |
| 32 | android:layout_alignParentLeft="true" |
| 33 | android:layout_alignParentStart="true"> |
| 34 | |
Hongwei Wang | bf5b298 | 2013-09-11 10:07:45 -0700 | [diff] [blame] | 35 | <com.android.dialer.list.PhoneFavoriteListView |
Yorke Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 36 | 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 Wang | 4911300 | 2013-09-16 15:12:56 -0700 | [diff] [blame] | 44 | <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 Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 49 | </FrameLayout> |
Christine Chen | 4fdf594 | 2013-09-24 17:42:32 -0700 | [diff] [blame] | 50 | |
| 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> |