Where can I get the "default" android arrow graphic for MapView?
I am using a custom overlay on my MapView and I'm trying to imitate the look of the official Google "Maps" application when using the GPS and as a result I'm looking for the arrow the application uses to show your bearing.
The closest I've found is this but it's too large, its not an animated GIF like the official one and I'm not sure if I'm allowed to use it or not.
Edit: Just found out that is completely useless because I forgot (obviously) gifs do not have an alpha transparency layer.开发者_开发百科
Has anyone had to use this before? Am I going to be forced to make my own?
Not sure which arrow you're looking for, however, if you look in your Android SDK folder and you've got 2.2 installed, platforms\android-8\data\res\drawable-mdpi\ contains compass_arrow.png and compass_base.png. Could those work?
You could look in the MyTracks project: http://code.google.com/p/mytracks
Here are the bearing arrows: http://code.google.com/p/mytracks/source/browse/#hg/MyTracks/res/drawable Are those what you are looking for? (Click on a arrow, then Show raw file)
精彩评论