12 July 2019
One of the biggest changes coming with the Android Q is definitely the full gesture navigation support, which is thankfully optional, so you can choose to disable it completely. But changing the navigation behavior made several users and developers confused in a certain way. Navigation drawers were one of the biggest complaints and examples of interaction conflicts with the back gesture. So, to address this, Android Q Beta 5 is coming with a solution.
As demonstrated by Android Developer Relations member Chris Banes, Google is now changing the behavior of the back navigation gesture so as to avoid conflicts with the drawer. As mentioned by Banes, you will now be able to open the drawer by peeking the drawer, and then swiping. A user would just need to hold the finger at the left edge of the screen and then swipe into the hamburger menu. This clearly prevents accidental trigger of the back gesture.
🚧 The drawer behavior is changing. Users will be able to open the drawer by peeking the drawer, and then swiping. Big benefit is that this works with existing apps with "old" DrawerLayout versions. pic.twitter.com/WVyOzQFzHO— Chris Banes (@chrisbanes) July 2, 2019
To the uninitiated ones, the full gesture navigation lets you use the entire screen for more immersive display experience. But the swipe does bring some conflicts with some controls which also require a swipe to access them as well. For instance, the drawers, sliders, and sheets all require swipe or drag to perform an action. So, Google recommended app developers a couple of ways so that their apps could tell the system which areas they need to exclude from the touch events, like back gesture.
Below is how Google told developers to do to avoid certain conflicts before the new solution-
According to Google’s roadmap for official development of Android Q, the Android Q Beta 5 should arrive during summer with Android Beta 6 following it. The final stable release of Android Q should come sometime in Q3 2019.