Timeline for Xamarin Forms Image/Embedded Image Problems
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 2, 2017 at 20:03 | vote | accept | jf974 | ||
Jun 2, 2017 at 20:03 | comment | added | jf974 | Yes, thank you, just using the Source="logo.png", after moving the image to the project specific folder, worked. Thank you! | |
Jun 2, 2017 at 19:40 | history | edited | mac10688 | CC BY-SA 3.0 |
More examples
|
Jun 2, 2017 at 19:38 | comment | added | mac10688 | I don't know about all the local:ImageResource. I didn't use that. And in your code above, I don't know what the ImageResourceExtension is for. I don't think that method is necessary. | |
Jun 2, 2017 at 19:37 | comment | added | mac10688 | When you refer to the image in xamarin forms, just refer to it was logo.png | |
Jun 2, 2017 at 19:36 | comment | added | mac10688 | I'm not sure what you are referring to. Here is a link to the exact section that explains it. I used this same page for my code as well. developer.xamarin.com/guides/xamarin-forms/user-interface/… | |
Jun 2, 2017 at 19:34 | comment | added | jf974 | I took most of my code from the Embedded Images section of the link you provided. From that section of the page, the images appear to be the project level, not at an individual project level. However, I moved the image to the Android/Resources/Drawable folder, set it to AndroidResources, and still do not get an image to display. I used both: <Image Source="{local:ImageResource XF0003.Android.Resources.Drawable.logo.png}" /> and <Image Source=" XF0003.Android.Resources.Drawable.logo.png" />. Neither one showed the image. | |
Jun 2, 2017 at 19:06 | history | answered | mac10688 | CC BY-SA 3.0 |