Ivan Gromov
Ivan Gromov

Reputation: 4425

How to draw a baloon shape in android?

Is it possible to create a drawable like on the picture below using <shape> tag in Android?enter image description here

UPD: the goal is to draw these baloons on a MapView. Is there a standart component for that?

Thanks in advance.

Upvotes: 2

Views: 2030

Answers (2)

Frohnzie
Frohnzie

Reputation: 3569

There is no standard component for drawing balloons. I am pretty sure that graphing cam from here:

https://github.com/jgilfelt/android-mapviewballoons

Just use that code.

Upvotes: 0

Jayp
Jayp

Reputation: 822

No. It's a regular 9patch picture (.9.png). No way you can create that using only shapes.

Map markers are usually done by implementing an ItemizedOverlay class. Check out this tutorial

Upvotes: 1

Related Questions