Skip to content

fix: fix android: foreground bug - #19

Open
Eric-Jim-Lab wants to merge 1 commit into
allentown521:mainfrom
Eric-Jim-Lab:fix-cc-bug
Open

fix: fix android: foreground bug#19
Eric-Jim-Lab wants to merge 1 commit into
allentown521:mainfrom
Eric-Jim-Lab:fix-cc-bug

Conversation

@Eric-Jim-Lab

Copy link
Copy Markdown

We discovered a CC (Configuration Compatibility) Bug in your library. This issue is caused by the abnormal display of android:foreground in Android API levels below 23. As shown in the image below (To make the presentation more evident, we specifically chose an example during the image loading process), when the software runs on API level 22, clicking the image does not trigger any response, whereas when running on API level 23, the click effect appears as expected. The example shown below is just one sample; the other img_cover instances exhibit the same effect.
image

Our repair tool recommends replacing android:foreground with android:background to ensure compatibility with lower API levels. Furthermore, we have tested this fix on multiple higher API levels, and it has proven to be effective. Below is the result after applying the fix. Looking forward to your reply.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant