レイアウトに 2 つのビューを追加しました:mapContainer
とPoiView
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:pv="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/mapContainer"
android:paddingTop="@dimen/abc_action_bar_default_height"
android:orientation="vertical"
android:layout_height="match_parent" android:layout_width="match_parent">
</LinearLayout>
<com.app.ui.view.PoiView
android:id="@+id/poiView"
android:visibility="invisible" android:paddingBottom="@dimen/abc_action_bar_default_height"
android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_alignParentBottom="true"></com.app.ui.view.PoiView>
</RelativeLayout>
これで、mapContainer
はアクション バーを除く画面全体のスペースを占有し、 のどこかをクリックpoiView
すると が表示され、 の上部に重なって表示されます。mapContainer
mapContainer
poiView
ただし、 内のビューをクリックすると、 にもイベントが伝播さmapContainer
れるようです。poiView
mapConatiner
これを止めることは可能ですか?