Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Images not showing in Listview (Android)

$
0
0

Hi

I'm trying to create a simple listview that contains an image for the last couple of days. I have been through every example I can find online and tried everything. I have never managed to get the image to appear.

I've tried

  • Adding the images via Add -> Add existing item as well as manually copying the files into the directory
  • Using an image that does not contain underscores in the name
  • Tried the filename extension in both upper and lower case
  • Building the project as release
  • Changed the image Build Action from "AndroidResource" to "Content" - and back again
  • Changed the "Copy to Output Directory" to other options and back again
  • Tried cleaning & rebuilding all projects

I've probably tried other things too over the last couple of days, nothing I do seems to work.

Anyone any ideas? Picture included of my code / problem / file location etc

As you can see in the image, the blue ball image is not showing.

Thanks

Steve.


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>