I share a code for those who need it, the code used to draw SurfaceView for camera, consisting of a transparent rectangle on transparent background with optional alpha.