Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5dd09786 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Fix layout overlap with the status bar

parent 93df524a
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
        android:layout_width="match_parent"
        android:orientation="vertical"
        android:background="@color/color_default_background"
        android:fitsSystemWindows="true"
        android:layout_height="match_parent">

    <com.google.android.material.appbar.AppBarLayout
+3 −0
Original line number Diff line number Diff line
@@ -14,5 +14,8 @@
    <style name="AboutTheme" parent="AboutBaseTheme">
        <item name="android:windowLightStatusBar">true</item>
        <item name="android:windowLightNavigationBar">true</item>

        <!-- Disable edge-to-edge -->
        <item name="android:fitsSystemWindows">true</item>
    </style>
</resources>
 No newline at end of file
+4 −1
Original line number Diff line number Diff line
@@ -183,6 +183,9 @@
        <item name="actionMenuTextColor">@color/e_secondary_text_color</item>
        <item name="android:textColorPrimary">@color/accent</item>
        <item name="colorAccent">@color/accent</item>

        <!-- Disable edge-to-edge -->
        <item name="android:fitsSystemWindows">true</item>
    </style>

    <style name="MyActionBar" parent="@android:style/Widget.Holo.Light.ActionBar">
@@ -257,7 +260,7 @@
    </style>

    <style name="actionColorBar">
        <item name="android:layout_height">@dimen/abc_action_bar_default_height_material</item>
        <item name="android:layout_height">0dp</item>
    </style>