diff options
author | Victor Chang <vichang@google.com> | 2015-12-17 09:14:15 +0000 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2016-01-13 22:10:00 +0000 |
commit | 240523d3e1b4502326c8d0d313dd1787aa8ff024 (patch) | |
tree | d6478e553604cbd844704d03d80708c0951bd23b /res | |
parent | 90a13e94e3d918da73e83d80ab12c6e5f3f76f7e (diff) |
Show work badge icon/description in InCallUI/Dialer
Add work badge icon in calllog for work contacts
To see this feature
1. Receive/Make a call from work contact
(a contact in work profile has the phone number)
2. Drop/miss the call. See a badge icon next to phone label in calllog
BUG=26082618
Change-Id: I7371795e3c3ef925739096f39a70f03722dd430b
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/call_log_list_item.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml index 95de2680c..469e72ae5 100644 --- a/res/layout/call_log_list_item.xml +++ b/res/layout/call_log_list_item.xml @@ -101,6 +101,14 @@ android:layout_marginEnd="@dimen/call_log_icon_margin" android:layout_gravity="center_vertical" /> + <ImageView android:id="@+id/work_profile_icon" + android:src="@drawable/ic_work_profile" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginEnd="@dimen/call_log_icon_margin" + android:scaleType="center" + android:visibility="gone" /> + <TextView android:id="@+id/call_location_and_date" android:layout_width="wrap_content" |