Hi, I'd like to subclass Animation in order to get an animation that changes the clipRect of the canvas passed to a particular custom view instead of messing with the matrix of that canvas.
The reason for this, is that I want to animate a partially obscured bitmap up to display it fully. So, say I have a bitmap 100x100 px, and at the start of the animation, I want to start out displaying the top 100x50px of it, so the clipRect will be of the size 100x50. I want to move the clipRect 50px up, and add 50 px to it's size, but it looks like both the scale and translate animations just change the matrix, so I wind up displaying the same 100x50px area, but stretched to fit in in whatever space. Anyway, what's the best way of accomplishing this? -- 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

