in the drawable folder create your own initial_screen.xml file
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape> <solid android:color="@color/colorBlack" /> </shape> </item> <item android:drawable="@mipmap/ic_launcher_foreground" android:height="150dp" android:width="150dp" android:gravity="center" /> </layer-list>
then add this to your style
<item name="android:windowBackground">@drawable/starting_screen</item>
Now a black screen with a launch icon will appear every time the application starts
derfect Jan 29 '19 at 10:29 2019-01-29 10:29
source share