Activity.RequestWindowFeature(WindowFeatures) 方法

定义

启用扩展窗口功能。

[Android.Runtime.Register("requestWindowFeature", "(I)Z", "")]
public bool RequestWindowFeature(Android.Views.WindowFeatures featureId);
[<Android.Runtime.Register("requestWindowFeature", "(I)Z", "")>]
member this.RequestWindowFeature : Android.Views.WindowFeatures -> bool

参数

featureId
WindowFeatures

中定义的 android.view.Window所需功能。

返回

如果请求的功能受支持且现在已启用,则返回 true。

属性

注解

启用扩展窗口功能。 这是一个方便的呼叫 android.view.Window#requestFeature getWindow().requestFeature()

Java文档android.app.Activity.requestWindowFeature(int)

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

适用于

另请参阅