Hi,
Is there an easy way to have a CameraXViewfinder that match (and fit) the surface requested ?
I tried to divide surface's width by height and using it as aspect ratio modifier, but it only works in landscape. Since CameraXViewfinder has a fillMaxSize, setting width modifier with IntrinsicSize doesn't work either.
Thanks.