How to add a splash screen to your Android app in five steps
Adding a splash screen to your app can be done in a five-step process Add a background_color.xml <?xml version=”1.0″ encoding=”utf-8″?> <shape xmlns:android=”http://schemas.android.com/apk/res/android” android:shape=”rectangle”> <solid android:color=”@color/black” /> </shape> Add splashscreen.xml <?xml version=”1.0″ encoding=”utf-8″?> <layer-list xmlns:android=”http://schemas.android.com/apk/res/android”> <item android:drawable=”@drawable/background_color”/> <item> <bitmap android:gravity=”center” android:src=”@drawable/prestissimo_logo_green”/> </item> </layer-list> Add themes.xml <style name=”SplashTheme” parent=”Theme.MaterialComponents.Light.NoActionBar”> <item name=”android:windowBackground”>@drawable/splashscreen</item> <item name=”android:statusBarColor”>@color/pg_green</item> </style> Add new activity:…