diff options
Diffstat (limited to 'InCallUI/res')
-rw-r--r-- | InCallUI/res/layout/primary_call_info.xml | 8 | ||||
-rw-r--r-- | InCallUI/res/values/colors.xml | 5 | ||||
-rw-r--r-- | InCallUI/res/values/strings.xml | 4 |
3 files changed, 17 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" diff --git a/InCallUI/res/values/colors.xml b/InCallUI/res/values/colors.xml index 99cf7b023..71c7f0166 100644 --- a/InCallUI/res/values/colors.xml +++ b/InCallUI/res/values/colors.xml @@ -98,6 +98,7 @@ <item>#7B1FA2</item> <item>#C2185B</item> <item>#C53929</item> + <item>#A52714</item> </array> <!-- Darker versions of background_colors, two shades darker. These colors are used for the @@ -109,8 +110,12 @@ <item>#6A1B9A</item> <item>#AD1457</item> <item>#B93221</item> + <item>#841F10</item> </array> + <!-- Background color for spam. This color must match one of background_colors above. --> + <color name="incall_call_spam_background_color">#A52714</color> + <!-- Ripple color used over light backgrounds. --> <color name="ripple_light">#40000000</color> diff --git a/InCallUI/res/values/strings.xml b/InCallUI/res/values/strings.xml index 57a1b5389..9534c0e42 100644 --- a/InCallUI/res/values/strings.xml +++ b/InCallUI/res/values/strings.xml @@ -169,6 +169,8 @@ <string name="notification_incoming_work_call_wifi">Incoming Wi-Fi work call</string> <!-- The "label" of the in-call Notification for an incoming ringing video call. --> <string name="notification_incoming_video_call">Incoming video call</string> + <!-- The "label" of the in-call Notification for an incoming ringing spam call. --> + <string name="notification_incoming_spam_call">Incoming suspected spam call</string> <!-- The "label" of the in-call Notification for upgrading an existing call to a video call. --> <string name="notification_requesting_video_call">Incoming video request</string> <!-- Label for the "Voicemail" notification item, when expanded. --> @@ -523,4 +525,6 @@ <string name="open_now">Open now</string> <!-- Displayed when a place is closed. --> <string name="closed_now">Closed now</string> + <!-- Label for spam call in primary info. [CHAR LIMIT=20] --> + <string name="label_spam_caller">Suspected spam caller</string> </resources> |