Folks,
I'm adding a gallery feature to my app.
When a user clicks on a thumbnail of a photo, it should then show the photo Fullscreen or as Fullscreen as possible,
Is there a simple method to keep an image's Height and Width proportionate, but use as much space on the phone's screen as possible, without doing a bunch of calculations?
Just using 100%x and 100%y, won't work, because the image may become distorted, especially if the photo was taken in Landscape mode and you view it in Portrait mode.
Cheers,
Sterling
I'm adding a gallery feature to my app.
When a user clicks on a thumbnail of a photo, it should then show the photo Fullscreen or as Fullscreen as possible,
Is there a simple method to keep an image's Height and Width proportionate, but use as much space on the phone's screen as possible, without doing a bunch of calculations?
Just using 100%x and 100%y, won't work, because the image may become distorted, especially if the photo was taken in Landscape mode and you view it in Portrait mode.
Cheers,
Sterling