Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageButton does not show the icon on Android in custom control but replacing it with Image control does #17762

Closed
FreakyAli opened this issue Oct 1, 2023 · 2 comments
Labels
area-controls-button Button, ImageButton area-controls-image Image control platform/android 🤖 t/bug Something isn't working
Milestone

Comments

@FreakyAli
Copy link

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:

Image ImageButton

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

@FreakyAli FreakyAli added the t/bug Something isn't working label Oct 1, 2023
@jsuarezruiz jsuarezruiz added the area-controls-button Button, ImageButton label Oct 2, 2023
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Oct 2, 2023
@jsuarezruiz jsuarezruiz added platform/android 🤖 area-controls-image Image control and removed legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor labels Oct 2, 2023
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Oct 2, 2023
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Oct 2, 2023
@ghost
Copy link

ghost commented Oct 2, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@FreakyAli
Copy link
Author

Just checked this with .NET 8 and things are working fine, Closing this!

@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-button Button, ImageButton area-controls-image Image control platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants