操作栏和通知无效的Android图标生成器(灰色形状) [英] Android icon generator for actionbar and notification not working (grey shape)

查看:243
本文介绍了操作栏和通知无效的Android图标生成器(灰色形状)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现这个 Asset Studio 可以生成图标。它适用于启动器图标,但对于操作栏或通知图标,它无法正常工作。我输入了我的png文件并想生成图标,但Asset Studio只生成灰色圆圈。还有其他工具可以生成操作栏和通知图标吗?

I found this Asset Studio to generate icons. It works fine for the launcher icon but for action bar or notification icons it is not working. I put in my png file and want to generate the icons, but Asset Studio is only generating gray circles. Is there another tool to generate action bar and notification icons?

推荐答案

您可以使用工具在Asset Studio中创建通用图标:https://romannurik.github.io/AndroidAssetStudio/icons-generic.html
为了让它看起来像ActionBar Icon,你应该做下一步行动:

You can use a tool for creating generic icons in Asset Studio: https://romannurik.github.io/AndroidAssetStudio/icons-generic.html. To get it look like ActionBar Icon, you should make next actions:


  1. 选择图片

  2. 图片大小应保持在24dip

  3. 将填充更改为4dip

  4. 将前景色拇指移至0%

  5. 就是这样!立即下载.zip。

  1. Choose image
  2. The size of image should stay at 24dip
  3. Change padding to 4dip
  4. Move foreground color thumb to 0%
  5. That's it! Download .zip now.

图标的大小与使用ActionBar图标生成器获得的图标大小相同。

The sizes of icons will be pretty the same as you can get them with ActionBar Icon Generator.

它如何找我:

How it looks for me:

这篇关于操作栏和通知无效的Android图标生成器(灰色形状)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆