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

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

问题描述

我发现这个 .要让它看起来像 ActionBar 图标,您应该进行下一步操作:

  1. 选择图片
  2. 图像大小应保持在 24dip
  3. 将填充更改为 4dip
  4. 将前景色拇指移动到 0%
  5. 就是这样!立即下载 .zip.

图标的大小将与您使用 ActionBar Icon Generator 获得的大小相同.

它对我的看法:

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?

解决方案

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. 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.

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天全站免登陆