title: 点击空白处使PopUpWindow消失
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生效