You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want my dialogfragment appears with fading blured background. This pretty good lib corresponds to my needs, but i am facing issue with setting full height/width to the dialog.
By default the dialog is centered on screen et get wrap_content.
I tryed by setting style to the dialog : @null
true
false
No change at all
I tryed to set height/width dynamically in the onStart :
int width = ViewGroup.LayoutParams.MATCH_PARENT;
int height = ViewGroup.LayoutParams.MATCH_PARENT;
dialog.getWindow().setLayout(width, height);
With this the dialog take the whole width and seems to take the full height (tap anywhere do not quit dialog) but the content is stuck to the top of the view, and unable to put a layout matching the all view height (linear, Relative, Constraint...)
I reproduce this in the exemple app
Anyone have a solution or a workaround ?
The text was updated successfully, but these errors were encountered:
I want my dialogfragment appears with fading blured background. This pretty good lib corresponds to my needs, but i am facing issue with setting full height/width to the dialog.
By default the dialog is centered on screen et get wrap_content.
I tryed by setting style to the dialog :
@null
true
false
No change at all
I tryed to set height/width dynamically in the onStart :
int width = ViewGroup.LayoutParams.MATCH_PARENT;
int height = ViewGroup.LayoutParams.MATCH_PARENT;
dialog.getWindow().setLayout(width, height);
With this the dialog take the whole width and seems to take the full height (tap anywhere do not quit dialog) but the content is stuck to the top of the view, and unable to put a layout matching the all view height (linear, Relative, Constraint...)
I reproduce this in the exemple app
Anyone have a solution or a workaround ?
The text was updated successfully, but these errors were encountered: