I have a view that is invisible by default(Just for the first time).
invisible
Now I need to switch the visibility to VISIBLE with this animation>
VISIBLE
animation>
Just You need to add android:animateLayoutChanges="true" to your layout. When I set visibility gone to linear_container, linear_bottom will animate from bottom to up and take place of "linear_container".
android:animateLayoutChanges="true"
linear_container
linear_bottom