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

[WIP] Full window overlay for android #2425

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

maciekstosio
Copy link
Contributor

Description

This PR intends to introduce FWO for Android. For now PR is a bit messy, posted just to showcase solution that could be useful for #2421.

Status:

  • edge to edge ✅
  • passing events to overlayed content ⚠️ (depending on WindowManager.LayoutParams not always reliable or the clickes were shifted)
  • Covering content ⚠️ (it is always on top when using WindowOverlayCompat.TYPE_SYSTEM_OVERLAY, but requires granting permission "draw over other apps" - which we can't require from the user as a library, the workaround here can be putting WindowOverlayCompat.TYPE_SYSTEM_OVERLAY behind flag and using TYPE_APPLICATION otherwise)

Checklist

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