改变窗口的透明度

public void setBackgroundAlpha(float bgAlpha) { WindowManager.LayoutParams lp = .getWindow() .getAttributes(); lp.alpha = bgAlpha; getWindow().setAttributes(lp);
相关文章
相关标签/搜索