mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 700434: Dismiss doorhangers on touching outside it [r=mfinkle]
This commit is contained in:
parent
e717fb795f
commit
023d6bdc77
@ -64,6 +64,7 @@ public class DoorHangerPopup extends PopupWindow {
|
|||||||
mContext = aContext;
|
mContext = aContext;
|
||||||
|
|
||||||
setBackgroundDrawable(new BitmapDrawable());
|
setBackgroundDrawable(new BitmapDrawable());
|
||||||
|
setOutsideTouchable(true);
|
||||||
setWindowLayoutMode(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
setWindowLayoutMode(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||||
|
|
||||||
LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||||
|
Loading…
Reference in New Issue
Block a user