仅在Android Oreo中显示进度箭头的进度对话框 [英] Progress dialog showing circular arrow only in Android Oreo

查看:93
本文介绍了仅在Android Oreo中显示进度箭头的进度对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android 8上-Oreo ProgressDialog不起作用,它仅显示圆形箭头.

On Android 8 - Oreo ProgressDialog not working, its just showing the circular arrow.

在我的应用程序中

我知道它已在API 26

progress dialog的这种行为与Google的其他应用相同

This behavior of progress dialog is same for Google's other apps

我已经创建了自定义对话框以显示进度条,对此是否有任何本机解决方案

I have created custom dialog to show progress bar, is there any native solution for that

设备-Nexus 5x

Device - Nexus 5x

操作系统-Android 8

Os - Android 8

推荐答案

我在使用带Oreo的Galaxy S7时遇到了同样的问题,它确实发生在任何ProgressBar上,而不仅仅是在ProgressDialog中.

I just had the same issue with Galaxy S7 with Oreo and it did happen for any ProgressBar, not just in ProgressDialog.

原来,我在开发人员选项中关闭了动画师持续时间比例".当我打开它时,我会再次获得动画进度条.

Turned out I had turned off "Animator duration scale" in developer options. When I turn it on, I get the animated progress bar again.

这篇关于仅在Android Oreo中显示进度箭头的进度对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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