In CrimeCameraFragment add getBestSupportedSize and in surfaceChanged call it.