Android - rotate cuts off corners of shape

后端 未结 3 1753
被撕碎了的回忆
被撕碎了的回忆 2021-01-11 12:02

I wish to make a diamond as a resource file so I am rotating a square in order to do so. The problem is that the corners seem to be getting cut off, making a hexagon instead

3条回答
  •  旧时难觅i
    2021-01-11 12:55

    I am searching for rotate the square this help

    
    
        
            
                 
                     
                     
                     
                     
                 
             
         
    
    

    But I follow some ratio relationship for height and width 90dp and item top ,bottom,left ,right are 20dpenter image description here

提交回复
热议问题