我正在制作一个实现 Google maps V2 的 Android 应用程序。但是,当我实现包含布局标签时,地图片段无法从屏幕接收点击或任何输入。但是,当我删除包含标签时,就可以移动地图了。我已经查过一些资料,但是没有找到任何有用的信息。我也尝试了这个线程 Google Maps V2 + Drawer Layout,但是没有成功。以下是我的布局代码:
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.SupportMapFragment" />
</FrameLayout>
<include layout="@layout/navigation_drawer" />
非常感谢您的帮助。
谢谢