Fliping Drawable Image in Vector Drawable

后端 未结 1 1666
花落未央
花落未央 2021-01-07 18:34

I have found this vector drawable resource here. What I would like to do is flip it so the X is on the other side.

I managed to do this in the layo

1条回答
  •  情深已故
    2021-01-07 18:53

    You were almost doing it, just with the wrong pivot point.

    It needs to flip around the centre of the image, so looking at the viewport the full width is 24, so the pivot point needs to be at 12.

    
    
        
    
            
        
    
    

    0 讨论(0)
提交回复
热议问题