diff options
author | Qi Wang <wangqi@google.com> | 2016-03-24 17:02:27 -0700 |
---|---|---|
committer | Qi Wang <wangqi@google.com> | 2016-03-28 12:53:45 -0700 |
commit | bf5cb80991de5725a5c35a11016c1508eaec3cb4 (patch) | |
tree | 2bf9799048c18c2b25ac51472c1425cc1fcb2b30 /InCallUI/res/layout/primary_call_info.xml | |
parent | 5287c15f684011e1adacd1b63da87c5404a0d7f2 (diff) |
Add spam indicator for notification and incoming call of incallui.
+ Add spam icon and label in notification of incoming call.
+ Add spam icon and label in primary call info of incall screen.
+ Change background color and status bar color if primary caller is spam.
Screenshots:
https://screenshot.googleplex.com/WFob2oPdXZd
https://screenshot.googleplex.com/ddCfg91Anef
Bug: 27611253
Change-Id: I03b3754f69631f5f6b07932b1a0006407b93c6e8
Diffstat (limited to 'InCallUI/res/layout/primary_call_info.xml')
-rw-r--r-- | InCallUI/res/layout/primary_call_info.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/InCallUI/res/layout/primary_call_info.xml b/InCallUI/res/layout/primary_call_info.xml index 3eb363026..56291bcc4 100644 --- a/InCallUI/res/layout/primary_call_info.xml +++ b/InCallUI/res/layout/primary_call_info.xml @@ -163,6 +163,14 @@ android:scaleType="fitCenter" android:visibility="gone" /> + <ImageView android:id="@+id/spamIcon" + android:src="@drawable/blocked_contact" + android:layout_width="24dp" + android:layout_height="match_parent" + android:layout_marginEnd="8dp" + android:scaleType="fitCenter" + android:visibility="gone" /> + <!-- Label (like "Mobile" or "Work", if present) and phone number, side by side --> <LinearLayout android:id="@+id/labelAndNumber" android:layout_width="wrap_content" |