Hello

I have a viewflipper which I use to animate between views. The in/out-
animations are TranlateAnimations.

During the animations, the views that are animated are covered by a
darker transparent foreground. How can I get rid of this?

Further, if the view thats being animated contains layout child with a
background image set, the image looks really bad during the animation.

I have tried calling the following methods on both the viewflipper and
it's child views, without success
setAnimationCacheEnabled(false);
setAlwaysDrawnWithCacheEnabled(false);
setDrawingCacheEnabled(false);
setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_HIGH);

Any hints would be appreciated.
btw: I had a similar problem when scrolling listviews but solved it
setting scrollingCache to false

I also have the same problem when animating with a TextSwitcher.
Strange thing is that the ApiDemos does not have this problem and I am
basically using that same code. Are these optimizations set on a
global level? Also, other examples using e.g. a ViewFlipper such as
this 
http://www.inter-fuser.com/2009/07/android-transistions-slide-in-and-slide.html,
does not have this problem. What am I missing?

thx

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to