What's the correct way to animate a View from one coordinate to another?

后端 未结 3 1174
夕颜
夕颜 2021-02-08 04:09

I would like to do the following. I have a set of buttons that have some icons on them. When the user taps one, I would like to introduce a new View that starts in the same coo

3条回答
  •  情书的邮戳
    2021-02-08 04:23

    You can use Android transition animation to move a view over the layout. Have a look at the below mentioned link to get some ideas on animating views inside the layout.

    https://github.com/lgvalle/Material-Animations

提交回复
热议问题