如何提高android中的旋转速度? [英] How to increase the rotation speed in android?

查看:17
本文介绍了如何提高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?

推荐答案

设置持续时间repeatCount 您希望动画运行.

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

这篇关于如何提高android中的旋转速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆