blob: f2477cb86a3ed14825705065d5085fed56c26e4c [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"
Dmitri Plotnikov18ffaa22010-12-03 14:28:00 -080021 class="com.android.contacts.editor.AggregationSuggestionView"
Dmitri Plotnikovf491ae92010-08-16 12:18:53 -070022 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:orientation="horizontal"
25 android:paddingLeft="5dip"
26 android:paddingRight="15dip"
27>
Dmitri Plotnikovc0130cc2010-10-18 19:14:54 -070028
Dmitri Plotnikovf491ae92010-08-16 12:18:53 -070029 <ImageView
30 android:id="@+id/aggregation_suggestion_photo"
31 android:layout_width="@dimen/aggregation_suggestion_icon_size"
32 android:layout_height="@dimen/aggregation_suggestion_icon_size"
33 android:layout_alignParentLeft="true"
34 android:layout_centerInParent="true"
35 android:layout_marginTop="4dip"
36 android:scaleType="fitCenter"
37 />
38
39 <TextView
40 android:id="@+id/aggregation_suggestion_name"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:layout_toRightOf="@id/aggregation_suggestion_photo"
Dmitri Plotnikovf491ae92010-08-16 12:18:53 -070044 android:layout_marginLeft="10dip"
45 android:layout_marginTop="4dip"
46 android:textAppearance="?android:attr/textAppearanceSmall"
47 android:textColor="?android:attr/textColorSecondary"
48 />
49
50 <TextView
51 android:id="@+id/aggregation_suggestion_data"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:layout_toRightOf="@id/aggregation_suggestion_photo"
Dmitri Plotnikovf491ae92010-08-16 12:18:53 -070055 android:layout_below="@id/aggregation_suggestion_name"
56 android:layout_marginLeft="10dip"
57 android:textAppearance="?android:attr/textAppearanceSmall"
58 android:textColor="?android:attr/textColorSecondary"
59 />
60</view>