Can we perform 2 different actions in Snack bar at a time in android?

Anjali Patel picture Anjali Patel · Dec 19, 2016 · Viewed 19.3k times · Source

I am creating an android application in which i want to use Snack Bar, In a that snack bar i want 2 different words on which we have to perform 2 different actions.

enter image description here

Answer

Elias N picture Elias N · Dec 19, 2016

From the Google design specifications:

Each snackbar may contain a single action, neither of which may be “Dismiss” or “Cancel.”

For multiple actions, use a dialog.