Frank Sposaro | c569acf | 2011-06-15 15:36:38 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 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 | <view |
| 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Frank Sposaro | 9e095d2 | 2011-07-07 15:18:38 -0700 | [diff] [blame] | 18 | class="com.android.contacts.list.ContactTileStarredView" |
| 19 | style="@style/ContactTileStarred" > |
Frank Sposaro | c569acf | 2011-06-15 15:36:38 -0700 | [diff] [blame] | 20 | |
Frank Sposaro | 9e095d2 | 2011-07-07 15:18:38 -0700 | [diff] [blame] | 21 | <RelativeLayout |
Frank Sposaro | c56a413 | 2011-06-20 11:54:05 -0700 | [diff] [blame] | 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="match_parent" > |
| 24 | |
Frank Sposaro | e9886ff | 2011-06-24 13:53:17 -0700 | [diff] [blame] | 25 | <ImageView |
| 26 | android:id="@+id/contact_tile_image" |
Frank Sposaro | 9e095d2 | 2011-07-07 15:18:38 -0700 | [diff] [blame] | 27 | android:layout_width="match_parent" |
| 28 | android:layout_height="match_parent" |
Frank Sposaro | e9886ff | 2011-06-24 13:53:17 -0700 | [diff] [blame] | 29 | android:scaleType="centerCrop" /> |
Frank Sposaro | c56a413 | 2011-06-20 11:54:05 -0700 | [diff] [blame] | 30 | |
Frank Sposaro | 9e095d2 | 2011-07-07 15:18:38 -0700 | [diff] [blame] | 31 | <View |
| 32 | android:id="@+id/contact_tile_background" |
Frank Sposaro | 595d6ea | 2011-07-20 11:03:26 -0700 | [diff] [blame^] | 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="@dimen/contact_tile_shadowbox_height" |
| 35 | android:layout_alignParentBottom="true" |
| 36 | style="@style/ContactTileStarredShadowBox" /> |
| 37 | |
| 38 | <ImageView |
| 39 | android:id="@+id/contact_tile_presence" |
| 40 | android:layout_width="16dip" |
| 41 | android:layout_height="16dip" |
| 42 | android:layout_alignParentBottom="true" |
| 43 | android:layout_marginLeft="8dip" |
| 44 | android:layout_marginBottom="10dip" /> |
Frank Sposaro | 9e095d2 | 2011-07-07 15:18:38 -0700 | [diff] [blame] | 45 | |
| 46 | <TextView |
| 47 | android:id="@+id/contact_tile_name" |
Frank Sposaro | 595d6ea | 2011-07-20 11:03:26 -0700 | [diff] [blame^] | 48 | android:layout_width="match_parent" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:layout_alignLeft="@id/contact_tile_presence" |
| 51 | android:layout_above="@id/contact_tile_presence" |
| 52 | android:textColor="@android:color/white" |
| 53 | stlye="@style/ContactTileStarredName" /> |
| 54 | |
| 55 | <TextView |
| 56 | android:id="@+id/contact_tile_status" |
| 57 | android:layout_width="wrap_content" |
| 58 | android:layout_height="wrap_content" |
| 59 | android:layout_toRightOf="@id/contact_tile_presence" |
| 60 | android:layout_below="@id/contact_tile_name" |
| 61 | android:layout_marginLeft="4dip" |
| 62 | style="@style/ContactTileStatusText" /> |
Frank Sposaro | 9e095d2 | 2011-07-07 15:18:38 -0700 | [diff] [blame] | 63 | |
| 64 | </RelativeLayout> |
Frank Sposaro | c569acf | 2011-06-15 15:36:38 -0700 | [diff] [blame] | 65 | |
| 66 | </view> |