On Mon, Jun 25, 2012 at 12:06 PM, voullie <[email protected]> wrote:

> How can I change the (0,0) coordinate of a drawable to a pixel offset (x,
> y) before attaching it to the canvas?


http://developer.android.com/reference/android/graphics/Canvas.html#translate%28float,%20float%29

Or, since MapView is a ViewGroup like any other, if this drawable you're
trying to show is part of the UI and not really a marker on the map, just
use addView with the proper layout parameters. Or even better still, do it
in the design mode.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to