VectorDrawable is not center aligned

后端 未结 5 1384
鱼传尺愫
鱼传尺愫 2021-02-04 09:31

I\'ve created a VectorDrawable file with the path data i had. But the issue is that image is not aligning at the centre of the total area and instead it\'s created as top-left a

5条回答
  •  梦毁少年i
    2021-02-04 09:54

    I had the same issue. I just altered the width, height, viewportWidth, and viewportHeight to this:

    
    
    
    
    
    

提交回复
热议问题