fix square corner in play/pause animation in cover Art (#8589)

### Description

Fixes a visual bug where the touch feedback (ripple animation) on the
cover art during play/pause actions extends beyond the image's rounded
corners, resulting in sharp, square edges bleeding over the layout.

closes #8538

### Checklist
<!-- 
To help us keep the issue tracker clean and work as efficient as
possible,
  please make sure that you have done all of the following.
You can tick the boxes below by placing an x inside the brackets like
this: [x]
-->
- [x] I have read the contribution guidelines:
https://github.com/AntennaPod/AntennaPod/blob/develop/CONTRIBUTING.md#submit-a-pull-request
- [x] I have performed a self-review of my code, going through my
changes line by line and carefully considering why this line change is
necessary
- [x] I have run the automated code checks using `./gradlew checkstyle
lint`
- [x] My code follows the style guidelines of the AntennaPod project:
https://antennapod.org/contribute/develop/app/code-style
- [x] I have mentioned the corresponding issue and the relevant keyword
(e.g., "Closes: #xy") in the description (see
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
- [x] If it is a core feature, I have added automated tests
This commit is contained in:
innoxfire
2026-07-13 21:21:13 +02:00
committed by GitHub
parent 69fe50099b
commit 11ab3c2331
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorControlHighlight">
<item android:id="@android:id/mask">
<shape android:shape="rectangle">
<solid android:color="#FFFFFF" />
<corners android:radius="16dp"/>
</shape>
</item>
</ripple>

View File

@ -22,7 +22,7 @@
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_marginHorizontal="32dp"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:foreground="@drawable/cover_fragment_ripple_border"
android:importantForAccessibility="no"
android:scaleType="fitCenter"
squareImageView:direction="minimum"