title: How to consume and dismiss the PopupWindow when clicked outside?
body: <p>I'm currently designing simple tips popups using the <a href="http://developer.android.com/reference/android/widget/PopupWindow.html" rel="noreferrer">PopupWindow</a> class.  I'm able to dismiss the popup when clicked outside of the content. However the touch events outside are consumed by the underlining layout.  How can I consume the outside touches so that when clicked outside I still have the popup dismissed but there are no touch events being sent to the layout below my <a href="http://developer.android.com/reference/android/widget/PopupWindow.html" rel="noreferrer">PopupWindow</a>?</p>
  
  <p><strong><em>Current set properties:</em></strong></p>
  
  <pre><code>mPopupWindow.setBackgroundDrawable(context.getResources().getDrawable(R.drawable.popup_bg));
  mPopupWindow.setOutsideTouchable(true);
  </code></pre>