语言

Activity.LayoutInflater 属性

定义

方便呼叫 android.view.Window#getLayoutInflater。

public virtual Android.Views.LayoutInflater LayoutInflater { [Android.Runtime.Register("getLayoutInflater", "()Landroid/view/LayoutInflater;", "GetGetLayoutInflaterHandler")] get; }
[<get: Android.Runtime.Register("getLayoutInflater", "()Landroid/view/LayoutInflater;", "GetGetLayoutInflaterHandler")>]
member this.LayoutInflater : Android.Views.LayoutInflater

属性值

此值不能为 null。

特性

注解

用于调用 Window.getLayoutInflater()的便利性。

Android 参考。android.app.Activity.getLayoutInflater

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于