blob: 524e237162c39eb5d2f0f695f26ef3d5dbaa24cf [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
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<RelativeLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guydf279e32010-01-08 15:06:46 -080019 android:layout_width="match_parent"
Michael Chan5627b822009-08-24 23:22:25 -070020 android:paddingLeft="0dip"
21 android:paddingRight="9dip"
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"
30 android:layout_above="@+id/separator"
Michael Chan5627b822009-08-24 23:22:25 -070031 android:layout_marginLeft="2dip"
32 android:layout_marginRight="14dip"
Michael Chane328d232009-09-23 11:37:38 -070033 android:layout_marginTop="4dip"
Michael Chan5627b822009-08-24 23:22:25 -070034 android:layout_marginBottom="3dip"
Michael Chan47f3f702009-07-23 16:01:07 -070035 android:layout_alignParentLeft="true"
Michael Chane328d232009-09-23 11:37:38 -070036 android:layout_alignParentTop="true"
Michael Chan5627b822009-08-24 23:22:25 -070037 android:src="@drawable/ic_contact_picture"
Jeff Sharkey56be5242009-12-16 15:39:18 -080038 style="?android:attr/quickContactBadgeStyleWindowMedium" />
Michael Chan47f3f702009-07-23 16:01:07 -070039
40 <TextView
41 android:id="@+id/name"
42 android:textAppearance="?android:attr/textAppearanceSmall"
43 android:inputType="none"
Michael Chan5627b822009-08-24 23:22:25 -070044 android:paddingLeft="2dip"
Michael Chan47f3f702009-07-23 16:01:07 -070045 android:layout_centerVertical="true"
Michael Chane328d232009-09-23 11:37:38 -070046 android:layout_toRightOf="@id/badge"
Romain Guydf279e32010-01-08 15:06:46 -080047 android:layout_width="match_parent"
Michael Chan47f3f702009-07-23 16:01:07 -070048 android:layout_height="wrap_content" />
49
50 <ImageView
51 android:id="@+id/presence"
52 android:scaleType="fitXY"
53 android:visibility="gone"
54 android:layout_alignParentRight="true"
55 android:layout_centerVertical="true"
56 android:layout_width="wrap_content"
57 android:layout_height="wrap_content" />
58
59 <View
60 android:id="@+id/separator"
Romain Guydf279e32010-01-08 15:06:46 -080061 android:layout_width="match_parent"
Michael Chan79edc462009-09-28 16:50:46 -070062 android:layout_height="1px"
Michael Chan47f3f702009-07-23 16:01:07 -070063 android:layout_alignParentBottom="true"
64 android:background="@android:drawable/divider_horizontal_bright" />
65
66</RelativeLayout>