Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 18.104.22.168 release ready!
Android 12 introduces the SplashScreen API by which enables a new app launch animation.
Implementation in android app
We should follow the below points at the time of implementing SplashScreen:-
Note:- The splash screen animation mechanics consist of entering and exit animations.
Enter animationThe enter animation contains the android OS view to the splash screen. The android OS control it and is not customizable.
Exit animationThe exit animation contains the animation run that hides the splash screen. If we want to customize it, we should have access to SplashScreenView.
More about SplashScreenView:-https://developer.android.com/reference/android/window/SplashScreenView
Customize the splash screen
For customizing the SplashScreen
If we are already using attributes like android:windowBackground, then subsequently we can also use an alternate resource file for Android 12.
When the app draws the first frame, the splashscreen will disappear. If we need to load a small amount of data from a local disk asynchronously, we can use ViewTreeObserver.OnPreDrawListener to suspend the app to draw its first frame.
Please go through the below links for getting more detail on Android 12 SplashScreen API:-
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.