-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support edge to edge on android 15 #9759
base: master
Are you sure you want to change the base?
Conversation
Diffuse output:
APK
DEX
|
990dd27
to
23100c9
Compare
super.onCreate(savedInstanceState) | ||
|
||
setContent { | ||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { | ||
window.isNavigationBarContrastEnforced = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
window.isNavigationBarContrastEnforced
ensures that the 3-button navigation bar has enough contrast when a fully transparent background is requested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for connect-example
Summary
Android 35 enforces edge-to-edge displays on all activities. We need to modify our screens to support this.
This is what an app that doesn't support edge to edge looks like on android 35
This is what edge to edge support looks like
Motivation
JIRA
Testing
Recordings
PaymentSheeet With edge to edge update
https://github.com/user-attachments/assets/696f06ea-973f-4cb1-a873-e823ad65b84d
PaymentSheeet Without edge to edge update
https://github.com/user-attachments/assets/84943f6e-d91e-426a-bb60-c2e2c349b9eb
Identity With edge to edge update
https://github.com/user-attachments/assets/657e2c5e-7edc-4338-af4b-fc85a4a7a6fb
Identity Without edge to edge update
https://github.com/user-attachments/assets/b34878d0-d07c-4e12-811d-cd88e52d1584
Connect With edge to edge update
https://github.com/user-attachments/assets/77e1c9ce-4892-4424-a354-69f4c908aa27
Connect Without edge to edge update
https://github.com/user-attachments/assets/ef7b440b-9f4b-4d0e-b7c5-f5497ee66144
3ds With edge to edge update
https://github.com/user-attachments/assets/b58ca04f-9e79-499d-8316-874fa3a1a334
3ds Without edge to edge update
https://github.com/user-attachments/assets/1e924eee-7089-466c-a01f-92aecb6ce4a9
Financial Connections With edge to edge update
https://github.com/user-attachments/assets/6c34a376-9b18-4d35-aec1-4989270bc43a
Financial Connections Without edge to edge update
https://github.com/user-attachments/assets/74ccedee-75c0-430a-ba2a-771fc75c7584
CardScan With edge to edge update
https://github.com/user-attachments/assets/ed8477b1-9b58-4c22-84ec-92c12068fea1
CardScan Without edge to edge update
https://github.com/user-attachments/assets/92361939-a905-48f9-8cf6-3dfd1bd49038
TODO
JIRA - Screens that use
supportActionBar
have a transparent status bar. These only appear on the example apps, but they need to be resolved.Changelog