How to make the element animation affect other elements? It is necessary to make the button gently go on top, and the other elements are shifted down. But the animation does not affect other elements.

    1 answer 1

    To do this, you need to apply animation to each element. Ie for example - the animation to the button has its own, the animation to other views on the screen is different.

    • The problem is that below is the recycler view, which stretches to the end of the screen. If the button goes up again, then when animating the recycler upstairs, there is a white bar at the bottom, because the recycler has shifted upwards. - Kirill Emelyanov
    • @ KirilEmelyanov attach a screen or something) - Martinez Toni