Make bounce animation

后端 未结 3 1892
无人共我
无人共我 2021-02-05 22:15

I would like to do bounce animation of layer.

I have done that layer comes from right to center, now I would like to move it a little back and then back to center. That

3条回答
  •  执笔经年
    2021-02-05 22:34

    You can use the BounceInterpolator to have this effect. The docs contain a very good description how to use it in XML. Just have a animation xml like this:

    
    
    
        
        
    
    

提交回复
热议问题