(I mean the old Android animation system here, not the property attributes that were introduced using Honeycomb.)
I am trying to wrap my head around how to animate markers on a MapView . Since Overlay s is used in map views, and since overlays are neither views nor expose their markers as View s, but as Drawable s, I look for ways to animate the drawn one without putting it in the view container.
Is this even possible? Looking at the sources of Android, it seems that Animation and its various implementations simply contain code to calculate the mathematical transformations applied by the animation. Similarly, for example, RotateDrawable contains only code for calculating rotation, as well as code that converts the converted drawing to canvas.
However, none of them contain code for playing animations; I could only see the animation game using View.startAnimation(animation) .
Is there a way to play the animation or use an animated drawing without a View ?
source share