안녕하세요.

 

XML **************************************************

 <RelativeLayout android:layout_width="wrap_content"
android:layout_height="wrap_content">
     <WebView
            android:scrollbars="none"

            android:clickable="true"
            android:longClickable="true"

            android:layout_width="wrap_content"
            android:layout_height="wrap_content" android:focusable="false"
            android:focusableInTouchMode="false"

     />
      <ImageButton 
          android:layout_width="wrap_content" android:layout_height="wrap_content"
         android:src="@drawable/btn" android:background="@null" />
  </RelativeLayout>

 

 

대략 웹뷰에 투명 이미지를 담은 이미지버튼을 겹쳤습니다.

 

이런상황에서

 

 @Override
 public boolean onTouchEvent(MotionEvent event) {
     return super.onTouchEvent(event);
 }

 

터치이벤트를 주고 싶습니다.

 

그런데 웹뷰위에 위젯이나 레이아웃을 올려도 웹뷰와 겹치는 부분은 터치이벤트가 먹지를 않습니다.

 

웹뷰에 속성을 지정하면 처리되거나, 겹쳐지는 레이아웃이나 위젯에 어떠한 속성을 준다거나.........

 

해결방법이 있을까요?

 

웹에서 검색을 해도 도저히 답이 나오지 않습니다.

 

해결을 꼭해야 하는데 큰일입니다....... ㅜㅜ

 

 좋은하루 되시구요..... 답변 부탁 드리겠습니다.

 

감사합니다.