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

Fix: multi-window mode insets problems (#236) #837

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

Conversation

radekkozak
Copy link

@radekkozak radekkozak commented Jul 19, 2020

📢 Type of change

  • [x ] Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Takes care of few WindowInsets problems with HomeActivity layout (especially toolbar related)

💡 Motivation and Context

Effectively fixes #236 problems as described in the issue

💚 How did you test it?

CircleCI + Pixel + Nexus tablet

📝 Checklist

  • I ran ./gradlew spotlessApply before submitting the PR
  • I reviewed submitted code
  • I added tests to verify changes
  • [x ] All tests passing

🔮 Next steps

📸 Screenshots / GIFs

Takes care of few WindowInsets problems with HomeActivity layout:

-  toolbar not being correctly padded when returning from multi-window mode (bottom position)
- toolbar not being correctly laid out when back to multi-window after activity was “hidden” with second activity

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

Successfully merging this pull request may close these issues.

Wrong WindowInsets after navigating from multi-window to single-window
3 participants