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.makeText(this, getString(R.string.back_again), Toast.LENGTH_SHORT) val view = toast.view view.background.setColorFilter(Color.BLACK, PorterDuff.Mode.SRC_IN) toast.show()