问题
How to implement a notification dialog in Android 10 like in the following picture? System: Android 10.0 (Huawei EMUI 10.0)
It's a clock remind window from a clock app. As you can see in the image, the app's main window does not show. Only the dialog can pop up when the phone is in standby. I want to realize the same clock window function.
It seems like a notification because if I turn off the permission of the app's notification, it can not show.
But I don't know how to show a notification at the bottom of screen while not at the notification bar.
In brief, my question is how to implement a notification as in the picture, with these styles:
- Show at the bottom of the phone screen;
- Higher than ordinary notification bars;
- With several action customized buttons
Any help would be greatly appreciated!
来源:https://stackoverflow.com/questions/61040568/how-to-show-a-notification-in-android-at-the-bottom-of-the-screen