[英]White border around app icon on Android 10
I keep getting this white border on my app icon "App Name" - does anyone know how I can get my icon to look like eg the "Settings" or "Messages" app icon that doesn't have a white border?我的应用程序图标“应用程序名称”上不断出现这个白色边框 - 有谁知道我怎样才能让我的图标看起来像没有白色边框的“设置”或“消息”应用程序图标?
I have tried using the following filenames but these all seem to add a white border:我尝试使用以下文件名,但这些似乎都添加了白色边框:
Here's my app icon:这是我的应用程序图标:
Environment:环境:
Go to File -> New -> Image Asset.转到文件 -> 新建 -> 图像资源。 Then choose Launcher Icons as the Asset Type.
然后选择启动器图标作为资产类型。
Choose a High-res image for the Image file: Next -> Finish to generate icons.为图像文件选择高分辨率图像:下一步 -> 完成以生成图标。
Finally update android:icon
name field inside the AndroidManifest.xml
file, if required.如果需要,最后更新
AndroidManifest.xml
文件中的android:icon
名称字段。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.