Home > other >  Android - How to make a pop up message notification like this?
Android - How to make a pop up message notification like this?

Time:06-21

enter image description hereThe pop up message is the Green one. I tried to use snackbar but many says Snackbar cant make custom layout and Toast doesnt have an action. So what should I use to make that green pop up message?

CodePudding user response:

You can create a custom layout for Snackbar. Check-out the solution

https://stackoverflow.com/a/33441214/8122085

CodePudding user response:

You can create custom toast in android. You can check this or find other resources to create custom toast Custom toast on Android: a simple example

  • Related