@SuppressLint("InflateParams") @Override public View getInfoContents(Marker marker) { if (mPopup == null) { mPopup = mInflater.inflate(R.layout.single_host_infowindow, null); } TextView titleView = (TextView) mPopup.findViewById(R.id.title); titleView.setText(marker.getTitle()); TextView snippetView = (TextView) mPopup.findViewById(R.id.snippet); snippetView.setText(Html.fromHtml(marker.getSnippet())); return (mPopup); }