StandardAnimations.java 文件源码

java
阅读 25 收藏 0 点赞 0 评论 0

项目:UTubeTV 作者:
public static void rockBounce(final View theView) {
  theView.animate()
      .rotationXBy(30.0f)
      .setDuration(200)
      .setInterpolator(new AnticipateOvershootInterpolator())
      .withEndAction(new Runnable() {
        @Override
        public void run() {
          theView.animate()
              .setDuration(100)
              .rotationX(0)
              .setInterpolator(new AnticipateOvershootInterpolator())
              .start();
        }
      });
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号