c# - Image is not rendering -
i trying display local image in xamarin.forms app, reason can not see it. saved hawk.jpg
under assets/
in core project , in android project under ressource/drawable/assets
.
this how seek display image
new image { source = "assets/hawk.jpg", aspect = xamarin.forms.aspect.aspectfill, widthrequest = 200, heightrequest = 200 }
remove assets/ source, should resolve issue. create sure image marked resource in xamarin project(right click image , under file type).
c# xamarin
No comments:
Post a Comment