diff options
author | Nancy Chen <nancychen@google.com> | 2014-05-22 12:03:48 -0700 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2014-05-22 21:14:36 +0000 |
commit | bc4e8dfc61661246cc61bcb130ec70cbbbbec3a9 (patch) | |
tree | 75dd2feebfada700419644af26314317c4a1c847 /src | |
parent | 91b50b81967409ef25b3b1893f2a63c0c5355c53 (diff) |
[DO NOT MERGE] Change icon shape and color for search shortcuts
Bug: 15118603
Change-Id: I9aa6488e48a78d65c23a4c00ad8f3ba891b83855
(cherry picked from commit 134a2f507672b61546c77cd7b8fa5a43c904c4a0)
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/list/DialerPhoneNumberListAdapter.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java b/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java index 533a13452..abceda407 100644 --- a/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java +++ b/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java @@ -139,16 +139,16 @@ public class DialerPhoneNumberListAdapter extends PhoneNumberListAdapter { switch (shortcutType) { case SHORTCUT_DIRECT_CALL: text = resources.getString(R.string.search_shortcut_call_number, number); - drawableId = R.drawable.ic_phone_dk; + drawableId = R.drawable.ic_search_phone; break; case SHORTCUT_ADD_NUMBER_TO_CONTACTS: text = resources.getString(R.string.search_shortcut_add_to_contacts); - drawableId = R.drawable.ic_add_person_dk; + drawableId = R.drawable.ic_search_add_contact; break; default: throw new IllegalArgumentException("Invalid shortcut type"); } - v.setDrawableResource(R.drawable.list_item_avatar_bg, drawableId); + v.setDrawableResource(R.drawable.search_shortcut_background, drawableId); v.setDisplayName(text); v.setPhotoPosition(super.getPhotoPosition()); } |