requestWindowFeature 调用时机不对,在创建自定义的Dialog时,设置自定义view,在onCreate里的正确调用顺序
requestWindowFeature->super.onCreate(savedInstanceState)->获取当前Window对象(Window window = getWindow())->setContentView()->设置Window参数(WindowManager.LayoutParam)window.setAttributes()
requestWindowFeature 调用时机不对,在创建自定义的Dialog时,设置自定义view,在onCreate里的正确调用顺序
requestWindowFeature->super.onCreate(savedInstanceState)->获取当前Window对象(Window window = getWindow())->setContentView()->设置Window参数(WindowManager.LayoutParam)window.setAttributes()