<span style="white-space:pre"> </span>pop = new PopupWindow(view, LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT, false);
<span style="white-space:pre"> </span>pop.setBackgroundDrawable(new PaintDrawable());
<span style="white-space:pre"> </span>// 设置点击窗口外边窗口消失
pop.setOutsideTouchable(true);
// 设置此参数获得焦点,否则无法点击
pop.setFocusable(true);
开发中的popwindow
最新推荐文章于 2022-11-29 10:09:39 发布