Button not responding to Click Event after Translation animation

前端 未结 7 1134
执笔经年
执笔经年 2020-12-01 21:10

I have performed a Translation animation on button ,everything work as i excepted ,but only the problem is after the animation the button not responding to click event pleas

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-01 21:46

    This will translate the object in y direction:

    ObjectAnimator mover = ObjectAnimator.ofFloat(v, "translationY", 0, 400);
    mover.start();
    

提交回复
热议问题