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: borders on fullscreen Reviewer #9278
Conversation
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.
One wish for a strongly typed set of layout ints, but really that's a wish as it's clearly not a regression, just that you might know them off-hand at this point and know how to make the intdef or enum really quickly at this point.
If not, just hit the merge button - works for me
Fair comment - I was considering it anyway, held off as the only other usage was directly above |
More work than I thought, but it caught a bug (not in this code), so all worth it |
Will this fix #9279 as well? it might... |
c4064f4
to
713f1eb
Compare
No it doesn't, there's something else going on there. Force pushed & updated code |
unit test fail is legit - looks like a symbol mixup during re-shape-basing |
Refactoring requested in a review for clarity
When going fullscreen, the reviewer had white/blue borders rather than filling the content Cause: d0d1edd moved to a single xml file for the navigation drawer, rather than copy/pasting it into each file Some layouts excluded `android:fitsSystemWindows="true"`, but the new xml file always included this. This caused the layout problems fix: add method: fitsSystemWindows and layout without the variable Fixes 9267
713f1eb
to
5beac3a
Compare
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.
Wow, our full screen mode proliferation is kind of crazy.
This is now a real advance in the state of things I think, the reshape is a significant positive step to me
...and you got a bug :-)
When going fullscreen, the reviewer had white/blue borders rather than
filling the content
Cause:
d0d1edd moved to a single xml file for
the navigation drawer, rather than copy/pasting it into each file
Some layouts excluded
android:fitsSystemWindows="true"
, but the newxml file always included this.
This caused the layout problems
Fixes
Fixes #9267
Approach
fitsSystemWindows
and layout without the variableHow Has This Been Tested?
My Android 11
Learning (optional, can help others)
PhoneWindow
on Android Code SearchChecklist
if
statements)