I can customize the content of the infoWindow with a simple block of code:
private GoogleMap mMap;
mMap.setInfoWindowAdapter(new InfoWindowAdapter() {
Try this...I have change little bit of your code.
Also change this...
mMap.setInfoWindowAdapter(new InfoWindowAdapter() {
public View getInfoWindow(Marker arg0) {
View v = getLayoutInflater().inflate(R.layout.custom_infowindow, null);
return v;
}
public View getInfoContents(Marker arg0) {
//View v = getLayoutInflater().inflate(R.layout.custom_infowindow, null);
return null;
}
});
I hope it will work...:)