Michael Chan | 47f3f70 | 2009-07-23 16:01:07 -0700 | [diff] [blame] | 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 |
Daisuke Miyakawa | bdcb9fc | 2010-10-18 13:10:56 -0700 | [diff] [blame] | 7 | |
Michael Chan | 47f3f70 | 2009-07-23 16:01:07 -0700 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Daisuke Miyakawa | bdcb9fc | 2010-10-18 13:10:56 -0700 | [diff] [blame] | 9 | |
Michael Chan | 47f3f70 | 2009-07-23 16:01:07 -0700 | [diff] [blame] | 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 | |
Daisuke Miyakawa | bdcb9fc | 2010-10-18 13:10:56 -0700 | [diff] [blame] | 17 | <LinearLayout |
Michael Chan | 47f3f70 | 2009-07-23 16:01:07 -0700 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Romain Guy | df279e3 | 2010-01-08 15:06:46 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Daisuke Miyakawa | bdcb9fc | 2010-10-18 13:10:56 -0700 | [diff] [blame] | 20 | android:layout_height="wrap_content" |
Mindy Pereira | 2a1fb35 | 2012-05-08 15:32:41 -0700 | [diff] [blame] | 21 | android:layout_marginLeft="7dip" |
| 22 | android:paddingLeft="4dip" |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 23 | android:orientation="vertical"> |
| 24 | <LinearLayout |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="48dip" |
RoboErik | 0d865f3 | 2011-08-09 10:17:25 -0700 | [diff] [blame] | 27 | android:orientation="horizontal" |
Peter Ng | e97baf3 | 2011-08-29 14:55:11 -0700 | [diff] [blame] | 28 | android:layout_marginRight="8dip" > |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 29 | <TextView |
| 30 | android:id="@+id/name" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:layout_width="0dip" |
| 33 | android:layout_weight="1" |
Peter Ng | e97baf3 | 2011-08-29 14:55:11 -0700 | [diff] [blame] | 34 | android:textSize="16sp" |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 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" /> |
Michael Chan | 47f3f70 | 2009-07-23 16:01:07 -0700 | [diff] [blame] | 40 | |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 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" /> |
Michael Chan | 47f3f70 | 2009-07-23 16:01:07 -0700 | [diff] [blame] | 50 | |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 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" |
Daisuke Miyakawa | bdcb9fc | 2010-10-18 13:10:56 -0700 | [diff] [blame] | 63 | android:visibility="gone" |
Peter Ng | e97baf3 | 2011-08-29 14:55:11 -0700 | [diff] [blame] | 64 | android:layout_marginLeft="8dip" |
| 65 | android:layout_marginRight="8dip" |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 66 | android:layout_height="1px" |
| 67 | android:layout_width="match_parent" /> |
Daisuke Miyakawa | bdcb9fc | 2010-10-18 13:10:56 -0700 | [diff] [blame] | 68 | |
| 69 | </LinearLayout> |