public void detach ( ) { if ( systemOverlay ) { getWindowManager ( ) . removeView ( this ) ; } else { ( ( ViewGroup ) getActivityContentView ( ) ) . removeView ( this ) ; } }
Detaches it from the container view .