Rudrabhoj Bhati Posted January 1, 2016 Share Posted January 1, 2016 I want to show the turn your device message when user is on the portrait mode in canvas, if adopting to major aspect raitios isn't an issue, is there any other reason not to use use EXACT_FIT scale mode? Link to comment Share on other sites More sharing options...
Noid Posted January 1, 2016 Share Posted January 1, 2016 EXACT_FIT will stretch/squash the image if you scale to a different aspect ratio. You could also implement your own "fit best" scaling function that scales the image uniformly until it fits the width or height of the screen(whichever generates less cropping). Link to comment Share on other sites More sharing options...
Recommended Posts