1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17<ripple xmlns:android="http://schemas.android.com/apk/res/android" 18 android:color="?android:colorControlHighlight"> 19 20 <item android:id="@android:id/mask"> 21 <shape android:shape="rectangle"> 22 <corners android:radius="@dimen/set_wallpaper_button_corner_radius" /> 23 <padding 24 android:left="@dimen/set_wallpaper_button_horizontal_padding" 25 android:top="@dimen/set_wallpaper_button_vertical_padding" 26 android:right="@dimen/set_wallpaper_button_horizontal_padding" 27 android:bottom="@dimen/set_wallpaper_button_vertical_padding" /> 28 <solid android:color="?android:colorControlHighlight" /> 29 </shape> 30 </item> 31 <item> 32 <shape 33 android:shape="rectangle"> 34 <corners android:radius="@dimen/set_wallpaper_button_corner_radius" /> 35 <solid android:color="@android:color/transparent"/> 36 <stroke 37 android:color="@color/system_primary" 38 android:width="1dp" /> 39 <padding 40 android:left="@dimen/set_wallpaper_button_horizontal_padding" 41 android:top="@dimen/set_wallpaper_button_vertical_padding" 42 android:right="@dimen/set_wallpaper_button_horizontal_padding" 43 android:bottom="@dimen/set_wallpaper_button_vertical_padding" /> 44 </shape> 45 </item> 46</ripple>