DrawableCrossFadeTransition
open fun DrawableCrossFadeTransition(duration: Int, isCrossFadeEnabled: Boolean)
Content copied to clipboard
Parameters
duration
The duration that the cross fade animation should run if there is something to cross fade from when a new android.graphics.drawable.Drawable is put.
isCrossFadeEnabled
If true
, animates the previous resource's alpha to 0 while animating the new resource's alpha to 100. Otherwise, only animates the new resource's alpha to 100 while leaving the previous resource's alpha at 100. See setCrossFadeEnabled.