Toast消息长度
有没有办法让Toast消息的持续时间比Toast.LENGTH_LONG更长。我觉得这个时间长度不足以让用户阅读我显示的通知。
Possible Duplicate:
Can an Android Toast be longer than “Toast.LENGTH_LONG”?
Is there a way to make Toast messages last longer than Toast.LENGTH_LONG. I don't feel this length of time is quite long enough for the user to read the notification I'm displaying.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于此类消息,有
Dialog
类。实际上更准确地说是 AlertDialog 类。只要用户需要帮助消息,帮助文本就应该对用户可见。您还应该查看开发者网站上的创建对话框文章。
For this kind of messages there is the
Dialog
class. Actually to be more precise the AlertDialog class. A help text should be visible to the user as long as the user needs that help message.You should also take a look at the Creating Dialogs article on the developers site.