android进度条白色圆圈

发布于 2024-12-21 23:37:06 字数 622 浏览 2 评论 0原文

你好,我用下面的代码在android中调用一个简单的进度条,

MyDialog = ProgressDialog.show(attraction_more_info.this, " " , 
                               " Loading. Please wait ... ", true);

事情是当它出现时,在旋转图标上方有一个白色的小圆圈,里面有一个白色的三角形。我该如何摆脱这个,这样它就只剩下旋转的圆圈和文字了。

它看起来像下图,尽管 myne 没有说“不确定”部分。

图片
(来源:lytsing.org

可能很简单就能摆脱它。

谢谢

Hi im invoking a simple progress bar in android with the following code

MyDialog = ProgressDialog.show(attraction_more_info.this, " " , 
                               " Loading. Please wait ... ", true);

The thing is when it comes up there is a small white circle with a white triangle in it above the spinning icon. How do i get rid of this so it is only the spinning circle and the text.

it looks like the following image although myne does not say the "indeterminate" part.

Image
(source: lytsing.org)

Probably something simple to get rid of it.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

你的呼吸 2024-12-28 23:37:06

删除吸引力_more_info.this后面的“”之间的空格。这是标题。您可以在双引号内输入任何内容,但它是可选的。 检索信息

例如,从中

MyDialog = ProgressDialog.show(attraction_more_info.this, " ",
" 正在加载。请稍候...", true);

进入此:

MyDialog = ProgressDialog.show(attraction_more_info.this, "" ,
“正在加载。请稍候...”,true);

Remove the space in between the "" after attraction_more_info.this. It's the title. You can enter anything within the double quotes but its optional. E.g. Retrieving Information

From this:

MyDialog = ProgressDialog.show(attraction_more_info.this, " " ,
" Loading. Please wait ... ", true);

Into this:

MyDialog = ProgressDialog.show(attraction_more_info.this, "" ,
" Loading. Please wait ... ", true);

南薇 2024-12-28 23:37:06

相反,

MyDialog = ProgressDialog.setMessage("Loading. Please wait...");

这将为您提供预期的结果。

Go for this instead,

MyDialog = ProgressDialog.setMessage("Loading. Please wait...");

This will provide you with your expected result.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文