更改颤动应用程序图标的背景颜色

uc

我想将背景图标更改为#fe6017我使用flutter_launcher_icons,设置adaptive_icon_background: "#fe6017"但这是行不通的。我也尝试调整图像大小。但是它总是会缩小并white在我的图像周围变色。谢谢。

在此处输入图片说明

地下飞机
  1. android在Android Studio中打开文件夹。

  2. 右键单击res文件夹,然后选择“新建”>“图像资产”。

  3. 在“图标类型”字段中,选择“启动器图标(自适应和旧版)”。

  4. 在“前景层”选项卡中,选择“资产类型”,然后在下面的字段中指定资产:

  • 选择“图像”以指定图像文件的路径。*选择剪贴画从材质设计图标集中指定图像。*选择“文本”以指定文本字符串并选择一种字体。
  1. In the Background Layer tab, select an Asset Type, and then specify the asset in the field underneath. You can either select a color or specify an image to use as the background layer.
  2. In the Legacy tab, review the default settings and confirm you want to generate legacy, round, and Google Play Store icons.
  3. Optionally change the name and display settings for each of the Foreground Layer and Background Layer tabs:
  • Name - If you don't want to use the default name, type a new name. If that resource name already exists in the project, as indicated by an error at the bottom of the wizard, it's overwritten. The name can contain lowercase characters, underscores, and digits only.

  • Trim - To adjust the margin between the icon graphic and border in the source asset, select Yes. This operation removes transparent space, while preserving the aspect ratio. To leave the source asset unchanged, select No.

  • Color - To change the color for a Clip Art or Text icon, click the field. In the Select Color dialog, specify a color and then click Choose. The new value appears in the field.

  • Resize - Use the slider to specify a scaling factor in percent to resize an Image, Clip Art, or Text icon. This control is disabled for the background layer when you specify a Color asset type. Click Next.

  1. (可选)更改资源目录:选择要在其中添加映像资产的资源源集:src / main / res,src / debug / res,src / release / res或自定义源集。主要源代码集适用于所有构建变体,包括调试和发行。调试和发布源集将覆盖主要源集,并应用于构建的一个版本。调试源集仅用于调试。要定义新的源集,请选择“文件”>“项目结构”>“ app”>“构建类型”。例如,您可以定义一个beta源集并创建图标的版本,该图标的右下角包含文本“ BETA”。有关更多信息,请参见配置内部版本。单击完成。Image Asset Studio将不同密度的图像添加到mipmap文件夹中。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Windows Phone 8应用程序-如何更改时钟和顶部栏图标的颜色

来自分类Dev

Oracle Apex 19.2如何在登录页面上更改应用程序图标的颜色

来自分类Dev

如何更改Windows Phone应用程序栏图标的颜色?

来自分类Dev

在查看后台运行的应用程序时显示的颤动更改图标

来自分类Dev

在应用程序委托中更改背景颜色

来自分类Dev

更改ViewController Swift的背景颜色?(单视图应用程序)

来自分类Dev

是否可以更改iOS应用程序的黑色“背景颜色”?

来自分类Dev

更改Windows Phone 8应用程序的背景颜色

来自分类Dev

Chrome应用程序<webview>标签无法更改背景颜色

来自分类Dev

如何更改应用程序背景的标题颜色?

来自分类Dev

Kotlin Android - 更改应用程序启动背景颜色

来自分类Dev

如何更改整个应用程序的背景颜色?

来自分类Dev

更改应用程序图标

来自分类Dev

使用背景图像更改悬停图标的颜色

来自分类Dev

活动图标的背景颜色?

来自分类Dev

如何更改Flutter应用默认图标的背景?

来自分类Dev

更改菜单图标的颜色

来自分类Dev

通知图标应用程序背景android

来自分类Dev

在真实设备上运行时,Android应用程序图标背景颜色不同

来自分类Dev

自适应应用程序搜索中图标的来源?

来自分类Dev

ios应用程序图标的边距

来自分类Dev

Ubuntu应用程序图标的默认大小是多少?

来自分类Dev

应用程序和文件夹图标的出现

来自分类Dev

如何在Unity面板上更改应用程序的颜色/图标?

来自分类Dev

如何设置/更改应用程序图标?

来自分类Dev

如何更改应用程序图标

来自分类Dev

更改F#应用程序图标

来自分类Dev

如何更改Facebook应用程序图标

来自分类Dev

处理-更改默认应用程序图标

Related 相关文章

热门标签

归档