如何增加在android的旋转速度?速度、android

2023-09-05 10:26:34 作者:枫叶羽

我有一个形象绘制。我旋转图像就像一个进度条。

I have an image drawable. i rotating the image like a progress bar.

<rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:pivotX="50%" android:pivotY="50%" android:fromDegrees="0"
android:toDegrees="360" android:drawable="@drawable/spinner_white_48" />

我想提高转速?对于,什么属性我必须使用?

i want to increase the rotation speed? for that, What attribute i have to use?

推荐答案

将时间和的repeatCount 你想要的动画运行。

Set the duration and repeatCount that you want the animation to run.