我的代码:
Marker startMarker = new Marker(mMapView);
startMarker.setPosition(VBA.getPosition());
startMarker.setIcon(getResources().getDrawable(R.drawable.marker_hotel1));
startMarker.setTitle(VBA.getHotelName());
startMarker.setRelatedObject(null);
startMarker.setInfoWindow(new CustomInfoWindow(mMapView, startMarker));
mMapView.getOverlays().add(startMarker);
我的CustomInfoWindow
public class CustomInfoWindow extends MarkerInfoWindow {
...SOME ATTRIBUTES....
public CustomInfoWindow(MapView mapView,Marker marker) {
super(R.layout.bonuspack_bubble_edited, mapView);
...OTHER CODE...
}
我想从标记中消除泡沫。
答案 0 :(得分:0)
将layout_marginBottom放在R.layout.bonuspack_bubble_edited
上