Mea*_*tje 8 android android-animation android-layout android-progressbar
我正在研究一个自定义的不确定微调器,我通过SDK浏览了一些指针,发现了由Google制作的不确定的微调器xml文件:
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/spinner_black_16"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
Run Code Online (Sandbox Code Playgroud)
当我在我自己的项目中使用它作为drawable时,我会得到关于android:framesCount和的错误android:framesDuration.在Google上查看了一段时间后,我发现了这个问题报告的链接.
我的问题是:是否有任何解决方法,所以我仍然可以使用android:framesCount和android:framesDuration?或者还有其他方法可以让我的自定义微调器旋转平滑吗?
你看过这个问题的答案吗?如何在 Android 中进行平滑的图像旋转看来您也遇到了同样的问题。他不使用以下内容:
机器人:framesCount =“12”机器人:frameDuration =“100”
因为这似乎是内部的,所以我建议按照他的方式去做。
希望这可以帮助。
| 归档时间: |
|
| 查看次数: |
4344 次 |
| 最近记录: |