Android make Dialog fullscreen with status bar showing
<p>I want to make a dialog box with full screen but not hiding the status bar.</p>

<p>If use style <code>Theme_Light_NoTitleBar_Fullscreen</code>, the dialog box occupies the whole screen.</p>

<p>If use style <code>Theme_Material_Light_NoActionBar_TranslucentDecor</code>, it seems working but the top of the dialog box actually is becoming transparent. I can make it better by enquiring the status bar height and add top padding to my dialog layout. This solution seems works fine, except it does not work if I attached an animation to it.</p>

<p>I am very confused why Google make the dialog box so complicated to use, and if I am doing correctly to make a full screen dialog box here?</p>