TransitionDrawable.CrossFadeEnabled Property

Definition

Indicates whether the cross fade is enabled for this transition. -or- Enables or disables the cross fade of the drawables.

public virtual bool CrossFadeEnabled { [Android.Runtime.Register("isCrossFadeEnabled", "()Z", "GetIsCrossFadeEnabledHandler")] get; [Android.Runtime.Register("setCrossFadeEnabled", "(Z)V", "GetSetCrossFadeEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isCrossFadeEnabled", "()Z", "GetIsCrossFadeEnabledHandler")>]
[<set: Android.Runtime.Register("setCrossFadeEnabled", "(Z)V", "GetSetCrossFadeEnabled_ZHandler")>]
member this.CrossFadeEnabled : bool with get, set

Property Value

True if cross fading is enabled, false otherwise.

Attributes

Remarks

Property getter documentation:

Indicates whether the cross fade is enabled for this transition.

Java documentation for android.graphics.drawable.TransitionDrawable.isCrossFadeEnabled().

Property setter documentation:

Enables or disables the cross fade of the drawables. When cross fade is disabled, the first drawable is always drawn opaque. With cross fade enabled, the first drawable is drawn with the opposite alpha of the second drawable. Cross fade is disabled by default.

Java documentation for android.graphics.drawable.TransitionDrawable.setCrossFadeEnabled(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to