of creating another activity for just a splash screen... I've created
• a drawable for window background,
• splash style in themes.xml,
• set the default theme of the launch activity in manifest file as splash screen style,
• and then before calling the super.onCreate() i called setTheme(appTheme).
So basically while the android gets the resources, the splash screen is displayed xD...
I think this is the best way to create a basic splash screen? Any ideas?
Best way as far as I know. Also there is knew Splash Screen API in Android 12. But don't know about backward comparability as of now
Обсуждают сегодня