For the Nexus4 the optimalPreviewSize returned is height: 720 widht: 1280
The screen size is: height: 384 width: 590. devicePixelRatio is 2
The aspect ratios don't match and there are black bands on both sizes. The preview looks streched