blob: 06d153e7b12935a7cea904a06309943d418cd1d0 [file] [log] [blame]
Dmitri Plotnikovf491ae92010-08-16 12:18:53 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright 2010, The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19
20<view xmlns:android="http://schemas.android.com/apk/res/android"
21 class="com.android.contacts.ui.widget.AggregationSuggestionView"
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:orientation="horizontal"
25 android:paddingLeft="5dip"
26 android:paddingRight="15dip"
27>
28 <Button
29 android:id="@+id/aggregation_suggestion_join_button"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:text="@string/aggregation_suggestion_join_button"
33 android:layout_centerInParent="true"
34 android:layout_alignParentRight="true"
35 />
36
37 <ImageView
38 android:id="@+id/aggregation_suggestion_photo"
39 android:layout_width="@dimen/aggregation_suggestion_icon_size"
40 android:layout_height="@dimen/aggregation_suggestion_icon_size"
41 android:layout_alignParentLeft="true"
42 android:layout_centerInParent="true"
43 android:layout_marginTop="4dip"
44 android:scaleType="fitCenter"
45 />
46
47 <TextView
48 android:id="@+id/aggregation_suggestion_name"
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:layout_toRightOf="@id/aggregation_suggestion_photo"
52 android:layout_toLeftOf="@id/aggregation_suggestion_join_button"
53 android:layout_marginLeft="10dip"
54 android:layout_marginTop="4dip"
55 android:textAppearance="?android:attr/textAppearanceSmall"
56 android:textColor="?android:attr/textColorSecondary"
57 />
58
59 <TextView
60 android:id="@+id/aggregation_suggestion_data"
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:layout_toRightOf="@id/aggregation_suggestion_photo"
64 android:layout_toLeftOf="@id/aggregation_suggestion_join_button"
65 android:layout_below="@id/aggregation_suggestion_name"
66 android:layout_marginLeft="10dip"
67 android:textAppearance="?android:attr/textAppearanceSmall"
68 android:textColor="?android:attr/textColorSecondary"
69 />
70</view>