How can i add padding vector file in android

后端 未结 3 558
盖世英雄少女心
盖世英雄少女心 2021-02-01 01:30

How can i add paddingleft,Right,Top and bottom veriable in my vector file.

I changed

android:viewportWidth

and

3条回答
  •  青春惊慌失措
    2021-02-01 02:02

    Well scaleX and ScaleY works, but I found it difficult to align via android:pivotX and android:pivotY, so this is what I did:

    Create a new xml drawable file, like this:

    
        
    
    

提交回复
热议问题