blob: 9ed1bf3c7049daf578a24e9ca30bfb761220fc86 [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"
Daniel Lehmann30c86b02011-04-06 21:23:41 -070027 android:background="?android:attr/selectableItemBackground"
28 android:focusable="true"
Dmitri Plotnikovf491ae92010-08-16 12:18:53 -070029>
Dmitri Plotnikovc0130cc2010-10-18 19:14:54 -070030
Dmitri Plotnikovf491ae92010-08-16 12:18:53 -070031 <ImageView
32 android:id="@+id/aggregation_suggestion_photo"
33 android:layout_width="@dimen/aggregation_suggestion_icon_size"
34 android:layout_height="@dimen/aggregation_suggestion_icon_size"
35 android:layout_alignParentLeft="true"
36 android:layout_centerInParent="true"
37 android:layout_marginTop="4dip"
38 android:scaleType="fitCenter"
39 />
40
41 <TextView
42 android:id="@+id/aggregation_suggestion_name"
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:layout_toRightOf="@id/aggregation_suggestion_photo"
Dmitri Plotnikovf491ae92010-08-16 12:18:53 -070046 android:layout_marginLeft="10dip"
47 android:layout_marginTop="4dip"
48 android:textAppearance="?android:attr/textAppearanceSmall"
49 android:textColor="?android:attr/textColorSecondary"
50 />
51
52 <TextView
53 android:id="@+id/aggregation_suggestion_data"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_toRightOf="@id/aggregation_suggestion_photo"
Dmitri Plotnikovf491ae92010-08-16 12:18:53 -070057 android:layout_below="@id/aggregation_suggestion_name"
58 android:layout_marginLeft="10dip"
59 android:textAppearance="?android:attr/textAppearanceSmall"
60 android:textColor="?android:attr/textColorSecondary"
61 />
62</view>