There is a png-picture, from it I try to make icons for displaying notifications. I tried two options:

1) Through the studio, right-click on resources-> new-> new image asset 2) And an option on this site . In essence, the same thing.

In both cases, this is the result, i.e. absolutely empty icons, although the parent image displays the logo. Who faced this?

    2 answers 2

    According to the guidelines, the notification icons should be a white image on a transparent background: http://developer.android.com/intl/ru/design/patterns/notifications.html

    Right

    Aim for visual simplicity of icons, avoid unnecessary details that are hard to see.

    Wrong

    To make your application different from others, use color.

    Yes, not very nice. But it’s also not particularly pleasant to look at the small color details on small icons, so on the one hand, they did it even correctly.

    • That helped. Thank you - Android Android

    No, this did not happen, but I have an idea because of what it is. Both 1 and 2 options, when creating an icon for notifications, use a filter to render, taking into account the wishes of google. As written above - white color.

    Everything that happens in essence, your png is completely repainted by this filter, which means the problem is in the png itself. There are several cool lessons on the site devbytes, how to prepare the icon for further use.

    As for the reason for this, in my opinion there are two obvious options: Your png does not have a transparent background or the alpha channel is weakly expressed (it has a shadow, or a fill). In fact, he repaints your icon.

    • one
      Yes something like that. All that did not have transparency, was smeared with a white layer and that was all. - Android Android