public interface

WindowManager

implements ViewManager
android.view.WindowManager

Class Overview

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

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

Summary

Nested Classes
public interface WindowManager.BadTokenException Exception that is thrown when trying to add view whose WindowManager.LayoutParams token is invalid. 
public interface WindowManager.LayoutParams  
Public Methods
abstract Display getDefaultDisplay()
Use this method to get the default Display object.
abstract void removeViewImmediate(View view)
Special variation of removeView(View) that immediately invokes the given view hierarchy's View.onDetachedFromWindow() methods before returning.
[Expand]
Inherited Methods
From interface android.view.ViewManager

Public Methods

public abstract Display getDefaultDisplay ()

Use this method to get the default Display object.

Returns
  • default Display object

public abstract void removeViewImmediate (View view)

Special variation of removeView(View) that immediately invokes the given view hierarchy's View.onDetachedFromWindow() methods before returning. This is not for normal applications; using it correctly requires great care.

Parameters
view The view to be removed.