I show a dialog box in my application, and I notice that even when I set the y position of the fragments at the bottom of the screen, a visible field still appears:
Display display = getActivity().getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
windowParams.y = size.y;
In the next screenshot, you see that the light blue (my dialogical fragment) is still at some distance from the bottom of the screen, despite the fact that it is installed at the bottom of the screen. How to remove this field?

source
share