Android Vector Asset Studio gives extra padding to some vector images

后端 未结 4 1072
无人共我
无人共我 2021-01-04 02:06

I\'m trying to import some icons from Material Vector package in Vector Asset Studio.

But they come with padding.

Why does this happen and how can I

4条回答
  •  情话喂你
    2021-01-04 02:31

    You are able to scale a vector that will remove additional space. This is possible using group tag. Just modify your vector xml file.

    From

    
    
        
    
    

    to

    
    
        
    
            
        
    
    

    As result

提交回复
热议问题