Hi all,

I've a custom ViewGroup with several custom children views and I'm
trying to apply an AlphaAnimation on the views with no luck.  If I
apply the animation on the ViewGroup it's correctly applied and I can
see all the children views fading in, but if I try to apply it
directly to the views, it doesn't work. I'm loading the fading
animation from an xml resource and applying it using the
startAnimation method. So if i do:

viewgroup.startAnimation(AnimationUtils.loadAnimation(this,
R.anim.fade));

it works like a charm, but if I do:

viewgroup.getChildAt(0).startAnimation(AnimationUtils.loadAnimation
(this, R.anim.fade));

nothing happens.

Any idea of what could be the problem here?

Thanks in advance.

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