我在 xml 中使用 ProgressBar
Android 总线非常慢。最佳是 60fps。是否可以更改帧速率或添加具有更多 fps 的自定义进度圈?
<ProgressBar
android:id="@+id/progressBar1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="17dp"
android:layout_gravity="center" />
最佳答案
您可以修改持续时间:
android:indeterminateDuration=<duration in ms>
http://developer.android.com/reference/android/widget/ProgressBar.html#indeterminateDuration
关于android - 在 Android 中更改 ProgressBar fps,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14731932/