Dmitri Plotnikov | f491ae9 | 2010-08-16 12:18:53 -0700 | [diff] [blame] | 1 | <?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 Plotnikov | c0130cc | 2010-10-18 19:14:54 -0700 | [diff] [blame^] | 21 | class="com.android.contacts.views.editor.AggregationSuggestionView" |
Dmitri Plotnikov | f491ae9 | 2010-08-16 12:18:53 -0700 | [diff] [blame] | 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 | |
Dmitri Plotnikov | c0130cc | 2010-10-18 19:14:54 -0700 | [diff] [blame^] | 37 | <Button |
| 38 | android:id="@+id/aggregation_suggestion_edit_button" |
| 39 | android:layout_width="wrap_content" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:text="@string/aggregation_suggestion_edit_button" |
| 42 | android:layout_centerInParent="true" |
| 43 | android:layout_alignParentRight="true" |
| 44 | /> |
| 45 | |
Dmitri Plotnikov | f491ae9 | 2010-08-16 12:18:53 -0700 | [diff] [blame] | 46 | <ImageView |
| 47 | android:id="@+id/aggregation_suggestion_photo" |
| 48 | android:layout_width="@dimen/aggregation_suggestion_icon_size" |
| 49 | android:layout_height="@dimen/aggregation_suggestion_icon_size" |
| 50 | android:layout_alignParentLeft="true" |
| 51 | android:layout_centerInParent="true" |
| 52 | android:layout_marginTop="4dip" |
| 53 | android:scaleType="fitCenter" |
| 54 | /> |
| 55 | |
| 56 | <TextView |
| 57 | android:id="@+id/aggregation_suggestion_name" |
| 58 | android:layout_width="wrap_content" |
| 59 | android:layout_height="wrap_content" |
| 60 | android:layout_toRightOf="@id/aggregation_suggestion_photo" |
| 61 | android:layout_toLeftOf="@id/aggregation_suggestion_join_button" |
| 62 | android:layout_marginLeft="10dip" |
| 63 | android:layout_marginTop="4dip" |
| 64 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 65 | android:textColor="?android:attr/textColorSecondary" |
| 66 | /> |
| 67 | |
| 68 | <TextView |
| 69 | android:id="@+id/aggregation_suggestion_data" |
| 70 | android:layout_width="wrap_content" |
| 71 | android:layout_height="wrap_content" |
| 72 | android:layout_toRightOf="@id/aggregation_suggestion_photo" |
| 73 | android:layout_toLeftOf="@id/aggregation_suggestion_join_button" |
| 74 | android:layout_below="@id/aggregation_suggestion_name" |
| 75 | android:layout_marginLeft="10dip" |
| 76 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 77 | android:textColor="?android:attr/textColorSecondary" |
| 78 | /> |
| 79 | </view> |