Camera Preview Stretched on Few Android Devices
Using getOptimalPreviewSize() is important, but it does not resolve all stretching on all devices in all layouts. You must be prepared to crop the preview a little bit so that the preview fills the screen without distortion. There are different techniques to force the size of the surface different from the actual screen size, but … Read more