setContentView(R.layout.act_main)后,
执行代码View cv = getWindow().getDecorView().findViewById(android.R.id.content);
返回null
请问是什么原因?
setContentView(R.layout.act_main)后,
执行代码View cv = getWindow().getDecorView().findViewById(android.R.id.content);
返回null
请问是什么原因?