Xamarin Forms image not showing Xamarin Forms image not showing android android

Xamarin Forms image not showing


You can't use hyphens in image names for Xamarin Android. Get rid of the hyphens (in both the file name and the Image reference) and you'll be set.


For others who may end up here...

Make sure the image file is actually a part of the project (Resources\drawable) and that the build action is AndroidResource.


When binding to the name of an image resource in android I found it must be:

  • in Resources/Drawable folder
  • set Build Action: AndroidResource
  • set Copy to Output: Do not copy
  • doesn't allow hyphens in name
  • name is case sensitive