Hello friends, in this post, we will see how to add circular ImageView in Android. Basically, you can think it as making an ImageView in the circular shape. All we need is just add the component in the XML file itself. Whenever you get a new project, there is a screen where you have to implement Circular ImageView. Either it will be in profile screen or within some listing. There are lot many libraries to customize your ImageView and make it rounded in android. Let us try one of them.
Making any image from ImageView to be circular with a border then try out the below code.
Go to app level Gradle, from your android studio, in your project and then add the below line.
Now where ever you want to add a circular imageview in the XML file, just copy paste the below code,
That’s all for the post, feel free to share your thoughts, in the comment section. Got any doubts then don’t hesitate to ask. Have a nice day 😉