ImageView rounded corners

后端 未结 17 1983
长发绾君心
长发绾君心 2020-11-27 15:33

I wanted image to have rounded corners. I implement this xml code and use this in my image view. but image overlap the shape. I am downloading the image through async task.<

17条回答
  •  离开以前
    2020-11-27 16:26

    found the easy way.. round imageview with user define radius:

    http://shortcutsandroid.blogspot.in/2015/02/round-image-view-in-android.html

    just add imageView.setRadius();

    //it will set radius for the round imageView.

提交回复
热议问题