Android: Animation gets clipped by parent view

I was applying a translation and alpha animation to a child view and the parent was clipping the child bounds.

For me @HerrHo's answer by itself didn't work, but once I added

android:clipChildren="false"
android:clipToPadding="false"

together, it started working!


A little late for you, but for everybody looking for an answer: You can call setClipChildren(false) on the enclosing ViewGroups (like RelativeLayout or LinearLayout).