ImageButton does not show the icon on Android in custom control but replacing it with Image control does #17762
Labels
area-controls-button
Button, ImageButton
area-controls-image
Image control
platform/android 🤖
t/bug
Something isn't working
Milestone
Description
I have a custom control, when I try to show an icon in it which is an SVG (I am using .png extension) the ImageButton control fails to show that icon whereas when I replace the same with an Image control everything works.
Find the screenshots below:
Steps to Reproduce
Go to the below repro link and run it, the control you are looking for is called
FreakyPinCodeControl
You just need to run this specific branch and it will be on your homescreen
Link to public reproduction project repository
https://github.com/FreakyAli/Maui.FreakyControls/tree/r4-gh/fix/pin-control
Version with bug
7.0.92
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android API-33
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: