public interface WindowManager extends ViewManager
Context.getSystemService(Context.WINDOW_SERVICE) to get one of these.
Each window manager instance is bound to a particular
To obtain a
WindowManager for a different display, use
Context.createDisplayContext(android.view.Display) to obtain a
Context for that
display, then use
to get the WindowManager.
|Modifier and Type||Interface and Description|
Exception that is thrown when calling
Displayupon which this
WindowManagerinstance will create new windows.
Despite the name of this method, the display that is returned is not
necessarily the primary display of the system (see
The returned display could instead be a secondary display that this
window manager instance is managing. Think of it as the display that
WindowManager instance uses by default.
void removeViewImmediate(View view)
ViewManager.removeView(android.view.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.
view- The view to be removed.