Code example for WindowManager

Methods: removeView

0
    return(null); 
  } 
 
  @Override 
  public void onDestroy() { 
    mgr.removeView(v);  // comment out for "component-less" operation
     
    super.onDestroy(); 
  } 
 
  public boolean onTouch(View v, MotionEvent event) {
    Log.w("Tapjacker",
          String.valueOf(event.getX())+":"+String.valueOf(event.getY()));
     
    return(false); 
  } 
} 
Contextual code suggestions in your IDE  Get Codota for Java