动画
文章平均质量分 55
李二二
一个靓仔的梦想航线
展开
-
动画差值器
首先介绍一个比较好玩的网站 cubic-bezier.com 该网站可以模拟动画事件,并执行查看效果并且给出了对应的设置参数 Animation 动画在Android 开发中充当着比较重要的角色, 在开发过程中往往也会碰到一些比较复杂的动画实现,这会就需要使用到Interpolator这个角色了 Interpolator 术名动画差值器 现成的有以下几种 AnticipateInterpolator anticipateInterpolator = new AnticipateInterpol原创 2022-03-07 13:01:49 · 2088 阅读 · 0 评论 -
物理动画
符合物理规则的动画设置 SpringAnimation animX , animY ; animX = new SpringAnimation(view, SpringAnimation.SCALE_X, 0.5f); animY = new SpringAnimation(view, SpringAnimation.SCALE_Y, 0.5f); //主要是这三个属性 animX.getSpring().setStiffness(mStiffness); ani...原创 2020-11-17 16:20:07 · 273 阅读 · 0 评论 -
android高级API
基类动画 ObjectAnimator animator = AnimatorUtil.tada(image);// 摇摆 // animator.setRepeatCount(0); animator.start(); ObjectAnimator 基类动画对象 PropertyValuesHolder 设置动画属性组 ...原创 2019-05-09 10:30:45 · 85 阅读 · 0 评论