Skip to content

Commit 9f47546

Browse files
committed
Fix UI layout issue on Android 15 (edge-to-edge mode)
1 parent 92b7449 commit 9f47546

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/src/main/res/layout/activity_add_edit_fruit.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
xmlns:tools="http://schemas.android.com/tools"
55
android:layout_width="match_parent"
66
android:layout_height="match_parent"
7+
android:fitsSystemWindows="true"
78
android:orientation="vertical"
89
android:padding="16dp"
910
tools:context="de.raphaelebner.roomdatabasebackup.sample.ActivityAddEditFruit">

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
android:id="@+id/cl_main"
66
android:layout_width="match_parent"
77
android:layout_height="match_parent"
8+
android:fitsSystemWindows="true"
89
android:paddingBottom="16dp"
910
tools:ignore="HardcodedText"
1011
tools:context=".MainActivity">

0 commit comments

Comments
 (0)