什么是Android的对话框通知? [英] What are Android dialog notifications?

查看:110
本文介绍了什么是Android的对话框通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看了文章的说,有3种类型的通知在Android的:

I read an article that said there are 3 types of notification in Android:


  • Toast通知

  • 状态栏通知

  • 对话框通知

我知道什么是状态栏通知和Toast通知是的,但我不知道对话框通知。谁能给我一个例子吗?

I know what status bar notification and toast notifications are, but I don't know about dialog notifications. Can anyone give me an example?

推荐答案

一个对话框通知是:

一个对话框通常是出现在当前活动前的小窗口。基本活动失去焦点,对话框接受所有的用户交互。对话框通常用于通知和短期的活动,直接关系到正在进行的应用程序。

A dialog is usually a small window that appears in front of the current Activity. The underlying Activity loses focus and the dialog accepts all user interaction. Dialogs are normally used for notifications and short activities that directly relate to the application in progress.

(见下文为它的图形示例的链接)

(See the link below for a graphical example of it)

来源: http://developer.android.com/指南/主题/ UI /通知者/ index.html的#对话框

这篇关于什么是Android的对话框通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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