From 55efc715d77436a74b04a8fbaedd8338667ecb2f Mon Sep 17 00:00:00 2001 From: Konstantin Svist Date: Fri, 1 Nov 2024 17:42:23 -0700 Subject: [PATCH] Fix layout for screens where it's merged with status bar Should fix #1400 --- app/src/main/res/layout/activity_custom_rules.xml | 3 ++- app/src/main/res/layout/activity_prefs.xml | 3 ++- app/src/main/res/layout/customscript.xml | 3 ++- app/src/main/res/layout/help_about.xml | 3 ++- app/src/main/res/layout/log_view.xml | 3 ++- app/src/main/res/layout/rules.xml | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/activity_custom_rules.xml b/app/src/main/res/layout/activity_custom_rules.xml index 2a8a155e9..aebff70c5 100644 --- a/app/src/main/res/layout/activity_custom_rules.xml +++ b/app/src/main/res/layout/activity_custom_rules.xml @@ -5,7 +5,8 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" - tools:context="dev.ukanth.ufirewall.activity.CustomRulesActivity"> + tools:context="dev.ukanth.ufirewall.activity.CustomRulesActivity" + android:fitsSystemWindows="true"> + android:orientation="vertical" + android:fitsSystemWindows="true"> + android:orientation="vertical" + android:fitsSystemWindows="true"> + android:orientation="vertical" + android:fitsSystemWindows="true"> + android:orientation="vertical" + android:fitsSystemWindows="true"> + android:duplicateParentState="false" + android:fitsSystemWindows="true">