WAI
Status Update
Comments
al...@google.com <al...@google.com>
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?
eu...@gmail.com <eu...@gmail.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
Version used: 1.0.0-alpha01
Devices/Android versions reproduced on: Android 12.0 (Google Play) emulator
As per this guide I am trying to migrate my app to the new SplashScreen API using core-splashscreen library:
It suggests to inherit Theme.SplashScreen but that theme is not a descendant of the Theme.AppCompat which AppCompatActivity requires. Thus I get a crash on startup "java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity."
Please add support for Theme.AppCompat in the library.