@Override protected void onResume() { super.onResume(); ViewGroup mContentView = getWindow().getDecorView().findViewById(android.R.id.content); ViewGroup child = (ViewGroup) mContentView.getChildAt(0); if (child != null) { child.setClipToPadding(true); child.setFitsSystemWindows(true); } //debug版本不统计crash // if(!BuildConfig.LOG_DEBUG) { // //友盟统计 // MobclickAgent.onResume(this); // } }
继承自baseactivity设置顶层样式
最新推荐文章于 2021-02-13 01:26:15 发布