final ImageView refresh = findViewById(R.id.activity_other_top_refresh); final ObjectAnimator objectAnimator = ObjectAnimator.ofFloat(refresh, "rotation", 1080f); objectAnimator.setDuration(2000); objectAnimator.setRepeatCount(2); refresh.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { try { objectAnimator.start(); } catch (Exception e) { LogUtils.d(e); } mWebView.reload(); } });
android 旋转刷新动画
最新推荐文章于 2025-06-30 14:04:44 发布