Hi all,

I would like to share with a strange behaviour...

A linearlayout contains an ImageView. When user does a specific
action, I add another ImageView outside the screenHeight, generate an
animation to slide from the current ImageView to the new added. on
AnimationEnd I set the layout size exactly to the ImageView size.

If I do this, my screen flashes and the application is not really
"beautiful".

Testing, I added a setBackgroundColor on my ImageView to see what
happens exactly (a way to debug)...This method fix the animation: the
screen doesn't flash.....!!!!

I don't understand...I try to add a setBackgroundColor to transparent:
it's flashing

I try invalidate on ImageView, it's flashing...

Why is the problem fixed when I set a background and not using
forcelayout, invalidate....?


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