blob: ba1dff253a4aa7555aec24a48a5f45659b9b4198 [file] [log] [blame]
Frank Sposaroc569acf2011-06-15 15:36:38 -07001<?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 Sposaro9e095d22011-07-07 15:18:38 -070018 class="com.android.contacts.list.ContactTileStarredView"
19 style="@style/ContactTileStarred" >
Frank Sposaroc569acf2011-06-15 15:36:38 -070020
Frank Sposaro9e095d22011-07-07 15:18:38 -070021 <RelativeLayout
Frank Sposaroc56a4132011-06-20 11:54:05 -070022 android:layout_width="match_parent"
23 android:layout_height="match_parent" >
24
Frank Sposaroe9886ff2011-06-24 13:53:17 -070025 <ImageView
26 android:id="@+id/contact_tile_image"
Frank Sposaro9e095d22011-07-07 15:18:38 -070027 android:layout_width="match_parent"
28 android:layout_height="match_parent"
Frank Sposaroe9886ff2011-06-24 13:53:17 -070029 android:scaleType="centerCrop" />
Frank Sposaroc56a4132011-06-20 11:54:05 -070030
Frank Sposaro9e095d22011-07-07 15:18:38 -070031 <View
32 android:id="@+id/contact_tile_background"
Frank Sposaro595d6ea2011-07-20 11:03:26 -070033 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 Sposaro9e095d22011-07-07 15:18:38 -070045
46 <TextView
47 android:id="@+id/contact_tile_name"
Frank Sposaro595d6ea2011-07-20 11:03:26 -070048 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 Sposaro9e095d22011-07-07 15:18:38 -070063
64 </RelativeLayout>
Frank Sposaroc569acf2011-06-15 15:36:38 -070065
66</view>