blob: 1d37f52ab2d52e4bd7a8565e7aff3cf722962345 [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"
19 android:layout_width="fill_parent"
20 android:paddingLeft="2dip"
21 android:paddingRight="10dip"
22 android:minHeight="46dip">
23
24 <ImageView
25 android:id="@+id/avatar"
26 android:scaleType="centerCrop"
27 android:paddingLeft="4dip"
28 android:layout_width="46dip"
29 android:layout_height="46dip"
30 android:layout_marginLeft="10dip"
31 android:layout_marginTop="10dip"
32 android:layout_marginBottom="10dip"
33 android:layout_alignParentLeft="true"
34 android:layout_centerVertical="true"
35 android:background="@drawable/im_avatar_picture_border_normal" />
36
37 <TextView
38 android:id="@+id/name"
39 android:textAppearance="?android:attr/textAppearanceSmall"
40 android:inputType="none"
41 android:paddingLeft="5dip"
42 android:layout_centerVertical="true"
43 android:layout_toRightOf="@id/avatar"
44 android:layout_width="fill_parent"
45 android:layout_height="wrap_content" />
46
47 <ImageView
48 android:id="@+id/presence"
49 android:scaleType="fitXY"
50 android:visibility="gone"
51 android:layout_alignParentRight="true"
52 android:layout_centerVertical="true"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content" />
55
56 <View
57 android:id="@+id/separator"
58 android:layout_width="fill_parent"
59 android:layout_height="1dip"
60 android:layout_alignParentBottom="true"
61 android:background="@android:drawable/divider_horizontal_bright" />
62
63</RelativeLayout>