If your activity runs in portrait mode but your SurfaceView has a 4:3 aspect ratio.. the resolution seems to be swapped ( and the image stretched ). For example instead of 640x480 you get 480x640 I tried to set ASPECT_RATIO_PREVIEW but it doesn't do anything, image is still stretched.
If your activity runs in portrait mode but your SurfaceView has a 4:3 aspect ratio.. the resolution seems to be swapped ( and the image stretched ). For example instead of 640x480 you get 480x640 I tried to set ASPECT_RATIO_PREVIEW but it doesn't do anything, image is still stretched.