There is a solution for this problem.
It is not trivial though.

I would use a post or postDelayed on the view (or a Handler) to run a
task that updates the position of your image on the path repeatedly.
After updating the image's position, call 'invalidate()' on the view
that draws the image (bitmap). Then call post/postDelayed on this task
again until you reached the end of the path.

For drawing the image, i would overload dispatchDraw(...) of that view
and draw the bitmap myself, using a Matrix to correctly position the
bitmap (image) within the view.

Take a look at the post/postDelayed, Handler, Bitmap, BitmapFactory
and Canvas classes.

On Apr 21, 10:18 am, Manuel <[email protected]> wrote:
> Has nobody an idea?
> Or is there no way for this problem?
--~--~---------~--~----~------------~-------~--~----~
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