如何增加在android的旋转速度? [英] How to increase the rotation speed in android?
本文介绍了如何增加在android的旋转速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个形象绘制。我旋转图像就像一个进度条。
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?
推荐答案
将<一href="http://developer.android.com/reference/android/view/animation/Animation.html#attr_android%3aduration"相对=nofollow>时间和<一href="http://developer.android.com/reference/android/view/animation/Animation.html#attr_android%3arepeatCount"相对=nofollow>的repeatCount 你想要的动画运行。
Set the duration and repeatCount that you want the animation to run.
这篇关于如何增加在android的旋转速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文