setDefaultFocus

fun AlertDialog.setDefaultFocus(buttonFocus: Int = DialogInterface.BUTTON_NEGATIVE)

Sets the focus to the negative button when in TV and Emulator layout.