Heads-Up Notice - Which Side to Scroll

I've noticed that apps that use heads-up notifications can have different behaviors. I always look at my WhatsApp notifications on the left, but my custom SMS app notifications (Textra) should be removed on the right.

I looked at the Notification.Builder documentation but couldn't find anything related to this. Somebody knows?

As a reference, I found an example of how to implement heads-up notification in this section .

EDIT: After testing, a little more comparison of the heads-up notifications of both apps:

  • WhatsApp: Swiping left or right can be dismissed and the notification disappears from the notification bar. If I scroll up, it disappears and it keeps the notification in the notification bar.
  • Textra: cannot be fired by swinging left. May be dismissed to be verified, but the notification is removed from the panel. The deployment also cancels the heads-up and keeps the notification in the panel.
+3
android heads-up-notifications


source to share


No one has answered this question yet

See similar questions:

38
Heads-Up Notification - Android Lollipop

or similar:

378
Navigation box (Google+ and YouTube)
12
How do I cancel a current notification for another app?
nine
How to disable the Snackbar Swipe behavior
4
Is it possible to move the notification from heads-up to status bar?
3
How do I hide the "head notifications" in dive mode?
2
Disable dismiss notification using "clear all", but can you still swipe?
0
Android NotificationListernerService - how to cancel one notification from a stacked WhatsApp notification
0
Keep notification icon on status bar on click
0
scrolling the notification makes the service stop working from android
0
Can you spot Android Heads Up notification lag



All Articles
Loading...
X
Show
Funny
Dev
Pics