Android 透明调暗加载屏幕
在这种情况下,我只是不确定要寻找什么。我有一个应用程序可以在网络上查询某些操作,目前用户只需等待这些回复。我想要的是一个“请稍候”屏幕,甚至可能是沙漏/旋转器之一,我希望它覆盖在现有屏幕上,使其后面的所有内容变暗,
这是如何完成的?
您能给我指出一些函数或至少是要查找的正确术语吗?我不确定,谢谢!
in this case I just wasn't sure what to look for. I have an app that queries the net for some actions, and currently the user just has to wait for those replies. What I want is a "please wait" screen, maybe even one of those hourglass/spinners, I want it overlayed on the existing screen, dimming out everything behind it
How is this done?
Can you point me to some functions or at least the proper terms to look up? I'm not sure, thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定是否要调暗背景,但如果您想要一个带有微调器的“请稍候...”对话框,请参阅此...
ProgressDialog
编辑:上面的内容也会使背景变暗。
I'm not sure about dimming the background but if you want a "Please wait..." dialog with a spinner, see this...
ProgressDialog
EDIT: The above will also dim the background.