| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2011 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <view |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| class="com.android.contacts.list.ContactTileFrequentView" |
| android:focusable="true" |
| android:background="?android:attr/selectableItemBackground" |
| android:nextFocusRight="@+id/contact_tile_quick"> |
| |
| <RelativeLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" > |
| |
| <com.android.contacts.widget.LayoutSuppressingQuickContactBadge |
| android:id="@+id/contact_tile_quick" |
| android:layout_width="64dip" |
| android:layout_height="64dip" |
| android:layout_alignParentRight="true" |
| android:scaleType="centerCrop" |
| android:focusable="true" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="64dip" |
| android:orientation="vertical" |
| android:layout_alignParentBottom="true" |
| android:gravity="center_vertical" |
| android:paddingRight="80dip" |
| android:paddingLeft="8dip"> |
| |
| <TextView |
| android:id="@+id/contact_tile_name" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textColor="@color/primary_text_color" |
| android:textSize="18sp" |
| android:singleLine="true" |
| android:fadingEdge="horizontal" |
| android:fadingEdgeLength="3dip" |
| android:ellipsize="marquee" /> |
| |
| <TextView |
| android:id="@+id/contact_tile_status" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textAppearance="?android:attr/textAppearanceSmall" |
| android:textColor="?android:attr/textColorSecondary" |
| android:singleLine="true" |
| android:drawablePadding="4dip" |
| android:fadingEdge="horizontal" |
| android:fadingEdgeLength="3dip" |
| android:ellipsize="marquee" /> |
| |
| </LinearLayout> |
| |
| <View |
| android:id="@+id/contact_tile_horizontal_divider" |
| android:layout_width="match_parent" |
| android:layout_height="1px" |
| android:background="?android:attr/listDivider" |
| android:layout_below="@id/contact_tile_quick" /> |
| |
| </RelativeLayout> |
| |
| </view> |