다음을 통해 공유


Window.SharedElementsUseOverlay Property

Definition

Returns true when shared elements should use an Overlay during shared element transitions or false when they should animate as part of the normal View hierarchy. -or- Sets whether or not shared elements should use an Overlay during shared element transitions.

public virtual bool SharedElementsUseOverlay { [Android.Runtime.Register("getSharedElementsUseOverlay", "()Z", "GetGetSharedElementsUseOverlayHandler")] get; [Android.Runtime.Register("setSharedElementsUseOverlay", "(Z)V", "GetSetSharedElementsUseOverlay_ZHandler")] set; }
[<get: Android.Runtime.Register("getSharedElementsUseOverlay", "()Z", "GetGetSharedElementsUseOverlayHandler")>]
[<set: Android.Runtime.Register("setSharedElementsUseOverlay", "(Z)V", "GetSetSharedElementsUseOverlay_ZHandler")>]
member this.SharedElementsUseOverlay : bool with get, set

Property Value

true when shared elements should use an Overlay during shared element transitions or false when they should animate as part of the normal View hierarchy.

Attributes

Remarks

Property getter documentation:

Returns true when shared elements should use an Overlay during shared element transitions or false when they should animate as part of the normal View hierarchy. The default value is true.

Java documentation for android.view.Window.getSharedElementsUseOverlay().

Property setter documentation:

Sets whether or not shared elements should use an Overlay during shared element transitions. The default value is true.

Java documentation for android.view.Window.setSharedElementsUseOverlay(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