views:

95

answers:

2

In the android developer's webpage there's an example on how to show an alert dialog when the user taps on an item in the map.

What I want to do is show the default bubble the maps App shows when you tap on a POI.

Is there a way to do this? Am I missing something here?

+1  A: 

Nope. You'll have to roll your own views with background ninepatches (or just use a decent looking default system one, like the Toast background drawable), and add a TextView (or whatever View you want) with that background to an overlay. It's a little silly that there's nothing built in for that since the "bubble with a bit of text" is a very common developer need, but it's actually really not that much work.

Yoni Samlan
A: 

Yoni,

I would guess that, "It's actually really not that much work," only because you already know how. By any chance, could you post a code snippet for doing that? I'm not sure I would even know where to begin.

Thanks, R.

Rich