Oval shape clipped when created programmatically

后端 未结 5 1944
逝去的感伤
逝去的感伤 2020-12-31 21:16

I\'ve got a clipping problem.

First, I tried to display an oval shape with Xml only. I had the following code:

res/drawable/circle.xml



        
5条回答
  •  孤城傲影
    2020-12-31 22:12

    I had the same clipping issue and this simple configuration gave me the appearance I needed without any clipping:

    redring.xml

    
    
        
        
    
    

    usage:

    
    

提交回复
热议问题