diff options
author | Yorke Lee <yorkelee@google.com> | 2013-11-13 13:03:30 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-11-13 14:27:18 -0800 |
commit | fb34fdaeb60eaa20dbc825983edc17b45d879440 (patch) | |
tree | 4cdb89108db0a92958858d4016f9469c81993f59 /res | |
parent | c3cb63b627b30e7bebd88dab2583604eb4e7fa88 (diff) |
Change all contacts button to look like list item
Rewrite layout of all contacts button to look like a regular
contact list item.
Update list default avatar background
Bug: 11654293
Bug: 11668831
Change-Id: Iafa8f69e618b39eabf823cafd8153ed24ddbdfbd
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/list_item_avatar_bg.png | bin | 614 -> 1128 bytes | |||
-rw-r--r-- | res/drawable-mdpi/list_item_avatar_bg.png | bin | 498 -> 1065 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/list_item_avatar_bg.png | bin | 705 -> 1225 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/list_item_avatar_bg.png | bin | 1465 -> 1382 bytes | |||
-rw-r--r-- | res/layout/show_all_contact_button.xml | 23 |
5 files changed, 2 insertions, 21 deletions
diff --git a/res/drawable-hdpi/list_item_avatar_bg.png b/res/drawable-hdpi/list_item_avatar_bg.png Binary files differindex e6eb68e27..66e5f3efe 100644 --- a/res/drawable-hdpi/list_item_avatar_bg.png +++ b/res/drawable-hdpi/list_item_avatar_bg.png diff --git a/res/drawable-mdpi/list_item_avatar_bg.png b/res/drawable-mdpi/list_item_avatar_bg.png Binary files differindex 1306cfc03..640eb3e07 100644 --- a/res/drawable-mdpi/list_item_avatar_bg.png +++ b/res/drawable-mdpi/list_item_avatar_bg.png diff --git a/res/drawable-xhdpi/list_item_avatar_bg.png b/res/drawable-xhdpi/list_item_avatar_bg.png Binary files differindex 3f271a0f6..cac7fbd34 100644 --- a/res/drawable-xhdpi/list_item_avatar_bg.png +++ b/res/drawable-xhdpi/list_item_avatar_bg.png diff --git a/res/drawable-xxhdpi/list_item_avatar_bg.png b/res/drawable-xxhdpi/list_item_avatar_bg.png Binary files differindex 8b03a6561..fcfe2daaa 100644 --- a/res/drawable-xxhdpi/list_item_avatar_bg.png +++ b/res/drawable-xxhdpi/list_item_avatar_bg.png diff --git a/res/layout/show_all_contact_button.xml b/res/layout/show_all_contact_button.xml index 824d10cdb..30060d77b 100644 --- a/res/layout/show_all_contact_button.xml +++ b/res/layout/show_all_contact_button.xml @@ -14,7 +14,7 @@ limitations under the License. --> -<LinearLayout +<com.android.contacts.common.list.ContactListItemView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/show_all_contact_button" android:orientation="horizontal" @@ -23,23 +23,4 @@ android:layout_height="match_parent" android:minHeight="?android:attr/listPreferredItemHeight" android:gravity="center" - android:background="?android:attr/selectableItemBackground" - android:focusable="true"> - - <ImageView - android:layout_height="match_parent" - android:layout_width="wrap_content" - android:layout_gravity="center" - android:src="@drawable/ic_menu_all_contacts_dk" - android:layout_marginEnd="10dp"/> - - <TextView - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:textSize="14sp" - android:ellipsize="marquee" - android:singleLine="true" - android:text="@string/show_all_contacts_button_text" - android:textAlignment="center" - android:gravity="center"/> -</LinearLayout>
\ No newline at end of file + android:focusable="true" />
\ No newline at end of file |