diff options
author | Brian Attwell <brianattwell@google.com> | 2014-05-28 17:44:18 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2014-06-11 13:14:26 -0700 |
commit | 2a913bd7024f2ccd0e2649c49d1442e9167f9039 (patch) | |
tree | 77a2f18ae4fb75c1f15c6e7f74371ff213228049 /res/layout | |
parent | 0cbfbda343c15c90134db5e55cf51239fe846b6c (diff) | |
download | android_packages_apps_ContactsCommon-2a913bd7024f2ccd0e2649c49d1442e9167f9039.tar.gz android_packages_apps_ContactsCommon-2a913bd7024f2ccd0e2649c49d1442e9167f9039.tar.bz2 android_packages_apps_ContactsCommon-2a913bd7024f2ccd0e2649c49d1442e9167f9039.zip |
Cleanup: remove dialer code from ContactTileAdapter
ContactTileAdapter used to be used by both Dialer and Contacts.
Now that Dialer implements its own version of ContactTileAdapter,
all Dialer code inside ContactTileAdapter is dead. Therefore, I
am deleting.
Maybe ContactTileAdapter should be moved out of ContactsCommon
in a later CL.
Change-Id: I350bcdf1c1fa38aa50b6fd4e25b4b61284903b0e
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/contact_tile_phone_starred.xml | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/res/layout/contact_tile_phone_starred.xml b/res/layout/contact_tile_phone_starred.xml deleted file mode 100644 index 67e3d43e..00000000 --- a/res/layout/contact_tile_phone_starred.xml +++ /dev/null @@ -1,78 +0,0 @@ -<?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" - android:background="@null" - android:paddingBottom="1dip" - android:paddingRight="1dip" - android:paddingEnd="1dip" - class="com.android.contacts.common.list.ContactTilePhoneStarredView" > - - <RelativeLayout - android:layout_width="match_parent" - android:layout_height="match_parent" > - - <com.android.contacts.common.widget.LayoutSuppressingImageView - android:id="@+id/contact_tile_image" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:scaleType="centerCrop" /> - - <TextView - android:id="@+id/contact_tile_name" - android:layout_width="match_parent" - android:layout_height="@dimen/contact_tile_shadowbox_height" - android:background="@color/contact_tile_shadow_box_color" - android:gravity="center_vertical" - android:textColor="@android:color/white" - android:singleLine="true" - android:textSize="16sp" - android:fadingEdge="horizontal" - android:fadingEdgeLength="3dip" - android:ellipsize="marquee" - android:layout_alignParentBottom="true" - android:paddingLeft="8dip" - android:paddingRight="47dip" - android:paddingStart="8dip" - android:paddingEnd="47dip" - android:textAlignment="viewStart" /> - - <View - android:id="@+id/contact_tile_push_state" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:focusable="true" - android:nextFocusRight="@+id/contact_tile_secondary_button" - android:background="?android:attr/selectableItemBackground" /> - - <ImageButton - android:id="@id/contact_tile_secondary_button" - android:src="@drawable/ic_contacts_holo_dark" - android:background="?android:attr/selectableItemBackground" - android:layout_height="@dimen/contact_tile_shadowbox_height" - android:layout_width="48dip" - android:paddingLeft="8dip" - android:paddingRight="8dip" - android:paddingStart="8dip" - android:paddingEnd="8dip" - android:layout_alignParentBottom="true" - android:layout_alignParentRight="true" - android:layout_alignParentEnd="true" - android:contentDescription="@string/description_view_contact_detail" /> - - </RelativeLayout> - -</view> |