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" |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 21 | android:orientation="vertical"> |
| 22 | <LinearLayout |
| 23 | android:layout_width="match_parent" |
| 24 | android:layout_height="48dip" |
RoboErik | 0d865f3 | 2011-08-09 10:17:25 -0700 | [diff] [blame^] | 25 | android:orientation="horizontal" |
| 26 | android:layout_marginRight="16dip" > |
Michael Chan | 47f3f70 | 2009-07-23 16:01:07 -0700 | [diff] [blame] | 27 | |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 28 | <TextView |
| 29 | android:id="@+id/name" |
| 30 | android:layout_height="wrap_content" |
| 31 | android:layout_width="0dip" |
| 32 | android:layout_weight="1" |
| 33 | android:textSize="18sp" |
RoboErik | 0d865f3 | 2011-08-09 10:17:25 -0700 | [diff] [blame^] | 34 | android:layout_marginLeft="8dip" |
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 | <ImageView |
| 42 | android:id="@+id/presence" |
| 43 | android:layout_width="wrap_content" |
| 44 | android:layout_height="wrap_content" |
| 45 | android:layout_gravity="center_vertical" |
| 46 | android:paddingRight="3dip" |
| 47 | android:scaleType="fitXY" |
| 48 | android:visibility="gone" /> |
Erik | d845fbe | 2010-08-12 11:20:01 -0700 | [diff] [blame] | 49 | |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 50 | <ImageButton |
| 51 | android:id="@+id/contact_remove" |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_gravity="center_vertical" |
| 55 | android:paddingRight="3dip" |
| 56 | android:visibility="gone" |
| 57 | android:contentDescription="@string/accessibility_remove_attendee" |
| 58 | style="@style/MinusButton" /> |
Michael Chan | 47f3f70 | 2009-07-23 16:01:07 -0700 | [diff] [blame] | 59 | |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 60 | <QuickContactBadge |
| 61 | android:id="@+id/badge" |
| 62 | android:layout_gravity="center_vertical" |
| 63 | android:layout_width="48dip" |
| 64 | android:layout_height="48dip" |
| 65 | android:src="@drawable/ic_contact_picture" |
| 66 | style="?android:attr/quickContactBadgeStyleWindowMedium" /> |
| 67 | </LinearLayout> |
| 68 | |
| 69 | <View |
| 70 | android:id="@+id/contact_separator" |
| 71 | android:background="?android:attr/listDivider" |
Daisuke Miyakawa | bdcb9fc | 2010-10-18 13:10:56 -0700 | [diff] [blame] | 72 | android:visibility="gone" |
Isaac Katzenelson | 10b6021 | 2011-06-28 17:59:14 -0700 | [diff] [blame] | 73 | android:layout_height="1px" |
| 74 | android:layout_width="match_parent" /> |
Daisuke Miyakawa | bdcb9fc | 2010-10-18 13:10:56 -0700 | [diff] [blame] | 75 | |
| 76 | </LinearLayout> |