Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 12 Splash screen icon

I want to use new Android 12 API for Splash Screen, but if I use my drawable icon inside theme for parameter windowSplashScreenAnimatedIcon, its stretched. How can I adjust size of that icon? My icon is not vector. I have to use png file.

like image 984
martin1337 Avatar asked Apr 26 '26 03:04

martin1337


1 Answers

Likely, you have to follow the Splash Screen dimensions. Google says:

  • App icon with an icon background: This should be 240×240 dp, and fit within a circle of 160 dp in diameter.
  • App icon without an icon background: This should be 288×288 dp, and fit within a circle of 192 dp in diameter.

enter image description here

like image 123
sergpetrov Avatar answered Apr 28 '26 15:04

sergpetrov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!