Show and hide a View with a slide up/down animation

Started by skinner753, January 31, 2019, 02:47:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skinner753

I have a LinearLayout that I want to show or hide with an Animation that pushes the layout upwards or downwards whenever I change its visibility.

I've seen a few samples out there but none of them suit my needs.

I have created two xml files for the animations but I do not know how to start them when I change the visibility of a LinearLayout.
Mobdro