Set image with rounded corners into ImageView

后端 未结 3 1483
南旧
南旧 2021-01-16 22:20

I have a ListView with contact images and names or numbers. Now I want to round the corners of this contact image.

public View getView(final int         


        
3条回答
  •  我在风中等你
    2021-01-16 22:47

    Dude here is the solution..

    https://github.com/MostafaGazar/CustomShapeImageView For more detail https://coderwall.com/p/hmzf4w

    Use this library u will find the circular shape in this library and also easy use.

    U can also make your custom shape to this library like cloud etc. this library supports SVG file format and they made the SVG file of Rounded corner Imageview.

    Just use and let me know if there is any problem

提交回复
热议问题