Fixed
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?
ki...@gmail.com <ki...@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?
ki...@gmail.com <ki...@gmail.com> #4
Here is the sample of Animated Vector Drawable. (Not the one mentioned earlier)
ca...@google.com <ca...@google.com> #5
In the <objectAnimator
tag, you need the repeat*
attributes
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="1000"
android:valueTo="200"
android:valueType="floatType"
android:propertyName="y"
android:repeatCount="1"
android:repeatMode="reverse"/>
ki...@gmail.com <ki...@gmail.com> #6
It makes sense for objectAnimator that all have the same startOffset and duration. What if there are series of objectAnimator which have different startOffset as the attachment - test_anim_2.xml?
ca...@google.com <ca...@google.com> #7
test_anim_3.xml has the expected effect. However, I try to avoid creating lots of objectAnimator for repeating animator. It will be great, if core-splashscreen API can support it.
Description
Component used: core-splashscreen Version used: 1.0.0-alpha01 Devices/Android versions reproduced on: API < 31
adjustInsets
cause icon jump between real and fake splashscreen on older APIs when application usesView.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
orView.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_STABLE
.