From 115c5e9b51f8da7e99004bad8f315e425c758857 Mon Sep 17 00:00:00 2001 From: Alec Larson <1925840+aleclarson@users.noreply.github.com> Date: Wed, 30 Sep 2026 13:37:05 -0400 Subject: [PATCH] fix: keep ErrorReportActivity content below the status bar on edge-to-edge targetSdk 35 forces edge-to-edge, so the debug crash screen's root layout drew behind the status bar and clipped the top error banner. Setting fitsSystemWindows on the root RelativeLayout pads the content by the system window insets (status bar, nav bar, display cutout); it is a no-op on older targets where the decor consumes those insets. Closes #2053 --- test-app/app/src/debug/res/layout/error_activity.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/test-app/app/src/debug/res/layout/error_activity.xml b/test-app/app/src/debug/res/layout/error_activity.xml index 9e614f6f3..c29804d54 100644 --- a/test-app/app/src/debug/res/layout/error_activity.xml +++ b/test-app/app/src/debug/res/layout/error_activity.xml @@ -5,6 +5,7 @@ android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="@color/gray" + android:fitsSystemWindows="true" tools:context="com.tns.ErrorReportActivity" android:theme="@style/Widget.AppCompat.Light.ActionBar">