Udostępnij za pośrednictwem


Window.SetType(WindowManagerTypes) Method

Definition

Set the type of the window, as per the WindowManager.

[Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler")]
public virtual void SetType (Android.Views.WindowManagerTypes type);
[<Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler")>]
abstract member SetType : Android.Views.WindowManagerTypes -> unit
override this.SetType : Android.Views.WindowManagerTypes -> unit

Parameters

type
WindowManagerTypes

The new window type (see WindowManager.LayoutParams).

Attributes

Remarks

Set the type of the window, as per the WindowManager.LayoutParams types.

Java documentation for android.view.Window.setType(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