summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/spam/res/drawable/spam_notification_icon.xml
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2017-08-29 21:58:45 -0700
committerEric Erfanian <erfanian@google.com>2017-08-30 07:17:04 -0700
commit24dbc840985b12a8e61e6e190e8508c72d58bcae (patch)
tree4f1d3229eca3d62b3faf5b481a60fbad5ab7e072 /java/com/android/incallui/spam/res/drawable/spam_notification_icon.xml
parent4e9a7930756e2e1dbfba20355f8f716987835a3a (diff)
Make incallui/spam a standalone build target
Previously incallui/spam was being built directly into the incallui build target. With this CL it's now a standalone build target. This change should make it easier to test spam notifications. Bug: 62937258 Test: N/A Change-Id: I5f238ed7f9a4eaaff4b2a325479d2b6de19bdf07 PiperOrigin-RevId: 165479077
Diffstat (limited to 'java/com/android/incallui/spam/res/drawable/spam_notification_icon.xml')
-rw-r--r--java/com/android/incallui/spam/res/drawable/spam_notification_icon.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/java/com/android/incallui/spam/res/drawable/spam_notification_icon.xml b/java/com/android/incallui/spam/res/drawable/spam_notification_icon.xml
new file mode 100644
index 000000000..a414428cb
--- /dev/null
+++ b/java/com/android/incallui/spam/res/drawable/spam_notification_icon.xml
@@ -0,0 +1,34 @@
+<?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/incall_call_spam_background_color"/>
+ <size
+ android:height="@android:dimen/notification_large_icon_height"
+ android:width="@android:dimen/notification_large_icon_width"/>
+ </shape>
+ </item>
+
+ <item
+ android:drawable="@drawable/quantum_ic_report_white_36"
+ android:gravity="center"/>
+
+</layer-list>