Share via


SurfaceView.CompositionOrder Property

Definition

Returns the composition order of the SurfaceView. -or- Controls the composition order of the SurfaceView.

public virtual int CompositionOrder { [Android.Runtime.Register("getCompositionOrder", "()I", "GetGetCompositionOrderHandler", ApiSince=36)] get; [Android.Runtime.Register("setCompositionOrder", "(I)V", "GetSetCompositionOrder_IHandler", ApiSince=36)] set; }
[<get: Android.Runtime.Register("getCompositionOrder", "()I", "GetGetCompositionOrderHandler", ApiSince=36)>]
[<set: Android.Runtime.Register("setCompositionOrder", "(I)V", "GetSetCompositionOrder_IHandler", ApiSince=36)>]
member this.CompositionOrder : int with get, set

Property Value

composition order of the SurfaceView.

Attributes

Remarks

Property getter documentation:

Returns the composition order of the SurfaceView.

Java documentation for android.view.SurfaceView.getCompositionOrder().

Property setter documentation:

Controls the composition order of the SurfaceView. A non-negative composition order value indicates that the SurfaceView is composited on top of the parent window, while a negative composition order indicates that the SurfaceView is behind the parent window. A SurfaceView with a higher value appears above its peers with lower values. For SurfaceViews with the same composition order value, their relative order is undefined.

Java documentation for android.view.SurfaceView.setCompositionOrder(int).

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