From 79be866400d69dd5a4c49f5a8b1453462b5f6a08 Mon Sep 17 00:00:00 2001 From: Jay Aliomer Date: Thu, 6 May 2021 17:23:10 -0400 Subject: [PATCH] Notification settings cog button ripple under notification moved ripple to the same layer as icon Fixes: b/181336505 Test: visual Change-Id: Iabe3ced7e77f5709030900f287dde40ff4d87e2a --- .../res/drawable/notif_settings_button.xml | 20 +++++++++++++++++++ .../SystemUI/res/layout/notification_info.xml | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 packages/SystemUI/res/drawable/notif_settings_button.xml diff --git a/packages/SystemUI/res/drawable/notif_settings_button.xml b/packages/SystemUI/res/drawable/notif_settings_button.xml new file mode 100644 index 0000000000000..34a5caf4e2541 --- /dev/null +++ b/packages/SystemUI/res/drawable/notif_settings_button.xml @@ -0,0 +1,20 @@ + + + + + + \ No newline at end of file diff --git a/packages/SystemUI/res/layout/notification_info.xml b/packages/SystemUI/res/layout/notification_info.xml index b2c968c0292d2..7e8112a8885b8 100644 --- a/packages/SystemUI/res/layout/notification_info.xml +++ b/packages/SystemUI/res/layout/notification_info.xml @@ -108,9 +108,9 @@ asked for it --> android:layout_width="@dimen/notification_importance_toggle_size" android:layout_height="@dimen/notification_importance_toggle_size" android:layout_centerVertical="true" - android:background="@drawable/ripple_drawable" + android:background="@android:color/transparent" android:contentDescription="@string/notification_more_settings" - android:src="@drawable/ic_settings" + android:src="@drawable/notif_settings_button" android:layout_alignParentEnd="true" android:tint="@color/notification_guts_link_icon_tint"/>