I have an image in a grid layout but on comparing the actual image with the 开发者_C百科image on emulator, it comes out that the image on emulator has compressed to fit into the image .How can this be avoided so that the image retains its actual resolution and aspect ratio?
To maintain the aspect ratio of your source, set the Image.Stretch property to Uniform.
精彩评论