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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Fixing the drawer getting cut off and reformatting. #347

Merged
merged 1 commit into from
Oct 5, 2018

Conversation

eoji
Copy link
Contributor

@eoji eoji commented Oct 5, 2018

what

Finally had time to address #230 馃 Now the drawer won't get cut off for devices with cutouts.

how

It was actually pretty straight-forward (as straight-forward as Android can be 馃槢)
The default value of fitsSystemWindows is true so we don't need it in the DrawerLayout but for NavigationView we do, so it draws below the status bar.

before and after

cool tipz

There's an option in Developer Settings to simulate a cutout. That's how I tested this out!

image

@eoji eoji added the bug 馃悰 label Oct 5, 2018
@eoji eoji requested a review from Rcureton October 5, 2018 15:47
@eoji eoji merged commit f156061 into master Oct 5, 2018
@eoji eoji deleted the io/notch-life branch October 5, 2018 17:00
@eoji
Copy link
Contributor Author

eoji commented Oct 5, 2018

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

Successfully merging this pull request may close these issues.

None yet

2 participants