Android App Development
iOS 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 188.8.131.52 release ready!
Owner and Founder. Opencart
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.
All communication is done through a ticket system. I appreciate the regular almost daily updates of what is being worked on, and communicating changes or updates is easy through this system. Mobikul's response timeframe is quick.
Owner, Shop ATV Escape
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.