首页
学习
活动
专区
圈层
工具
发布
首页标签infowindow

#infowindow

如何在InfoWindow上将drawable作为背景?

帅的惊动我国计算机大神
替换getInfoContents @Override public View getInfoWindow(Marker marker) { // Getting view from the layout file View v = inflater.inflate(R.layout.map_popup, null); TextView title = (TextView) v.findViewById(R.id.title); title.setText(marker.getTitle()); TextView address = (TextView) v.findViewById(R.id.distance); address.setText(marker.getSnippet()); return v; } @Override public View getInfoContents(Marker arg0) { // TODO Auto-generated method stub return null; }... 展开详请
领券