Flavio Lerda | 22cb663 | 2011-08-03 22:59:58 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 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 | <!-- |
| 18 | This is a header entry in the contact updates list. |
Flavio Lerda | 22cb663 | 2011-08-03 22:59:58 +0100 | [diff] [blame] | 19 | --> |
Katherine Kuan | c81b1e2 | 2011-10-19 17:59:00 -0700 | [diff] [blame] | 20 | <LinearLayout |
Flavio Lerda | 22cb663 | 2011-08-03 22:59:58 +0100 | [diff] [blame] | 21 | xmlns:android="http://schemas.android.com/apk/res/android" |
Chiao Cheng | 9f35ccd | 2012-08-15 18:13:43 -0700 | [diff] [blame] | 22 | xmlns:ex="http://schemas.android.com/apk/res-auto" |
Flavio Lerda | 22cb663 | 2011-08-03 22:59:58 +0100 | [diff] [blame] | 23 | android:layout_width="match_parent" |
| 24 | android:layout_height="wrap_content" |
Katherine Kuan | c81b1e2 | 2011-10-19 17:59:00 -0700 | [diff] [blame] | 25 | android:orientation="vertical"> |
Flavio Lerda | 22cb663 | 2011-08-03 22:59:58 +0100 | [diff] [blame] | 26 | |
Katherine Kuan | c81b1e2 | 2011-10-19 17:59:00 -0700 | [diff] [blame] | 27 | <!-- This blank view pushes the other content down because of the tab carousel --> |
| 28 | <view |
Chiao Cheng | 888304c | 2012-12-06 13:43:30 -0800 | [diff] [blame] | 29 | class="com.android.contacts.common.widget.ProportionalLayout" |
Katherine Kuan | c81b1e2 | 2011-10-19 17:59:00 -0700 | [diff] [blame] | 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="wrap_content" |
Daniel Lehmann | 2a45e35 | 2012-02-13 15:03:58 -0800 | [diff] [blame] | 32 | android:layout_marginBottom="@dimen/detail_contact_photo_shadow_height" |
Katherine Kuan | c81b1e2 | 2011-10-19 17:59:00 -0700 | [diff] [blame] | 33 | ex:ratio="0.5" |
| 34 | ex:direction="widthToHeight"> |
| 35 | |
| 36 | <!-- Put a dummy view here because the ProportionalLayout requires one --> |
| 37 | <FrameLayout |
| 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="match_parent"/> |
| 40 | |
| 41 | </view> |
| 42 | |
| 43 | <!-- "Recent" header text --> |
Flavio Lerda | 22cb663 | 2011-08-03 22:59:58 +0100 | [diff] [blame] | 44 | <FrameLayout |
| 45 | android:layout_width="match_parent" |
Katherine Kuan | c81b1e2 | 2011-10-19 17:59:00 -0700 | [diff] [blame] | 46 | android:layout_height="32dip" |
| 47 | android:paddingLeft="16dip" |
| 48 | android:paddingRight="16dip" |
Fabrice Di Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 49 | android:paddingStart="16dip" |
| 50 | android:paddingEnd="16dip" |
Katherine Kuan | c81b1e2 | 2011-10-19 17:59:00 -0700 | [diff] [blame] | 51 | android:focusable="false"> |
Flavio Lerda | 22cb663 | 2011-08-03 22:59:58 +0100 | [diff] [blame] | 52 | |
Katherine Kuan | c81b1e2 | 2011-10-19 17:59:00 -0700 | [diff] [blame] | 53 | <TextView |
| 54 | style="?android:attr/listSeparatorTextViewStyle" |
| 55 | android:paddingLeft="8dip" |
| 56 | android:paddingRight="8dip" |
Fabrice Di Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 57 | android:paddingStart="8dip" |
| 58 | android:paddingEnd="8dip" |
Katherine Kuan | c81b1e2 | 2011-10-19 17:59:00 -0700 | [diff] [blame] | 59 | android:background="@drawable/list_section_divider_holo_custom" |
| 60 | android:text="@string/recent" |
| 61 | android:textColor="@color/people_app_theme_color" |
| 62 | android:textAllCaps="true" |
| 63 | android:singleLine="true" |
| 64 | android:ellipsize="end" /> |
| 65 | |
| 66 | </FrameLayout> |
| 67 | |
Chiao Cheng | 9f35ccd | 2012-08-15 18:13:43 -0700 | [diff] [blame] | 68 | </LinearLayout> |