I want to create a toast message with background color is white and message color is black. My toast message is:
Toast.makeText(Logpage.this, \"Please Give
Kotlin Version:
val toast:Toast = Toast.makeText(this, "Please enter your name !", Toast.LENGTH_SHORT) val view = toast.view view?.background?.setColorFilter(Color.GREEN, PorterDuff.Mode.SRC_IN) toast.show()