did you trued to invalidate the view? maybe if you draw it again it
will look good

On Sep 13, 6:10 pm, neuromit <[email protected]> wrote:
> I have 12 ImageButtons setup in a 3x4 grid. When the user clicks on an
> image button it grows to fill the screen, holds, and then shrinks down
> to its original location.
>
> The animation works except that when the button is shrinking it
> sometimes leaves lines behind. (I've attached images below). The are
> cleared once the animation finished but it looks really bad during the
> animation.
>
> Is there a better way to achieve this animation? What can I do to
> prevent the drawing errors that I'm getting?
>
> Here is my animation code, its a little complex as I have 3 nested
> animations:
>
> http://ideone.com/kFhs4
>
> Here is an example of what the images look like:
> Before animation:http://i.stack.imgur.com/gOrvX.png
> During Grow Animation:http://i.stack.imgur.com/5l2mx.png
> During Shrink Animation:http://i.stack.imgur.com/driuL.png
>
> These are images captured from my phone running cm7. However I've have
> the same problems in the Emulator and on my Galaxy Tab 10.1 running
> 3.1

-- 
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