Share via


InlineContentView.SetZOrderedOnTop(Boolean) Method

Definition

Controls whether the backing surface is placed on top of this view's window.

[Android.Runtime.Register("setZOrderedOnTop", "(Z)Z", "GetSetZOrderedOnTop_ZHandler", ApiSince=30)]
public virtual bool SetZOrderedOnTop (bool onTop);
[<Android.Runtime.Register("setZOrderedOnTop", "(Z)Z", "GetSetZOrderedOnTop_ZHandler", ApiSince=30)>]
abstract member SetZOrderedOnTop : bool -> bool
override this.SetZOrderedOnTop : bool -> bool

Parameters

onTop
Boolean

Whether to show the surface on top of this view's window.

Returns

Attributes

Remarks

Controls whether the backing surface is placed on top of this view's window. Normally, it is placed on top of the window, to allow interaction with the inlined UI. Via this method, you can place the surface below the window. This means that all of the contents of the window this view is in will be visible on top of its surface.

The Z ordering can be changed dynamically if the backing surface is created, otherwise the ordering would be applied at surface construction time.

Java documentation for android.widget.inline.InlineContentView.setZOrderedOnTop(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