标签:add window lag and you roi manage IV TE
变暗
WindowManager.LayoutParams lp=getWindow().getAttributes(); lp.alpha=0.3f; getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); getWindow().setAttributes(lp);
变为原来的样子
WindowManager.LayoutParams lp=getWindow().getAttributes(); lp.alpha=1.0f; getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); getWindow().setAttributes(lp);
标签:add window lag and you roi manage IV TE
原文地址:https://www.cnblogs.com/developer-wang/p/9186385.html