Udostępnij za pośrednictwem


Dialog.RequestWindowFeature(Int32) Method

Definition

Enable extended window features.

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

Parameters

featureId
Int32

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.Dialog.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