-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
public OverlayDialog(Activity activity) {
super(activity, R.style.OverlayDialog);
WindowManager.LayoutParams params = getWindow().getAttributes();
params.type = TYPE_SYSTEM_ERROR;
params.dimAmount = 0.0F; // transparent
params.width = 0;
params.height = 0;
params.gravity = Gravity.BOTTOM;
getWindow().setAttributes(params);
getWindow().setFlags(FLAG_SHOW_WHEN_LOCKED | FLAG_NOT_TOUCH_MODAL, 0xffffff);
setOwnerActivity(activity);
setCancelable(false);
}
I updated the styles.xml with the OverlayDialog Resource but there is an error displayed - Expected Resource of type attr
what am i doing wrong ?
any help will be appreciated thank you
Metadata
Metadata
Assignees
Labels
No labels