Re: [w3c/manifest] Icon shapes and masking (#555)

Android currently has "android:icon" and "android:roundIcon" as resources.

> When a launcher requests an app icon, the framework returns either android:icon or android:roundIcon, depending on the device build configuration.

I am not even sure if developers can create special icons for the samsung launcher, but if they can they probably have an entry like that, say "samsung:icon" or similar.

The round icons on Android are roundish and not actually always 100% round, just check Allo and Duo icons.

Also, the icons can be vastly different when round and cannot be created with just a filter:

![id183343_1](https://cloud.githubusercontent.com/assets/1101339/23020797/0d2e8c8a-f449-11e6-880c-94a5b558b254.jpg)

I think that Android should just support

```
"platform": "android:icon"
"platform": "android:roundIcon"
```

As Android (or versions of Android like Samsung) can add new values in the Android system itself, that would probably be flexible enough.

Also, keep in mind that Pixel phones don't enforce that all icons are round and will fall back to "android:icon" as these icons will look much better than a not optimized round icon.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/555#issuecomment-280314518

Received on Thursday, 16 February 2017 12:22:58 UTC