0
点赞
收藏
分享

微信扫一扫

ImageView动态修改颜色


if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {
objectAnimatorTran = ObjectAnimator.ofArgb(ivAusRocket, "ColorFilter", getResources().getColor(R.color.white), getResources().getColor(R.color.transparent));
objectAnimatorTran.setDuration(5000);
objectAnimatorTran.setRepeatCount(-1);
}


举报

相关推荐

0 条评论