Check Mobile App
Read now
Start a Project

ShapeableImageView – Material Components

Save

Material Components have sufficient attributes to customize as per need. We don’t need a third-party library or make a custom view for the circle image view.

In this blog, we will make a circle image view with the help of Material ShapeableImageView. By using ShapeableImageView, you can change the shape of your image to circle, diamond, etc. Also, you can set a corner radius to your image view.

Step 1: Add Material Dependency

Step 2: Add ShapeableImageView in your XML layout.

Step 3: Add circle image style in file styles.xml.

Finally, You will get a circle ImageView.

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

The support is fast and do everything in their power to make it perfect. If you need customization it's also done right away. I had massive research to select Mobikul and now I'm sure it was the right one.

Igor Souza

Igor Souza

Talk to Sales

Global

Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home