点击空白处使PopUpWindow消失
2016-03-05 10:21
369 查看
title: 点击空白处使PopUpWindow消失
date: 2015-08-24 20:01:44
categories: ANDROID
我的博客:http://daycoding.com
需要设置popupwindow的backgroundDrawable才能使outsideTouchable生效
date: 2015-08-24 20:01:44
categories: ANDROID
tags: popupwindow
小小程序猿我的博客:http://daycoding.com
myPopupWindow.setBackgroundDrawable(new BitmapDrawable()); myPopupWindow.setOutsideTouchable(true); myPopupWindow.setFocusable(true);
需要设置popupwindow的backgroundDrawable才能使outsideTouchable生效
相关文章推荐
- Linux中Apache+Tomcat+JK实现负载均衡和群集的完整过程
- Linux下解压命令大全
- centos 下tomcat安装
- Linux学习路线
- Linux内核分析第二周
- echart 饼图处理 数据格式化 option动态赋值 点击事件处理
- 电商系统Broadleaf文档翻译(一) - 逻辑架构Logical Architecture
- Linux的五个查找命令:find,locate,whereis,which,type
- SPRING IN ACTION 第4版笔记-第六章RENDERING WEB VIEWS-005- 使用ApacheTiles(TilesConfigurer、TilesViewResolver、<put-attribute>、<t:insertAttribute>)
- opencv中clone和copy的区别
- org.apache.commons.collections.CollectionUtils
- linux中的标准输出和输入
- 使用FMDB时,出现错误:error opening!: 14
- Apache自签ssl证书
- linux 小命令收集
- linux yum命令详解(转)
- Ranged-Based for loop vs. iterator
- Linux find命令实例解析
- cout 堆栈,operator<< 运算符重载输出问题
- Linux ls命令详解