SurfaceView.SetZOrderMediaOverlay(Boolean) Method

Definition

Control whether the surface view's surface is placed on top of another regular surface view in the window (but still behind the window itself).

[Android.Runtime.Register("setZOrderMediaOverlay", "(Z)V", "GetSetZOrderMediaOverlay_ZHandler")]
public virtual void SetZOrderMediaOverlay (bool isMediaOverlay);
[<Android.Runtime.Register("setZOrderMediaOverlay", "(Z)V", "GetSetZOrderMediaOverlay_ZHandler")>]
abstract member SetZOrderMediaOverlay : bool -> unit
override this.SetZOrderMediaOverlay : bool -> unit

Parameters

isMediaOverlay
Boolean
Attributes

Remarks

Control whether the surface view's surface is placed on top of another regular surface view in the window (but still behind the window itself). This is typically used to place overlays on top of an underlying media surface view.

Note that this must be set before the surface view's containing window is attached to the window manager.

Calling this overrides any previous call to #setZOrderOnTop.

Java documentation for android.view.SurfaceView.setZOrderMediaOverlay(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