blob: 49d561baea6c3698333023fa72c93e260e21238f [file] [log] [blame]
Michael Chan47f3f702009-07-23 16:01:07 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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
Daisuke Miyakawabdcb9fc2010-10-18 13:10:56 -07007
Michael Chan47f3f702009-07-23 16:01:07 -07008 http://www.apache.org/licenses/LICENSE-2.0
Daisuke Miyakawabdcb9fc2010-10-18 13:10:56 -07009
Michael Chan47f3f702009-07-23 16:01:07 -070010 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
Daisuke Miyakawabdcb9fc2010-10-18 13:10:56 -070017<LinearLayout
Michael Chan47f3f702009-07-23 16:01:07 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guydf279e32010-01-08 15:06:46 -080019 android:layout_width="match_parent"
Daisuke Miyakawabdcb9fc2010-10-18 13:10:56 -070020 android:layout_height="wrap_content"
21 android:orientation="horizontal"
Michael Chan5627b822009-08-24 23:22:25 -070022 android:minHeight="48dip">
Michael Chan47f3f702009-07-23 16:01:07 -070023
Evan Millar08816762009-09-29 18:08:53 -070024 <QuickContactBadge
Michael Chane328d232009-09-23 11:37:38 -070025 android:id="@+id/badge"
26 android:paddingLeft="3dip"
27 android:paddingRight="3dip"
28 android:paddingTop="3dip"
29 android:paddingBottom="6dip"
Michael Chan5627b822009-08-24 23:22:25 -070030 android:layout_marginLeft="2dip"
31 android:layout_marginRight="14dip"
Michael Chane328d232009-09-23 11:37:38 -070032 android:layout_marginTop="4dip"
Michael Chan5627b822009-08-24 23:22:25 -070033 android:layout_marginBottom="3dip"
Michael Chan5627b822009-08-24 23:22:25 -070034 android:src="@drawable/ic_contact_picture"
Jeff Sharkey56be5242009-12-16 15:39:18 -080035 style="?android:attr/quickContactBadgeStyleWindowMedium" />
Michael Chan47f3f702009-07-23 16:01:07 -070036
Erikd845fbe2010-08-12 11:20:01 -070037 <TextView
38 android:id="@+id/name"
Erikd845fbe2010-08-12 11:20:01 -070039 android:layout_height="wrap_content"
Daisuke Miyakawabdcb9fc2010-10-18 13:10:56 -070040 android:layout_width="0dip"
41 android:layout_weight="1"
42 android:layout_gravity="center_vertical"
43 android:gravity="center_vertical"
44 android:paddingRight="3dip"
45 android:textAppearance="?android:attr/textAppearanceMedium"
46 style="@style/TextAppearance.EditEvent_Label" />
Erikd845fbe2010-08-12 11:20:01 -070047
Daisuke Miyakawabdcb9fc2010-10-18 13:10:56 -070048 <ImageView
49 android:id="@+id/presence"
50 android:layout_width="wrap_content"
51 android:layout_height="wrap_content"
52 android:layout_gravity="center_vertical"
53 android:paddingRight="3dip"
54 android:scaleType="fitXY"
55 android:visibility="gone" />
Michael Chan47f3f702009-07-23 16:01:07 -070056
Daisuke Miyakawabdcb9fc2010-10-18 13:10:56 -070057 <ImageButton
58 android:id="@+id/contact_remove"
59 android:layout_width="wrap_content"
60 android:layout_height="wrap_content"
61 android:layout_gravity="center_vertical"
62 android:paddingRight="3dip"
63 android:visibility="gone"
64 style="@style/MinusButton" />
65
66</LinearLayout>