定义矢量路径
定义路径动画
将动画应用到矢量图
将最终的animated-vector设置为控件背景,在代码中启动
AnimatedVectorDrawable drawable = (AnimatedVectorDrawable) v.getBackground();
drawable.start();
定义矢量路径
定义路径动画
将动画应用到矢量图
将最终的animated-vector设置为控件背景,在代码中启动
AnimatedVectorDrawable drawable = (AnimatedVectorDrawable) v.getBackground();
drawable.start();
微信扫码登录