setWidth(WindowManager.LayoutParams.MATCH_PARENT);
setHeight(WindowManager.LayoutParams.MATCH_PARENT);
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP) {
setClippingEnabled(false);
} else {
setHeight(ScreenUtil.getScreenHeight());
}
网友评论