I\'m referring the expand / collapse animation code found here.
Android: Expand/collapse animation
Although it works, it doesn\'t do the job well. The animat
The easiest way to do animations is by adding the following to your xml for your linear layout:
android:animateLayoutChanges="true"
It works great and uses default animations directly from Android