Skip to content
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

Use safe insets to draw content #244

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thesohelshaikh
Copy link
Contributor

Description

Currently edge to edge is enabled but we are not making use of safe insets which causes app to draw behind display cutouts. This is not a good UX, especially in landscape mode.

Reference: https://developer.android.com/develop/ui/compose/layouts/insets

Screenshots

Before
Screenshot 2024-11-23 at 01 06 15

After
Screenshot 2024-11-23 at 01 07 06

Currently edge to edge is enabled but we are not making use of safe
insets which causes app to draw behind display cutouts. This is
not a good UX, especially in landscape mode.
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.

1 participant