UNPKG

react-native-bootsplash

Version:

Display a bootsplash on your app starts. Hide it when you want.

45 lines (36 loc) 1.88 kB
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="BootSplashNoAnimation"> <item name="android:windowEnterAnimation">@null</item> <item name="android:windowExitAnimation">@null</item> </style> <style name="BootSplashFadeOutAnimation"> <item name="android:windowEnterAnimation">@null</item> <item name="android:windowExitAnimation">@anim/bootsplash_fade_out</item> </style> <style name="Theme.BootSplash.DayNight" parent="Theme.AppCompat.DayNight.NoActionBar"> </style> <style name="Theme.BootSplash.Base" parent="Theme.BootSplash.DayNight"> <item name="darkContentBarsStyle">true</item> </style> <style name="Theme.BootSplash.Common" parent="Theme.BootSplash.Base"> <item name="android:opacity">opaque</item> <item name="android:windowBackground">@drawable/compat_splash_screen</item> <item name="bootSplashBrand">@drawable/transparent_pixel</item> </style> <style name="Theme.BootSplash" parent="Theme.BootSplash.Common"> <item name="bootSplashBackground">?android:colorBackground</item> <item name="bootSplashLogo">@android:drawable/sym_def_app_icon</item> <item name="postBootSplashTheme">?android:attr/theme</item> </style> <style name="Theme.BootSplash.TransparentStatus" parent="Theme.BootSplash"> </style> <style name="Theme.BootSplash.EdgeToEdge.Common" parent="Theme.BootSplash"> <item name="android:fitsSystemWindows">false</item> <item name="android:windowDrawsSystemBarBackgrounds">true</item> </style> <style name="Theme.BootSplash.EdgeToEdge" parent="Theme.BootSplash.EdgeToEdge.Common"> <item name="android:statusBarColor">@color/systemBarDarkScrim</item> <item name="android:navigationBarColor">@color/systemBarDarkScrim</item> </style> </resources>