Notification settings cog button ripple under notification

moved ripple to the same layer as icon

Fixes: b/181336505
Test: visual
Change-Id: Iabe3ced7e77f5709030900f287dde40ff4d87e2a
This commit is contained in:
Jay Aliomer
2021-05-06 17:23:10 -04:00
parent 48a3676a12
commit 79be866400
2 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
<!--
~ Copyright (C) 2021 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 android:drawable="@drawable/ripple_drawable"/>
<item android:drawable="@drawable/ic_settings"/>
</layer-list>

View File

@@ -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"/>