ImageView in circular through xml

前端 未结 27 1291
死守一世寂寞
死守一世寂寞 2020-11-22 10:35

I\'d Like to make any image from my ImageView to be circular with a border.

I searched but couldn\'t find any useful information (anything that I tried

27条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-22 10:56

    I did it like that, I used my background color in my vector image

    ic_bg_picture.xml

     
      
    
    

    in my case I created a vector and changed the android:fillColor="#6200EE"

    by the color of my background

      
    
    
    

提交回复
热议问题