In my application I am taking the image from the gallery and the shape of that image is in square I want to set that image to an imageView then it should be oval shape. I.e in my case I need to crop that image like human face. can anybody tell me how to do that thanks in advance.
Share
Use the following class instead of image view.
This will make the image radius by 10 px, you can give wat value you want and make it as the shape you want. Have a try.
All the best 🙂