Xamarin Forms image not showing

后端 未结 5 1384
孤街浪徒
孤街浪徒 2020-12-18 22:11

I have a Xamarin Forms (2.0) Android app where I\'m trying to show an image. I\'ve got an icon called icon-pages-r1.png which I\'m trying to show using the foll

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-18 22:59

    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.

提交回复
热议问题