일부 지역에 대한 디스패치 터치를 사용 중지하려면 내 화면을 이해하십시오.화면의 일부에서 디스패치 터치 이벤트를 사용 중지하는 방법
당신은 이미지의 머리글, 바닥 글 및지도보기를 볼 수 있지만 나는 위치 버튼 (헤더 오른쪽)를 클릭 할 때 (이 감동있어 같은), 내지도도 통보지고 난 몰라하는 필요. 버튼의 onClick 이벤트 만 클릭해야합니다. 어떤 도움이 크게 감사합니다
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<!-- include title bar for all screen -->
<include
android:id="@+id/include1"
layout="@layout/titlebar_layout"
android:layout_gravity="top" />
<FrameLayout
android:layout_gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.88"
>
<com.google.android.maps.MapView
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1.63"
android:apiKey="0VkXbAOFvAq7b6uaGHSmnS2a2VosPxoS6ceHY_g"
android:clickable="true" >
</com.google.android.maps.MapView>
</FrameLayout>
<include
android:id="@+id/include2"
android:layout_gravity="bottom"
android:layout_marginBottom="38dp"
layout="@layout/bottom_layout" />
</LinearLayout>
:
여기 내 XML이다. 바닥 버튼에서지도보기로
헤이 덕분에이 대답에 대한 대답 –
죄송 work..but하지 않은 덕분에 작동하는 경우에 당신의 대답을 받아 다시 곧 –
일에 대한 –