Compartir a través de


Window.PeekDecorView Method

Definition

Retrieve the current decor view, but only if it has already been created; otherwise returns null.

[Android.Runtime.Register("peekDecorView", "()Landroid/view/View;", "GetPeekDecorViewHandler")]
public abstract Android.Views.View? PeekDecorView ();
[<Android.Runtime.Register("peekDecorView", "()Landroid/view/View;", "GetPeekDecorViewHandler")>]
abstract member PeekDecorView : unit -> Android.Views.View

Returns

Returns the top-level window decor or null.

Attributes

Remarks

Retrieve the current decor view, but only if it has already been created; otherwise returns null.

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

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

See also