百度地图MapView上方的FAB可见但不可触摸

FAB above BaiduMap MapView is visible but not touchable

我正在使用百度地图Android SDK,因为我在中国。我想在MapView上面放一个Float Action Button(效果图是this)。但是,当我正常执行此操作时,FAB 可见但不可触摸FAB 上面的地图视图似乎还有另一个触摸层切断了我的触摸。

更让我惊讶的是,如果我把FAB改成一个普通的Button,点击就可以正常工作了。

我的一部分 XML:

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:layout_weight="1">

    <com.baidu.mapapi.map.TextureMapView
        android:id="@+id/bmapView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:clickable="true"/>

    <android.support.design.widget.FloatingActionButton
        android:id="@+id/get_current_location"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/ic_gps_fixed_black_24dp"
        android:layout_margin="@dimen/fab_margin"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentEnd="true"/>

</RelativeLayout>

处理这个问题的非常简单的方法:

android:clickable="true" 添加到 FAB。

虽然我不知道为什么有必要。