Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Attachment actions
Description
Component used: SplashScreen compat library (androidx.core:core-splashscreen) Version used: 1.0.0-alpha01 Devices/Android versions reproduced on: Pixel 4a emulator (Android 11), real Pixel 4a (Android 11.
The following code works to slide the splash screen up and fade it out:
See the first video for a demo.
However, if this is combined with Jetpack Compose by also calling
setContent
inonCreate
, the custom animation is no longer played, assetContent
simply replaces the view when it is finished loading. See the second video for a demo.The alternative would be to call
setContent
in the callback ofwithEndAction
, but this is suboptimal. See the third video for a demo.If this is a bug in the library, we would appreciate if you could attach: