Android, my app is displaying in fullscreen

Solved
guineeguinee Posted messages 184 Registration date   Status Member Last intervention   -  
 Guine -
Hello, I'm developing an Android application with Android Studio, and my problem is that some of my activities display in full screen like this...
And others display normally (as I want), I would like to know how to bring all the layouts to this display...

Note that I'm using ListViews and I've added a MarginTop of 5dp to all my ListViews, but the problem is not resolved.
Thank you for your help!

3 answers

BunoCS Posted messages 436 Registration date   Status Moderator Last intervention   3 930
 
Hello,

Your status bar must not be transparent:
<item name="android:windowTranslucentStatus">false</item>


--
@+
Buno, Modo CS-CCM
The urgent is done, the impossible is underway. For miracles, provide for a delay...
0
guineeguinee Posted messages 184 Registration date   Status Member Last intervention   38
 
Thank you Bruno, I set android:fitsSystemWindows="false" to "false" and it works.
Thank you BunoCS
0
Guine
 

To put in styles.xml

0