setDismissOnBackPress

abstract fun setDismissOnBackPress(value: Boolean)

设置对话框是否可以通过按返回按钮来关闭。

Parameters

value

如果为 true 则可以通过返回按钮关闭。