Fixed
Status Update
Comments
as...@google.com <as...@google.com>
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?
[Deleted User] <[Deleted User]> #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?
ca...@google.com <ca...@google.com> #4
Here is the sample of Animated Vector Drawable. (Not the one mentioned earlier)
Description
Version used: 1.0.0-alpha01
Theme used: Theme.SplashScreen
Devices/Android versions reproduced on: Galaxy S10e (Android 11)
- Relevant code to trigger the issue.
<style name="Theme.XXX.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="Theme.XXX.SplashScreen" parent="Theme.SplashScreen">
<item name="windowSplashScreenAnimatedIcon">@mipmap/ic_launcher</item>
<item name="postSplashScreenTheme">@style/Theme.XXX.NoActionBar</item>
</style>
- A screenrecord or screenshots showing the issue (if UI related).
Screenshot attached.
It seems to be caused by Samsung launcher - because if I launch it from somewhere else - e.g. Firebase App Distribution app - it looks correctly.