My app uses a camera surface view layout with a size of 150 X 150. I need to show the surface corner is arc type. how to set the corner in camera.
After more search i try to write code with cardView it worked for me .
Add dependencies :
implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.cardview:cardview:1.0.0'
Add code to xml :