共用方式為


Activity.RequestWindowFeature(WindowFeatures) Method

Definition

Enable extended window features.

[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

Parameters

featureId
WindowFeatures

The desired feature as defined in android.view.Window.

Returns

Returns true if the requested feature is supported and now enabled.

Attributes

Remarks

Enable extended window features. This is a convenience for calling android.view.Window#requestFeature getWindow().requestFeature().

Java documentation for android.app.Activity.requestWindowFeature(int).

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