Original theme broken with API Splashscreen Android 12 (only MainActivity)
I added the new Splashscreen API (androidx.core
core splashscreen1.0.0-rc01) on my app, after that my margins/paddings are broken but only for my launcher activity (MainActivity) especially for alert dialogs opened from this activity. In other activities, no problem, everything is working fine.
Below, my alertdialog without the Splashscreen implemented, my paddings/margins are OK :
https://i.stack.imgur.com/PJPN8.png▾
And now with Splashscreen...