Skip to content

[Android 16] Updated edge to edge UI Mode Migration Docs #12148

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jesswrd
Copy link

@jesswrd jesswrd commented Jun 23, 2025

Updated Edge to Edge Migration Doc for Android 16. Flutter apps targeting Android 16 or later, cannot opt-out of edge-to-edge mode.

Fixes flutter/flutter#165329

Presubmit checklist

  • This PR is marked as draft with an explanation if not meant to land until a future stable release.
  • This PR doesn’t contain automatically generated corrections (Grammarly or similar).
  • This PR follows the Google Developer Documentation Style Guidelines — for example, it doesn’t use i.e. or e.g., and it avoids I and we (first person).
  • This PR uses semantic line breaks of 80 characters or fewer.

@jesswrd jesswrd requested review from sfshaza2, antfitch, parlough and a team as code owners June 23, 2025 19:03
@flutter-website-bot
Copy link
Collaborator

flutter-website-bot commented Jun 23, 2025

Visit the preview URL for this PR (updated for commit 2e737f8):

https://flutter-docs-prod--pr12148-uimode-docs-update-dplolqiw.web.app

@jesswrd jesswrd requested a review from camsim99 June 23, 2025 19:07
Copy link
Contributor

@camsim99 camsim99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :) just left a question about styling

your app automatically displays in edge-to-edge mode,
as documented on the [`SystemUiMode`][] API page.
To maintain non-edge-to-edge app behavior
(including an unset `SystemUiMode`),
follow the steps in [migration guide](#migration-guide).

Note: If your Flutter app targets Android SDK version 16 or later,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should also be a :::note to draw people's attention? Maybe another reviewer can weigh in here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Update documentation to warn users about R.attr#windowOptOutEdgeToEdgeEnforcement deprecation
3 participants