Custom info windows with buttons

2020-02-15 java android google-maps android-studio google-maps-markers

now it's 2019 and nearly i have tried a lot of codes to fix my problem but no reason codes are either deprecated or not functioning well

i wan't to achieve something like this

enter image description here

a marker with a custom windows with functioning buttons , i knwo that custom window view is only a picture that being rendered only , i just need any solution for that here what i have tried Google Maps Android API v2 - Interactive InfoWindow (like in original android google maps) Custom infowindow in Google map android v2 https://github.com/andriichernenko/info-window-demo/tree/master/app https://github.com/Appolica/InteractiveInfoWindowAndroid

Answers

If you create this dialog with a imageview then you can't set on click for buttons and so more...i suggest you implement that using a fragment inside the activity.read below link.it learns two ways,static and dynamic.i suggest you do that Dynamically

https://guides.codepath.com/android/creating-and-using-fragments

Related