开发者

How to draw a baloon shape in android?

开发者 https://www.devze.com 2023-04-01 09:54 出处:网络
Is it possible to create a drawable like on the picture below using <shape> tag in Android? UPD: the goal is to draw these 开发者_JAVA百科baloons on a MapView. Is there a standart component for

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

精彩评论

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