title: Open a PopupWindow and let the outsides still touchable
body: <p>How to open a PopupWindow on Android and let all the others components touchable without dismiss the PopupWindow?</p>
  
  <p>This is how it's created:</p>
  
  <pre><code>public class DynamicPopup {
      private final PopupWindow window;
      private final RectF rect;
      private final View parent;
      private final RichPageView view;
  
      public DynamicPopup(Context context, RichPage page, RectF rectF, View parent) {
          this.parent = parent;
          rect = rectF;
  
          window = new PopupWindow(context);
  
          window.setBackgroundDrawable(new BitmapDrawable());
          window.setWidth((int) rect.width());
          window.setHeight((int) rect.height());
          window.setTouchable(true);
          window.setFocusable(true);
          window.setOutsideTouchable(true);
  
          view = new RichPageView(context, page, false);
          window.setContentView(view);
  
          view.setOnCloseListener(new Listener(){
              @Override
              public void onAction() {
                  window.dismiss();
              }
          });
  
  
      }
  
      public void show() {
          window.showAtLocation(parent, Gravity.NO_GRAVITY, (int) rect.left, (int) rect.top);
      }
  }
  </code></pre>