次の方法で共有


View.RootView Property

Definition

Finds the topmost view in the current view hierarchy.

public virtual Android.Views.View? RootView { [Android.Runtime.Register("getRootView", "()Landroid/view/View;", "GetGetRootViewHandler")] get; }
[<get: Android.Runtime.Register("getRootView", "()Landroid/view/View;", "GetGetRootViewHandler")>]
member this.RootView : Android.Views.View

Property Value

the topmost view containing this view

Attributes

Remarks

Finds the topmost view in the current view hierarchy.

Java documentation for android.view.View.getRootView().

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