Merge "Notification settings cog button ripple under notification" into sc-dev
This commit is contained in:
20
packages/SystemUI/res/drawable/notif_settings_button.xml
Normal file
20
packages/SystemUI/res/drawable/notif_settings_button.xml
Normal 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>
|
||||||
@@ -108,9 +108,9 @@ asked for it -->
|
|||||||
android:layout_width="@dimen/notification_importance_toggle_size"
|
android:layout_width="@dimen/notification_importance_toggle_size"
|
||||||
android:layout_height="@dimen/notification_importance_toggle_size"
|
android:layout_height="@dimen/notification_importance_toggle_size"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:background="@drawable/ripple_drawable"
|
android:background="@android:color/transparent"
|
||||||
android:contentDescription="@string/notification_more_settings"
|
android:contentDescription="@string/notification_more_settings"
|
||||||
android:src="@drawable/ic_settings"
|
android:src="@drawable/notif_settings_button"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:tint="@color/notification_guts_link_icon_tint"/>
|
android:tint="@color/notification_guts_link_icon_tint"/>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user