I needed to do this today and I had to search a lot before I found the right article that explained it so I decided to share it.
If you need to put an image in your application and you want it to stretch/shrink to the size of the Image component, just change the image's 'maintainAspectRatio' property to false.
You can see the article where I learned this along with an explanation here.
3 comments:
Thanks this saved me some time
Thanks. Exactly what I was looking for
Perfect!
Post a Comment