メニューボタンのクリックからポップアップを呼び出す次の関数があります。ポップアップを閉じるためのOKボタンがあります。ただし、onclickボタンを押しても機能は開始されません。また、戻るボタンが押されたときにポップアップを閉じる必要があります。
    LayoutInflater inflater = (LayoutInflater) MainActivity.this
                .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
    final PopupWindow pw = new PopupWindow(inflater.inflate(R.layout.about_popup, null, false),400,440, true);
    pw.showAtLocation(lv, Gravity.CENTER, 0, 0);
    View popupView=inflater.inflate(R.layout.about_popup, null, false);
    Button close = (Button) popupView.findViewById(R.id.okbutton);
    close.setOnClickListener(new OnClickListener() {
      public void onClick(View popupView) {
        pw.dismiss();
      }
    });
ありがとう