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?
dh...@linecorp.com <dh...@linecorp.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?
ca...@google.com <ca...@google.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"/>
Description
Component used: Version used:androidx.core:core-splashscreen:1.0.0-alpha02 Devices/Android versions reproduced on: OS11(Galaxy Note10) and OS12(Pixel4) devices
To migrate the Splash Screen, we are using the following method. "Keep the custom activity, but prevent it from displaying"https://developer.android.com/guide/topics/ui/splash-screen/migrate#best-practices
We want to maintain the Splash Activity we are using, and move to the Main Activity when the initialization work is completed in the Splash Activity.
In OS12, Splash Activity is not visible, and the transition to Main Activity is good. (OS12-Pixel-4.mp4)
But, in OS11, when switching to the main activity, the splash activity appears for a while and then moves. (OS11-Galaxy-Note-10.mp4)
Is there any way to solve this part?
If this is a bug in the library, we would appreciate if you could attach:
Sample project to trigger the issue.https://github.com/DongHoon-Wooo/SplashScreen.git
A screenrecord or screenshots showing the issue (if UI related). I added attachments.