This question (not mine) was voted closed today based on a duplicate :
this question I think is quite different from the duplicates, because one deals with active buttons, and the other deals with a notification. They are very different UX components with correspondingly different design objectives.
For example, Google material design has totally different interactions, style, animations, and behavior for the two:
For this reason, I don't think it's a duplicate question at all