만약 다이얼로그를 띄운상태에서.. 다이얼로그의 onTouch이벤트에


@Override

public boolean dispatchTouchEvent(final MotionEvent ev) {

 // TODO Auto-generated method stub

 Rect dialogBounds = new Rect();

 getWindow().getDecorView().getHitRect(dialogBounds);

 if (!dialogBounds.contains((int) ev.getX(), (int) ev.getY())) {

  // Tapped outside so we finish the activity

 finish();

 }

 return super.dispatchTouchEvent(ev);

}


이렇게 하면 이 창이 닫히잖아요..(엑티비티 다이얼로그..)


그런데 만약 이걸 그냥 닫히는것 외에 바로 아래 있는곳에 터치를 전달하는 방법은 없을까요... 아니면 터치자체를 그냥 저부분에서는 통과를 시킨다던지...