更改由status.startResolutionForResult创建的对话框标题 [英] Change dialog title created by status.startResolutionForResult
本文介绍了更改由status.startResolutionForResult创建的对话框标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Android的Google API允许我显示一个对话框,要求用户打开禁用的设置,例如对话框使用Status类。我如何更改对话框的标题?
The Google API for Android allows me to show a dialog asking users to turn on disabled settings like this dialog using the Status class. How can I change the title of the dialog?
实现自定义对话框的其他选项是不可能的,因为我会询问其他设置(位置服务),这些设置由 startResolutionForResult
。
My other option of implementing a custom dialog won't be possible because there are other settings I'll be asking about (Location Services) which are handled by startResolutionForResult
.
推荐答案
SettingsApi 不能改变对话框的标题。
The SettingsApi which you refer to does not allow changing the title of the dialog.
这篇关于更改由status.startResolutionForResult创建的对话框标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文