I was also facing similar issue, having installSplashScreen() before enableEdgeToEdge() solves the issue.