Android Vector Asset Studio gives extra padding to some vector images

后端 未结 4 1183
无人共我
无人共我 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:20

    This padding is on some icons so that all of the icons can align properly. For example, if in that dialog, you pick ic_3d_rotation_24dp, you'll see the icon goes all the way to the edge of the bounds.

    PS if you aim to have all your sizes be a multiple of 8dp, things will line up nicely and look great.

提交回复
热议问题