Xamarin cross platform UWP images are missing

喜你入骨 提交于 2019-12-25 07:31:42

问题


I am working on Xamarin cross platform project where if I placed the images inside the sub folder it is not loading on the screen.

Please refer my code and folder structure along with properties


回答1:


Put your Images folder under Assets Folder like this:

Assets/Images/*.png

and if you are using Localizing make like this:

Assets/Images/en/*.png
Assets/Images/another language/*.png

for more information you can check this Working with Images i hope that answer you question.



来源:https://stackoverflow.com/questions/37939758/xamarin-cross-platform-uwp-images-are-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!