I am developing an android application. In that I want to display material design Snackbar in dialog. Is it possible? If yes then how?
Please help me.
Thanks
Use getDialog().getWindow().getDecorView() inside Snackbar.make()
getDialog().getWindow().getDecorView()
Snackbar .make(getDialog().getWindow().getDecorView(), "SnackBar in Dialog", Snackbar.LENGTH_LONG) .show();