Files
frameworks_base/packages/SystemUI/res/drawable/control_background_ripple.xml
Fabian Kozynski aa1e548bd5 Make favorite star not clickable
The clickable element to change favorite state is the whole tile.

Also, fix ripple rounded corners.

Test: manual
Fixes: 152932469

Change-Id: I4f018c96018684093af738a570733129f3b974f8
2020-04-02 15:59:48 -04:00

26 lines
1.1 KiB
XML

<!--
~ Copyright (C) 2020 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.
-->
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?android:attr/colorControlHighlight">
<item android:id="@android:id/mask">
<shape android:shape="rectangle">
<solid android:color="@android:color/white" />
<corners android:radius="@dimen/control_corner_radius" />
</shape>
</item>
<item android:drawable="@drawable/control_background" />
</ripple>