Assigned
Status Update
Comments
ne...@gmail.com <ne...@gmail.com> #2
Hey hughesno1@, when do you add the onPreDrawListener to delay the rendering of activity? Mind providing us with a sample application?
No update yet.
Hey hughesno1@, when do you add the onPreDrawListener to delay the rendering of activity? Mind providing us with a sample application?
Description
super.onCreate(savedInstanceState)
if (Build.VERSION.SDK_INT>=Build.VERSION_CODES.S){
setTheme(R.style.Theme_OfficeNet_Starting)
} else{
setTheme(R.style.Theme_OfficeNet)
}
But this is causing issue as It leave a blank screen for sometime,and even the splashscreen is not using correct behaviour for as defined in the theme as
<style name="Theme.OfficeNet.Starting" parent="Theme.SplashScreen">
<!--set the splash screen background , animated icon and animation duration-->
<item name="windowSplashScreenBackground">@color/base_color</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/animated_logo</item>
<item name="windowSplashScreenAnimationDuration">1500</item>
<item name="postSplashScreenTheme">@style/Theme.OfficeNet</item>
</style>
this defines the background color as my app which is #433d82 but it is coming white I will share the behaviours with the you. and kindly check with the video for the issue that has been recorded in the video once is for device lower then android version 12 and other is for android version greater of 12 i.e 13.