Fixed
Status Update
Comments
ca...@google.com <ca...@google.com> #2
The splash screen is dismissed as soon as the app is drawn and doesn't wait for the animation to finish which might be the reason why the animation doesn't repeat.
At most, the icon will animate for the value set in windowSplashScreenAnimationDuration
.
If that's not the case, can you please share your theme values and icon file? or at least a reproduction sample?
ca...@google.com <ca...@google.com> #3
windowSplashScreenAnimationDuration is set 10000.
windowSplashScreenBackground is #fff and #000 for dark theme.
The animation duration of Animated Vector Drawable is 1600.
I might not be able to share the icon since it is the one we are going to use in production. Is there any working Animated Vector Drawable you can provide from your side for us to compare? Anything from unit test?
windowSplashScreenBackground is #fff and #000 for dark theme.
The animation duration of Animated Vector Drawable is 1600.
I might not be able to share the icon since it is the one we are going to use in production. Is there any working Animated Vector Drawable you can provide from your side for us to compare? Anything from unit test?
Description
Artifact used:
androidx.core:core-splashscreen
Version used:1.0.0-alpha02
Theme used: Devices/Android versions reproduced on:I'm trying to setup a splash screen, but I don't want to animate it out (no fade, nothing, just immediate closing).
Currently, layout transitions will triggers a fade out if I write:
Which is probably normal. But when I try to disable it, I doesn't work:
I also tried animate it out using a 0ms duration animation, without success. The only way to achieve this is to use: