When I launch my virtual machine it doesn´t match with the layout, it seems that I have activated the status bar but I already disabled in the theme.xml
The code of the layout:
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/white"
tools:context=".MainActivity">
And I already disable the status bar, here´s the code of the theme.xml:
<style name="Theme.Ev" parent="Theme.MaterialComponents.DayNight.NoActionBar"> <!-- Hiding the ActionBar with the parent -->
<item name="colorPrimary">@color/logo_colorblack</item>
<item name="colorPrimaryVariant">@color/logo_colorblack</item>
<item name="colorOnPrimary">@color/logo_colorblack</item>
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<item name="android:statusBarColor">@color/gray_pewter</item>
</style>
Here is the image of my project: comparison
Thank you for reading this.

