Re: [w3c/manifest] custom padding for maskable icons (#805)

> One thing to consider: is the Chrome WebAPK implementation placing the maskable icon in the foreground or background image that Android needs? It's supposed to be placed in the background, but perhaps it's being put in the foreground. My understanding was that the background image does not parallax when dragged on Android, only the foreground image is translated relative to the mask. So if placed in the background, you should never see the black area:

Good point. Up until now, I have been placing the maskable icon in the foreground. I tried moving the maskable icon into the background instead, with a transparent foreground. This appears to solve the issue on Pixel Launcher, but it looks like Nova Launcher moves both layers at different rates, so it is still possible to see the outer border on the background image.

According to Android documentation (https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive), "Note: Animated visual effects are generated by supported launchers. Visual effects may vary from one launcher to another." So it sounds like it's left pretty open for alternative launchers are to do whatever they want.

-- 
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/805#issuecomment-538430241

Received on Friday, 4 October 2019 14:51:59 UTC