本文介绍了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
这篇关于Android Studio图像资产启动器图标背景色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!