How to add a button-like action to notification bubble

已回答

I want to add a button-like action which looks like the "Always download" action in this notification bubble to my notification bubble. How do I achieve this? It's seem that the NotificationAction class only support hyper-text style action. 

0

Hi,

You need to invoke Notification.setSuggestionType(true).

1

请先登录再写评论。