Android Guides | Samples


The interface that apps use to talk to the window manager.

See Also: IWindowManager


[Android.Runtime.Register("android/view/WindowManager", "", "Android.Views.IWindowManagerInvoker")]
public interface IWindowManager : IViewManager, IDisposable


The interface that apps use to talk to the window manager.

Use Context.getSystemService(Context.WINDOW_SERVICE) to get one of these.

Each window manager instance is bound to a particular Display. To obtain a IWindowManager for a different display, use Context.CreateDisplayContext(Display) to obtain a Context for that display, then use Context.getSystemService(Context.WINDOW_SERVICE) to get the WindowManager.

The simplest way to show a window on another display is to create a Presentation. The presentation will automatically obtain a IWindowManager and Context for that display.

See Also

[Android Documentation]


Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions:
Since: Added in API level 1

The members of Android.Views.IWindowManager are listed below.

Public Properties

DefaultDisplayDisplay. Returns the Display upon which this IWindowManager instance will create new windows.

Public Methods

Special variation of IViewManager.RemoveView(View) that immediately invokes the given view hierarchy's View.OnDetachedFromWindow methods before returning.