How to put ImageView in Xamarin.Android App which resizes itself depending on device screen size?

I have created an image with in Android Asset Studio and it gave me zip file containing folders: drawable-hdpi, drawable-mdpi, drawable-xhdpi, drawable-xxhdpi, drawable-xxxhdpi, each folder contains the png image with different proportions. I pasted these folders in Resources/drawable folder in my android project. Then I created:

But nothing displays on screen. In google there are a lot of examples but it seems they are for android with java because when I follow them using Xamarin.Android it's not working.

Sign In or Register to comment.