title: How to remove a parent view - android
body: <p>In Android:</p>
  
  <p>Given a View from an onTouchEvent, how can I remove the View and its parent?</p>
  
  <p>I have a LinearLayout in which I have a View. Clicking on the View creates a sub-layout inside of the LinearLayout. That sub-layout needs its own onTouchListeners so I cannot attach an onTouchListener to the parent LinearLayout because that will always block onTouchListeners to my sub-layout.</p>
  
  <p>Therefore, I need a means to remove the parent layout given its child layout. I can already remove child layouts from their parents.</p>