This gives you all the flexibility you’d ever need but it would still display the splash screen even when the app hot starts. The natural solution to this was using an Activity or Fragment to display your animated screen then navigating away after it’s done. But this lacks the flexibility of having animated splash screen and it was honestly kind of hard to make sure your your drawable scales properly throughout all API levels. Using the android:windowBackground attribute inside your theme is the basic form of a splash screen in Android where you would position an icon on the window background of your app and after the application loads it is covered by content. For years Android Devs have always resorted to using a windowBackground or Activity or Fragment for their splash screen.
0 Comments
Leave a Reply. |