开发者

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?

How to draw a baloon shape in android?

UPD: the goal is to draw these 开发者_JAVA百科baloons on a MapView. Is there a standart component for that?

Thanks in advance.


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜