📜  android dialogfragment 全屏堆栈溢出 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:35.809000             🧑  作者: Mango

代码示例2
override fun onStart() {
    super.onStart()
    dialog?.let {
        val width = ViewGroup.LayoutParams.MATCH_PARENT
        val height = ViewGroup.LayoutParams.MATCH_PARENT
        it.window?.setLayout(width, height)
    }
}