Skip to content

Commit

Permalink
Fix layout for screens where it's merged with status bar
Browse files Browse the repository at this point in the history
Should fix #1400
  • Loading branch information
Fry-kun committed Nov 2, 2024
1 parent d13af7e commit 55efc71
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_custom_rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">

<androidx.appcompat.widget.Toolbar
android:id="@+id/custom_toolbar_rules"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:orientation="vertical"
android:fitsSystemWindows="true">

<androidx.appcompat.widget.Toolbar
android:layout_width="match_parent"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/customscript.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
android:orientation="vertical"
android:fitsSystemWindows="true">

<androidx.appcompat.widget.Toolbar
android:id="@+id/custom_toolbar"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/help_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:duplicateParentState="false"
android:orientation="vertical">
android:orientation="vertical"
android:fitsSystemWindows="true">

<androidx.appcompat.widget.Toolbar
android:id="@+id/help_toolbar"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/log_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
android:layout_height="fill_parent"
android:duplicateParentState="false"
android:background="?attr/itemBackground"
android:orientation="vertical">
android:orientation="vertical"
android:fitsSystemWindows="true">

<androidx.appcompat.widget.Toolbar
android:id="@+id/rule_toolbar"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="?attr/itemBackground"
android:duplicateParentState="false">
android:duplicateParentState="false"
android:fitsSystemWindows="true">

<androidx.appcompat.widget.Toolbar
android:id="@+id/rule_toolbar"
Expand Down

0 comments on commit 55efc71

Please sign in to comment.