Last active
May 30, 2022 14:39
-
-
Save molidev8/2c544a0ddee41287bae685d9f8362a3d to your computer and use it in GitHub Desktop.
A sample of the XML configuration to implement an animated splash screen with the core-splashscreen API on Android.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources xmlns:tools="http://schemas.android.com/tools"> | |
<style name="Theme.AppSplash" parent="Theme.SplashScreen"> | |
<item name="windowSplashScreenBackground">@color/white</item> | |
<item name="windowSplashScreenAnimatedIcon">@drawable/icon_animated</item> | |
<item name="windowSplashScreenAnimationDuration">1000</item> | |
<item name="postSplashScreenTheme">@style/Theme.SplashAPISample</item> | |
<item name="android:windowSplashScreenBrandingImage">@drawable/branding</item> | |
<!-- Status bar and Nav bar configs --> | |
<item name="android:statusBarColor" tools:targetApi="l">@color/white</item> | |
<item name="android:navigationBarColor">@color/white</item> | |
<item name="android:windowLightStatusBar">true</item> | |
</style> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment