Thursday , August 16 2018
Home / Android / How To Make Circular Imageview In Android

How To Make Circular Imageview In Android

In this tutorial we are going to learn to make circular ImageView in android. The default ImageView in android is rectangle so there are situations where we will like to create a circular ImageView in android.

In this tutorial we will create a custom class to round a Imageview. And you have to use the package name of this class in your xml file instead of simple Imageview.

1) Fistly we have to make a custom class which extends with Imageview class

2) To use it in XML, simply do it like this:

 

About admin

Check Also

Android Activity Launch Modes

Launch mode is an instruction for Android OS which specifies how the activity should be ...

Leave a Reply