everyone. Please, how can I change the color of my dialog text? I have succeeded in changing the background color to black, so I want to change the text to white. Below is my code:
fun notificationofWinner(player: Int) {
val alert = AlertDialog.Builder(this@MainActivity, R.style.MyDialogTheme)
alert.setTitle("GAME OVER! Player $player wins!!!")
alert.setPositiveButton("Ok") { dialog , Button -> }
alert.show()
}