breautek commented on issue #1526:
URL: 
https://github.com/apache/cordova-android/issues/1526#issuecomment-1342900808

   2732x2732 appears to be extra large....
   
   For example...
   
   > App icon without an icon background: This should be 288×288 dp, and fit 
within a circle of 192 dp in diameter.
   
   Android docs says the splashscreen icon should be 288x288dp, where the 
center has a 192dp circle which is the safe are space for your actual icon. If 
you use outside of that circle, it may end up clipping.
   
   DP baseline is mdpi density. So mdpi is 1x. So all of these units are 
treated as pixel units assuming the density is mdpi. You can see the density 
scale 
[here](https://developer.android.com/training/multiscreen/screendensities).
   
   xxxhdpi, the largest density is x4. So if you wanted to support the largest 
density in the crisp manner,  288 x 4 = 1152, so your image I think should be 
1152x1152 pixels, with 768px diameter circle in the center being the safe area 
for your icon. In otherwords, at center point 576,576, you have a 384px radius 
of space that can be used for your icon.
   
   Let me know if this helps...
   
   **However**, honestly I'm using a 2667x2667 PNG image and that **appears** 
to be okay across different devices, so I'm not even following my own advice 
here.


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

Reply via email to