//自定义布局 View popContent = View.inflate(this,R.layout.pop_layout,null);//显示popupWindow = new PopupWindow(popContent, ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);popupWindow.showAtLocation(biao, Gravity.BOTTOM,0,0);//取消popupWindow.dismiss();
定义 popupWindow
最新推荐文章于 2022-05-23 10:02:53 发布