I'm having problems trying to start an animation on a custom View that belongs to a custom ViewGroup. If i start the animation on the parent ViewGroup using:
it works fine and I can see the children views fading out, but if I try to start the same animation directly on the children, nothing happens, the onDraw method is not called.
I guess it might be related to the methods I've overrided in the ViewGroup parent class, but I can't find the way out. The overrided methods are:
- onLayout(): I'm overriding it but i do nothing there because I'm positioning the views in a different manner.
- dispatchDraw(): Here i draw all the children using getChildAt(i).draw(canvas);
Any idea of what could be happening here?