1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2009 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:layout_marginLeft="7dip" 22 android:paddingLeft="4dip" 23 android:orientation="vertical"> 24 <LinearLayout 25 android:layout_width="match_parent" 26 android:layout_height="48dip" 27 android:orientation="horizontal" 28 android:layout_marginRight="8dip" > 29 <TextView 30 android:id="@+id/name" 31 android:layout_height="wrap_content" 32 android:layout_width="0dip" 33 android:layout_weight="1" 34 android:textSize="16sp" 35 android:layout_gravity="center_vertical" 36 android:gravity="center_vertical" 37 android:textAppearance="?android:attr/textAppearanceMedium" 38 android:focusable="true" 39 style="@style/TextAppearance.EditEvent_Value" /> 40 41 <ImageButton 42 android:id="@+id/contact_remove" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:layout_gravity="center_vertical" 46 android:paddingRight="3dip" 47 android:visibility="gone" 48 android:contentDescription="@string/accessibility_remove_attendee" 49 style="@style/MinusButton" /> 50 51 <QuickContactBadge 52 android:id="@+id/badge" 53 android:layout_gravity="center_vertical" 54 android:layout_width="48dip" 55 android:layout_height="48dip" 56 android:src="@drawable/ic_contact_picture" 57 style="?android:attr/quickContactBadgeStyleWindowMedium" /> 58 </LinearLayout> 59 60 <View 61 android:id="@+id/contact_separator" 62 android:background="?android:attr/listDivider" 63 android:visibility="gone" 64 android:layout_marginLeft="8dip" 65 android:layout_marginRight="8dip" 66 android:layout_height="1px" 67 android:layout_width="match_parent" /> 68 69</LinearLayout> 70