JakeWharton / u2020

A sample Android app which showcases advanced usage of Dagger among other open source libraries.
https://www.youtube.com/watch?v=0XHx9jtxIxU
Apache License 2.0
5.68k stars 930 forks source link

Debug drawer doesn't open in landscape #247

Closed cxzhang2 closed 7 years ago

cxzhang2 commented 8 years ago

Nexus 5x on Marshmallow.

Soft navigation buttons block the right edge of the screen. Can't open debug drawer.

image

mattprecious commented 8 years ago

The drawer has a pretty large touch slop. You can press beside the navigation bar and it'll register as an edge press. It's not ideal, but it works.

JakeWharton commented 7 years ago

There's always going to be a configuration where the navigation bar ends up next to where the drawer should be opened. Internally we bind the spacebar to open the drawer for use on the emulator. Beyond that, like Matt said, putting your finger on the leftmost part of the app window will peek the drawer and allow it to be opened.