当前位置:主页 > 移动开发 > Android代码 >
时间:2021-04-23 09:30:49 | 栏目:Android代码 | 点击:次
实例如下:
View rootView = ((ViewGroup)getWindow().getDecorView().findViewById(android.R.id.content)).getChildAt(0); rootView.setBackgroundColor(Color.WHITE);