Android Studio Image Asset Launcher Icon Background Color

前端 未结 10 1607
无人及你
无人及你 2020-11-30 23:26

I have a .png logo for my app which doesn\'t have a background, when I add it to android studio as an Image Asset I am forced to have a background. The hex field doesn\'t ac

10条回答
  •  佛祖请我去吃肉
    2020-12-01 00:25

    Using android 3.0.1 I noticed this weird behavior(solution), First: in background layer in the source_asset change the asset_type from image to color and than change it back to image. second: enable trim in scaling and then resize it to a small percentage and it will work perfectly. PS: If u didn't do the first step the scaling wont take affect. and if anyone have an explanation for this please provide. steps

提交回复
热议问题