ImageView rounded corners

后端 未结 17 2047
长发绾君心
长发绾君心 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:24

    • May be you have found your solution but recently i found new library which allows you to create any many shape you want to set to the Image VIew.

      • Download the library from here
      • Define your Xml as :-
      • And enjoy the coding.! this library i found is the best! thanks [I posted this answer later on but i recently used it and found it realy helpful]

提交回复
热议问题