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 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.
精彩评论