I want to make the dialog box full screen, but not hide the status bar.
If the usage style is Theme_Light_NoTitleBar_Fullscreen , the dialog box is full screen.
If the Theme_Material_Light_NoActionBar_TranslucentDecor style is Theme_Material_Light_NoActionBar_TranslucentDecor , it works, but the top of the dialog box becomes transparent. I can do this better by querying the height of the status bar and add a top complement to my dialog layout. This solution works fine, except that it does not work if I connected an animation to it.
I am very confused why Google makes this dialog box so difficult to use, and if I am doing the full-screen dialog correctly here?
source share