Android Studio图像资产启动器图标背景色

问题描述:

我的应用程序有一个.png徽标,它没有背景,当我将其作为图像资产添加到android studio时,我被迫具有背景.十六进制字段不接受8位颜色代码,仅接受6位数字.无论如何,可以使背景不可见?

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 accept 8 digit color codes, 6 digits only. Is there anyway to keep the background invisible?

要使背景透明,请将shape设置为None. 参见下图:

To make background transparent, set shape as None. See the image below:

对于Android Studio 3.0, 您可以在Legacy标签

For Android Studio 3.0, you can set it from Legacy Tab