From 139ee5037bea73eae306ba31011670837bcc9e8c Mon Sep 17 00:00:00 2001 From: Angela Wang Date: Tue, 21 Mar 2023 05:11:45 +0000 Subject: [PATCH] Adds illustration to Flash Notifications settings page Bug: 274546785 Test: builds and checks the illustration manually Change-Id: Iaaa49195fc062b2905b148352a5bd3e25807f207 --- .../flash_notifications_illustration.xml | 68 +++++++++++++++++++ .../flash_notifications_illustration.xml | 49 +++++++++++++ res/xml/flash_notifications_settings.xml | 9 ++- 3 files changed, 121 insertions(+), 5 deletions(-) create mode 100644 res/drawable-night/flash_notifications_illustration.xml create mode 100644 res/drawable/flash_notifications_illustration.xml diff --git a/res/drawable-night/flash_notifications_illustration.xml b/res/drawable-night/flash_notifications_illustration.xml new file mode 100644 index 00000000000..28c4097a9b6 --- /dev/null +++ b/res/drawable-night/flash_notifications_illustration.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/flash_notifications_illustration.xml b/res/drawable/flash_notifications_illustration.xml new file mode 100644 index 00000000000..64c110b0a71 --- /dev/null +++ b/res/drawable/flash_notifications_illustration.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/xml/flash_notifications_settings.xml b/res/xml/flash_notifications_settings.xml index 52f0b103031..9256b93a7ff 100644 --- a/res/xml/flash_notifications_settings.xml +++ b/res/xml/flash_notifications_settings.xml @@ -20,14 +20,13 @@ android:title="@string/flash_notifications_title"> - + android:key="flash_notifications_illustration" + settings:searchable="false" + settings:lottie_rawRes="@drawable/flash_notifications_illustration"/>