I'm trying to make a custom window that look like that (for map objects).
But instead of the project following and follower I wanna place an image, but I can't figure out how to make one, any refferes? thanks in advance.
I'm trying to make a custom window that look like that (for map objects).
But instead of the project following and follower I wanna place an image, but I can't figure out how to make one, any refferes? thanks in advance.
its just an xml layout like other layouts would be. check here for a small tutorial.
Just remember that buttons in the layout will not work
Read this post to understand how to create custom infowindows. You can add the required imageviews inside the xml layout file and render the layout as the infowindow
If you want to customize the InfoWindow:
Make a custom InfoWindowAdapter (make sure to send the context) by overriding the the required methods.
Inflate the custom view.
Refer all the views by findViewById() and do that every needed.
Set the Adapter Like this :
mMap = googleMap; mMap.setInfoWindowAdapter(new CustomInfoWindowAdapter getApplicationContext()));