Author Topic: Show and hide a View with a slide up/down animation  (Read 1242 times)

0 Members and 1 Guest are viewing this topic.

Offline skinner753

Show and hide a View with a slide up/down animation
« on: January 31, 2019, 02:47:07 am »
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
« Last Edit: January 31, 2019, 08:20:48 pm by skinner753 »