android Activity设置背景为半透明的时候会显示上一个activity的内容

在弹出PopupWindow时将当前Activity设置成了半透明:

   WindowManager.LayoutParams lp = this.activity.getWindow().getAttributes();
   lp.alpha = 0.5f; //0.0-1.0
   this

猜你喜欢

转载自blog.csdn.net/chunqiuwei/article/details/131943070
今日推荐