PopupWindow
2016-04-22 16:33
246 查看
PopupWindow
构造函数:PopupWindow(View contentView, int width, int height); PopupWindow(View contentView, int width, int height, boolean focusable); PopupWindow(int width, int height)
focusable=false的话,多次new会重叠起来
设置focusable=true后,焦点会在PopupWindow上,也就是说,其他地方无法点击到了,不监听的话返回键也失效,给它设置个
setBackgroundDrawable(new ColorDrawable());
就好了
相关文章推荐
- opencv-均值滤波blur解析
- tomcat原理
- OpenCv学习笔记(二)--Mat矩阵(图像容器)的创建及CV_8UC1,CV_8UC2等参数详解
- 算法Sedgewick第四版-第1章基础-2.1Elementary Sortss-004希尔排序法(Shell Sort)
- openstack中的setup.py和setup.cfg的理解
- 部署ArcGIS JS API 离线包(Tomcat与IIS)
- bash脚本中的普通数组和关联数组
- hadoop三个配置文件的参数含义说明
- Linux系统yum命令安装软件时保留(下载)rpm包 -- 转载
- 【转】 Linux makefile 教程 非常详细,且易懂
- OpenGL粒子系统
- Show running processes with file name
- NTP服务及时间同步(CentOS6.x)
- Linux基础之文件权限LLinux
- 用saltapi远程操作tomcat启停时,输出日志乱码再解决
- linux下文件删除
- opencv摄像头视频+帧保存为图片
- USM锐化之openCV实现,附赠调整对比度函数
- 极客学院Hadoop入门视频知识总结
- OpenCV实现USM锐化