diff options
author | Sarmad Hashmi <mhashmi@google.com> | 2016-04-11 20:37:05 -0700 |
---|---|---|
committer | Sarmad Hashmi <mhashmi@google.com> | 2016-04-11 20:37:05 -0700 |
commit | 215e1f189805fbc3dd30e084b715d5e219852902 (patch) | |
tree | a5b3c66f66e71bf8bfc2eb87c702a9b8ad712ad7 /InCallUI/res/drawable | |
parent | a231c013dad032cba8e4e15002ea96c4d9dcadac (diff) |
Add resources for after call spam notification.
+Block icon from https://icons.googleplex.com/#icon=ic_block
+Person add icon from https://icons.googleplex.com/#icon=ic_person_add
+X icon from https://icons.googleplex.com/#icon=ic_close
+Report icon from https://icons.googleplex.com/#icon=ic_report
+Question mark icon from @ycnzhao
+Added spam_notification_icon for the large icon in notifications for
first time spam calls
+Added unknown_notification_icon for the large icon in notifications for
first time calls (from any number)
+Added strings for after call notifications
+This is the same as ag/919969, we decided to move the after call spam
notification stuff to the AOSP dialer
BUG=27323295
Change-Id: I0aaabd8d2dbefeda5214481ce6315335e64c3c28
Diffstat (limited to 'InCallUI/res/drawable')
-rw-r--r-- | InCallUI/res/drawable/spam_notification_icon.xml | 31 | ||||
-rw-r--r-- | InCallUI/res/drawable/unknown_notification_icon.xml | 31 |
2 files changed, 62 insertions, 0 deletions
diff --git a/InCallUI/res/drawable/spam_notification_icon.xml b/InCallUI/res/drawable/spam_notification_icon.xml new file mode 100644 index 000000000..c8bafe085 --- /dev/null +++ b/InCallUI/res/drawable/spam_notification_icon.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + ~ Copyright (C) 2016 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + + <item> + <shape android:shape="oval"> + <solid android:color="@color/blocked_contact_background" /> + <size android:width="@dimen/notification_large_icon_width" + android:height="@dimen/notification_large_icon_height" /> + </shape> + </item> + + <item android:drawable="@drawable/ic_report_white_36dp" android:gravity="center" /> + +</layer-list>
\ No newline at end of file diff --git a/InCallUI/res/drawable/unknown_notification_icon.xml b/InCallUI/res/drawable/unknown_notification_icon.xml new file mode 100644 index 000000000..85c50752c --- /dev/null +++ b/InCallUI/res/drawable/unknown_notification_icon.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + ~ Copyright (C) 2016 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + + <item> + <shape android:shape="oval"> + <solid android:color="@color/unknown_number_color" /> + <size android:width="@dimen/notification_large_icon_width" + android:height="@dimen/notification_large_icon_height" /> + </shape> + </item> + + <item android:drawable="@drawable/ic_question_mark" android:gravity="center" /> + +</layer-list>
\ No newline at end of file |