setTransparentWindowBackgroundEnabled

open fun setTransparentWindowBackgroundEnabled(transparentWindowBackgroundEnabled: Boolean)

If enabled, the incoming window's background will be made transparent during the transition. This results in an effect where the outgoing activity's content is visible for the duration of the transition, because the incoming window background will not be faded in on top of it. Default is true.

Note: in order to avoid some visual artifacts, when this setting is enabled the window's transition background fade duration (see setTransitionBackgroundFadeDuration) will be overridden to be greater than the duration of the transform transition.