Bug 700434: Dismiss doorhangers on touching outside it [r=mfinkle]

This commit is contained in:
Sriram Ramasubramanian 2011-11-14 15:49:06 -08:00
parent e717fb795f
commit 023d6bdc77

View File

@ -64,6 +64,7 @@ public class DoorHangerPopup extends PopupWindow {
mContext = aContext;
setBackgroundDrawable(new BitmapDrawable());
setOutsideTouchable(true);
setWindowLayoutMode(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);