Skip to content

Commit 375d29e

Browse files
authored
Add fitsSystemWindows for edge-to-edge support (#238)
1 parent 2a3d96b commit 375d29e

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.
33

44
## UNRELEASED
55
### Added
6+
### Changed
7+
### Removed
8+
### Fixed
9+
10+
## [0.80.4]
11+
### Added
12+
* ui: Improve edge-to-edge support for apps targing API level 35
613
* ui: Add UI for deposit return vouchers (APPS-1643)
714
* core: Handle invalid items (APPS-2039)
815
* ui/core: Integrate new states for deposit return vouchers into the checkout process and handle them

ui/src/main/res/layout/snabble_activity_checkout.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
android:id="@+id/root"
55
android:layout_width="match_parent"
66
android:layout_height="match_parent"
7+
android:fitsSystemWindows="true"
78
android:orientation="vertical">
89

910
<!-- Workaround for alignment bug in MaterialToolbar when setting padding -->

ui/src/main/res/layout/snabble_activity_simple_fragment.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
android:id="@+id/content"
44
android:layout_width="match_parent"
5-
android:layout_height="match_parent">
5+
android:layout_height="match_parent"
6+
android:fitsSystemWindows="true">
67

7-
</FrameLayout>
8+
</FrameLayout>

ui/src/main/res/layout/snabble_activity_simple_fragment_with_toolbar.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
xmlns:app="http://schemas.android.com/apk/res-auto"
44
android:id="@+id/root"
55
android:layout_width="match_parent"
6-
android:layout_height="match_parent">
6+
android:layout_height="match_parent"
7+
android:fitsSystemWindows="true">
78

89
<com.google.android.material.appbar.AppBarLayout
910
android:id="@+id/app_bar_layout"

0 commit comments

Comments
 (0)