I am using camera2 api but some users reported me that preview screen stretch out objects. I see at example that we set preview size 1920x1080 but at some smartphones is not suitable. I have searched at stackoverflow, many users have same problem.
This solution is no longer available cause different api.