简体   繁体   中英

Show app view on top of all other apps Android

I have an app which enables users to set tasks with specific time deadlines. Once a deadline is passed, I want the app to show a view on top of everything (requesting the user to update the task).

My issues are: - how to show my app's view on top of every other activity that is currently active - how to keep the activity on top until the user updates the task?

Is using something like SYSTEM_ALERT_WINDOW look sensible?

您可以尝试创建一个透明的活动,将其打开并显示警报对话框。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM