Fixed
Status Update
Comments
jo...@google.com <jo...@google.com>
jb...@google.com <jb...@google.com>
he...@gmail.com <he...@gmail.com> #2
i don't know it just some lines of code, why you don't care abot it?Google?
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit a3644b966f658b5b726eb8dc7c60d370194d250d
Author: Yuichi Araki <yaraki@google.com>
Date: Fri Dec 08 16:48:36 2023
enableEdgeToEdge draws around display cutout
Bug: 311173461
Test: EdgeToEdgeTest
Change-Id: I02a53d632d9c95fe466da04ce500a8d471e5001a
M activity/activity/src/androidTest/java/androidx/activity/EdgeToEdgeTest.kt
M activity/activity/src/main/java/androidx/activity/EdgeToEdge.kt
https://android-review.googlesource.com/2865416
Branch: androidx-main
commit a3644b966f658b5b726eb8dc7c60d370194d250d
Author: Yuichi Araki <yaraki@google.com>
Date: Fri Dec 08 16:48:36 2023
enableEdgeToEdge draws around display cutout
Bug: 311173461
Test: EdgeToEdgeTest
Change-Id: I02a53d632d9c95fe466da04ce500a8d471e5001a
M activity/activity/src/androidTest/java/androidx/activity/EdgeToEdgeTest.kt
M activity/activity/src/main/java/androidx/activity/EdgeToEdge.kt
ya...@google.com <ya...@google.com>
il...@google.com <il...@google.com> #4
This has been fixed and will be available in Activity 1.9.0-alpha02.
na...@google.com <na...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.activity:activity:1.9.0-alpha02
Description
Component used: Activity
Version used: 1.8.0
Devices/Android versions reproduced on: Pixel 7 Pro API 34 emulator
enableEdgeToEdge
by default does not add drawing behind the display cutout in landscape mode (see default.png attachment), therefore not really giving an edge-to-edge experience.This could easily be added with this snippet: