breautek commented on issue #1523: URL: https://github.com/apache/cordova-android/issues/1523#issuecomment-1336430388
> I have found out the resolution for the png icon. 200x80dp is needed. https://developer.android.com/guide/topics/ui/splash-screen#splash_screen_dimensions Yup, so you'll scale that to the largest dpi you intend to support. I forget the individual scales but if xxxhdpi is 4x, then you multiply the resolution by 4 to get your pixel resolution that the image should be at. DP base scale is mdpi, so mdpi scale is effectively x1. If you don't scale the DP value, you'll get a fuzzy/blurry image on larger resolution devices. For reference, the icon we've been using at my work is a 2667x2667 PNG  Not the entire space is usable, about 30% around the edges are consumed by a mask and won't be visible in the end-product. The actual icon itself consumes most of the usable screen space, which you could visualise by drawing a circle around the bounds of the icon. Different devices appear to scale down as appropriate, so even if they are using a larger resolution than intended, it still appears to work. It will be more efficient to utilise actual vectors (but not an adaptive icon), but you'll likely need to require minimum API 24 to use a vector image. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
