【发布时间】:2020-08-17 15:49:24
【问题描述】:
【问题讨论】:
标签: android android-alertdialog android-notifications
【问题讨论】:
标签: android android-alertdialog android-notifications
android 中的顶部通知窗口称为Heads-up notification,
您的问题已在此处提出(为了使用通知提示):
How to Custom Heads-up notification layout?
您也可以查看此链接,以便在不同类型的 Android API 中正确使用弹出通知:
android show notification with a popup on top of any application
但您可以通过您的服务(例如您的 FCM 服务)简单地显示您的对话:
Show a Dialog when Firebase Notification is received and App is in the background
【讨论】: