blob: 1b111743b70cc70faf5abfaec41a66fef4edc090 [file] [log] [blame]
Daisuke Miyakawad4baa3f2011-05-26 09:24:00 -07001<?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<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:minHeight="30dip"
22 android:orientation="horizontal"
Mindy Pereirafd887652011-06-28 14:17:02 -070023 android:gravity="center_vertical">
Daisuke Miyakawad4baa3f2011-05-26 09:24:00 -070024 <LinearLayout
25 android:layout_width="wrap_content"
26 android:layout_height="wrap_content"
27 android:orientation="vertical"
Mindy Pereirafd887652011-06-28 14:17:02 -070028 android:gravity="left|center_vertical"
29 android:layout_weight="1">
Daisuke Miyakawad4baa3f2011-05-26 09:24:00 -070030 <TextView android:id="@android:id/text1"
31 android:textColor="?android:attr/textColorPrimary"
32 android:textAppearance="?android:attr/textAppearanceMedium"
33 android:layout_width="wrap_content"
34 android:layout_height="wrap_content"
35 android:gravity="center_vertical"
36 android:paddingLeft="6dip"
37 android:singleLine="true"
38 android:ellipsize="end" />
39 <TextView android:id="@android:id/text2"
40 android:textColor="?android:attr/textColorSecondary"
41 android:textAppearance="?android:attr/textAppearanceSmall"
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:gravity="center_vertical"
45 android:paddingLeft="6dip"
46 android:singleLine="true"
47 android:ellipsize="end" />
48 </LinearLayout>
Mindy Pereirafd887652011-06-28 14:17:02 -070049 <FrameLayout
50 android:layout_width="50dip"
51 android:layout_height="wrap_content">
52 <ImageView
53 android:id="@android:id/icon"
54 android:layout_width="42dip"
55 android:layout_height="42dip"
56 android:layout_margin="4dip"
57 android:src="@drawable/ic_contact_picture"
58 android:cropToPadding="true"
59 android:scaleType="centerCrop" />
60 </FrameLayout>
Daisuke Miyakawad4baa3f2011-05-26 09:24:00 -070061</LinearLayout>