The 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?
Asked
Active
Viewed 464 times
-2

Zen Ryuu
- 21
- 4
-
@Swayangjit ive read this https://stackoverflow.com/questions/32453946/how-to-customize-snackbars-layout#:~:text=To%20add%20your%20own%20View,SnackbarLayout. – Zen Ryuu Jun 21 '22 at 09:00
1 Answers
0
You can create a custom layout for Snackbar. Check-out the solution

Hassan Salah
- 157
- 2
- 7
-
Snackbar.SnackbarLayout layout = (Snackbar.SnackbarLayout) snackbar.getView(); how to do it in kotlin? – Zen Ryuu Jun 21 '22 at 09:10
-