blob: 777cc058c581305f7f1c5af7df6961aac713f65b [file] [log] [blame]
Chiao Cheng64df8b22012-11-07 18:20:17 -08001<?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"
Brian Attwell10c29842014-05-28 18:08:36 -070018 xmlns:ex="http://schemas.android.com/apk/res-auto"
Brian Attwell71d47d12014-05-29 13:45:56 -070019 class="com.android.contacts.common.list.ContactTileStarredView"
20 android:focusable="true"
21 android:background="?android:attr/selectableItemBackground">
Chiao Cheng64df8b22012-11-07 18:20:17 -080022
Brian Attwell10c29842014-05-28 18:08:36 -070023 <LinearLayout
24 android:id="@+id/contact_tile_push_state"
Chiao Cheng64df8b22012-11-07 18:20:17 -080025 android:layout_width="match_parent"
Brian Attwell10c29842014-05-28 18:08:36 -070026 android:layout_height="match_parent"
27 android:orientation="vertical"
Brian Attwelladbc0a02014-08-19 15:58:31 -070028 android:paddingTop="24dp">
Brian Attwell10c29842014-05-28 18:08:36 -070029 <view
30 android:id="@+id/contact_tile_container"
Chiao Cheng64df8b22012-11-07 18:20:17 -080031 android:layout_width="match_parent"
Brian Attwell10c29842014-05-28 18:08:36 -070032 android:layout_height="wrap_content"
33 ex:direction="widthToHeight"
34 ex:ratio="1.0"
35 class="com.android.contacts.common.widget.ProportionalLayout" >
36 <ImageView
37 android:id="@+id/contact_tile_image"
38 android:layout_width="match_parent"
39 android:layout_height="match_parent" />
40 </view>
41 <TextView
42 android:id="@+id/contact_tile_name"
Chiao Cheng64df8b22012-11-07 18:20:17 -080043 android:layout_width="match_parent"
Brian Attwell10c29842014-05-28 18:08:36 -070044 android:layout_height="wrap_content"
45 android:paddingTop="7dp"
46 android:textColor="#202020"
Zheng Fu093e3f92014-08-26 14:24:41 -070047 android:textSize="@dimen/contact_browser_list_item_text_size"
Brian Attwell10c29842014-05-28 18:08:36 -070048 android:singleLine="true"
49 android:fadingEdge="horizontal"
50 android:fadingEdgeLength="3dip"
51 android:ellipsize="marquee"
52 android:textAlignment="center"/>
53 </LinearLayout>
Chiao Cheng64df8b22012-11-07 18:20:17 -080054</view>