blob: 66cdac458c53708a6e4f3a332984d5c5452c9e94 [file] [log] [blame]
Flavio Lerda22cb6632011-08-03 22:59:58 +01001<?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 Lerda22cb6632011-08-03 22:59:58 +010019-->
Katherine Kuanc81b1e22011-10-19 17:59:00 -070020<LinearLayout
Flavio Lerda22cb6632011-08-03 22:59:58 +010021 xmlns:android="http://schemas.android.com/apk/res/android"
Chiao Cheng9f35ccd2012-08-15 18:13:43 -070022 xmlns:ex="http://schemas.android.com/apk/res-auto"
Flavio Lerda22cb6632011-08-03 22:59:58 +010023 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
Katherine Kuanc81b1e22011-10-19 17:59:00 -070025 android:orientation="vertical">
Flavio Lerda22cb6632011-08-03 22:59:58 +010026
Katherine Kuanc81b1e22011-10-19 17:59:00 -070027 <!-- This blank view pushes the other content down because of the tab carousel -->
28 <view
Chiao Cheng888304c2012-12-06 13:43:30 -080029 class="com.android.contacts.common.widget.ProportionalLayout"
Katherine Kuanc81b1e22011-10-19 17:59:00 -070030 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
Daniel Lehmann2a45e352012-02-13 15:03:58 -080032 android:layout_marginBottom="@dimen/detail_contact_photo_shadow_height"
Katherine Kuanc81b1e22011-10-19 17:59:00 -070033 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 Lerda22cb6632011-08-03 22:59:58 +010044 <FrameLayout
45 android:layout_width="match_parent"
Katherine Kuanc81b1e22011-10-19 17:59:00 -070046 android:layout_height="32dip"
47 android:paddingLeft="16dip"
48 android:paddingRight="16dip"
Fabrice Di Meglio7d3b9152013-04-04 19:49:34 -070049 android:paddingStart="16dip"
50 android:paddingEnd="16dip"
Katherine Kuanc81b1e22011-10-19 17:59:00 -070051 android:focusable="false">
Flavio Lerda22cb6632011-08-03 22:59:58 +010052
Katherine Kuanc81b1e22011-10-19 17:59:00 -070053 <TextView
54 style="?android:attr/listSeparatorTextViewStyle"
55 android:paddingLeft="8dip"
56 android:paddingRight="8dip"
Fabrice Di Meglio7d3b9152013-04-04 19:49:34 -070057 android:paddingStart="8dip"
58 android:paddingEnd="8dip"
Katherine Kuanc81b1e22011-10-19 17:59:00 -070059 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 Cheng9f35ccd2012-08-15 18:13:43 -070068</LinearLayout>