Files
app_Settings/res/drawable/notification_importance_button_background_selected.xml
Ioana Alexandru 7d7ae98ddb [Notif redesign] Update notification importance preferences
Turns out there was even more duplications of these guts buttons than we
thought - they also appear in channel settings and for priority
conversations. This makes those views also match the new design from the
guts.

Note that notification_2025_importance_preference.xml and
notification_2025_priority_conversation_preference.xml are forks of
notif_importance_preference.xml and
notif_priority_conversation_preference.xml respectively.

Bug: 394822197
Fix: 409366749
Flag: android.app.notifications_redesign_templates
Flag: android.app.notifications_redesign_fonts
Test: manual
Change-Id: I517a731580e3be1578d6fe9679a98505c3c84839
2025-04-10 11:52:40 -07:00

43 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019 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.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
android:shape="rectangle">
<solid
android:featureFlag="android.app.notifications_redesign_fonts"
android:color="@androidprv:color/materialColorSecondaryContainer"/>
<solid
android:featureFlag="!android.app.notifications_redesign_fonts"
android:color="?attr/notification_importance_button_background_color_selected"/>
<stroke
android:width="1dp"
android:featureFlag="android.app.notifications_redesign_fonts"
android:color="@androidprv:color/materialColorOutline"/>
<stroke
android:width="1dp"
android:featureFlag="!android.app.notifications_redesign_fonts"
android:color="?attr/notification_importance_button_border_color_selected"/>
<corners
android:featureFlag="android.app.notifications_redesign_fonts"
android:radius="28dp" />
<corners
android:featureFlag="!android.app.notifications_redesign_fonts"
android:radius="@dimen/rect_button_radius" />
</shape>