如何生成圆角方形启动器图标 android

How to generate rounded square launcher icon android

我尝试为我的 android 项目生成新的启动器图标。我正在使用 png 图标 512x512 并通过 Android Studio 我正在将其转换为新建->图像资产->(启动器图标自适应和旧版)。它生成图标,但圆角正方形的半径大小小于 7 个月前我第一次生成它时的大小。如何使图标角的半径更大?还是 android 的新默认图标?谢谢。

512x512 尺寸对于启动器图标来说太大了。将其设为 108x108px 并由 illustrator 将其保存为 svg。确保您的徽标位于 66x66 像素的安全区域内。

你可以试试这个工具...

A collection of tools to easily generate assets such as launcher icons for your Android app.

使用它可以为启动器生成圆形图标。

https://jgilfelt.github.io/AndroidAssetStudio/icons-launcher.html#foreground.space.trim=1&foreground.space.pad=0&foreColor=E8EAF6%2C0&crop=0&backgroundShape=square&backColor=3F51B5%2C100&effects=none&elevate=0

您可以使用以下链接生成圆角图标。

makeappicon.com

thomasfinch.me

Android Asset Studio

通过 Android Studio

生成图标

右键单击应用 > 转到图像资源 > 选择图标类型和其他属性 > 单击下一步并完成。

在这里您可以生成所有图标形状并轻松替换为新的。如果您选择图标类型作为自适应和传统,它将生成方形和圆形。并在完成这些步骤后替换为现有图标。

通过在线生成