> hello. I am able to draw a marker image on specific locations on
> google map and when i click a notification text is displayed using
> Toast. But i want to show a rectangular pop-up to appear exactly above
> the marker like it does on google placemarks. I want to display some
> text and a button in the rectangle.

Use a RelativeLayout as the container for both the map and some other
layout that is your popup. Give the popup android:visibility="gone" in the
layout XML. When you want to show the popup, call
setVisibility(View.VISIBLE) on it.

Getting it "exactly above the marker" may be difficult, as I am not sure
how you can find out the pixel location of the marker.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to