# navigation-drawer

A navigation drawer is a slide-in menu that lets users navigate to different sections of an app.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Gesture Navigation: Handling gesture conflicts (III)

DevFeed: [Gesture Navigation: Handling gesture conflicts (III)](<https://devfeed.tech/articles/gesture-navigation-handling-gesture-conflicts-iii-24923.md>)

Original publisher: [Read original article](<https://medium.com/androiddevelopers/gesture-navigation-handling-gesture-conflicts-8ee9c2665c69?source=rss-9303277cb6db------2>)

Author: Chris Banes

Published: 2019-10-17T00:09:31Z

Content type: article

Language: en

Sources: [Chris Banes on Medium](<https://devfeed.tech/sources/chris-banes-on-medium.md>)

Topics: [User interface design](<https://devfeed.tech/topics/ui-design.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [navigation-drawer](<https://devfeed.tech/topics/navigation-drawer.md>), [bottomsheet](<https://devfeed.tech/topics/bottomsheet.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-10](<https://devfeed.tech/tags/android-10.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [api](<https://devfeed.tech/tags/api.md>), [gesture-navigation](<https://devfeed.tech/tags/gesture-navigation.md>), [handling](<https://devfeed.tech/tags/handling.md>), [music-player](<https://devfeed.tech/tags/music-player.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [sliders](<https://devfeed.tech/tags/sliders.md>), [solutions](<https://devfeed.tech/tags/solutions.md>), [ux](<https://devfeed.tech/tags/ux.md>)

### AI overview

The excerpt recommends first checking whether a gesture conflict needs handling, then moving affected controls out of system gesture areas when practical. For a bottom-edge SeekBar, padding it by the system gesture inset can prevent the home gesture from taking priority; rearranging the layout can avoid the extra blank space that padding may create. For edge swipes, Android 10's gesture exclusion APIs can protect a control such as a SeekBar thumb, with the View API handling view-coordinate conversion and the Window API using window coordinates. Exclusion is an escape hatch because it can interfere with back navigation: Android honors at most 200dp per edge, and only the bottom-most requested 200dp; off-screen portions do not count. The excerpt says apps cannot exclude the mandatory bottom gesture area, so controls there should be moved clear of it.

### Source excerpt

Cover image by Virginia PoltrackGesture Navigation: handling gesture conflicts (III) This is the third post in our series on Gesture Navigation. If you want to skip to another post, you can find them listed below: Gesture Navigation: Going edge-to-edge (I) Gesture Navigation: Handling visual overlaps (II) Gesture Navigation: Immersive Modes (IV) The previous post marks the end of us talking about drawing to the edges. In this third post we're going to cover how to handle any gesture conflicts, between your app and the new system gestures in Android 10. What do we mean by gesture conflicts? Let's take a look at an example. Here we have a music player app, which allows the user to scrub through the current song by dragging a SeekBar. Unfortunately, the SeekBar is too close to the home gesture area resulting in the system quick-switch gesture taking over and confusing the user. The same thing can happen on any of the screen edges with gesture areas. There are plenty of common examples which can cause conflicts, such as: Navigation drawers (DrawerLayout), carousels (ViewPager), sliders (SeekBar), swipe actions on lists. Which brings us onto the question of 'how can we fix this?'. To help with this question, we've created a flow chart to help guide to one of the solutions. You can find a printable PDF version of the flow chart here. Hopefully the questions are self-explanatory, but in case you're not sure on any of them, let's explain each of them: 1. App required to hide navigation and status bars? The first question is asking if your app's main use case requires hiding of the navigation and/or status bars. By hiding we mean that they those system bars are not visible at all. It does not mean that you've made your app go edge-to-edge, or similar. Possible reasons for answering yes to this question are: You use the FLAG_FULLSCREEN WindowManager flag. Note, this can also be done via the android:windowFullscreen theme attribute, or extend from one of the Theme.XXX.Fullscre

## State of the Navigation Drawer

DevFeed: [State of the Navigation Drawer](<https://devfeed.tech/articles/state-of-the-navigation-drawer-22706.md>)

Original publisher: [Read original article](<https://medium.com/android-ui-patterns/state-of-the-navigation-drawer-1d2c8253de2a?source=rss----75dfb6474397---4>)

Author: Juhani Lehtimäki

Published: 2019-01-31T07:11:01Z

Content type: article

Language: en

Sources: [Android UI Patterns](<https://devfeed.tech/sources/android-ui-patterns-medium.md>)

Topics: [navigation-drawer](<https://devfeed.tech/topics/navigation-drawer.md>), [bottom-navigation](<https://devfeed.tech/topics/bottom-navigation.md>), [UI/UX Design](<https://devfeed.tech/topics/ui-ux-design.md>), [navigation](<https://devfeed.tech/topics/navigation.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-apps](<https://devfeed.tech/tags/android-apps.md>), [bottom-navigation](<https://devfeed.tech/tags/bottom-navigation.md>), [calendar](<https://devfeed.tech/tags/calendar.md>), [design](<https://devfeed.tech/tags/design.md>), [design-patterns](<https://devfeed.tech/tags/design-patterns.md>), [discoverability](<https://devfeed.tech/tags/discoverability.md>), [google](<https://devfeed.tech/tags/google.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [navigation-drawer](<https://devfeed.tech/tags/navigation-drawer.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ui-design](<https://devfeed.tech/tags/ui-design.md>), [ux](<https://devfeed.tech/tags/ux.md>)

### AI overview

The navigation drawer is becoming less common as primary navigation in redesigned Google apps, with bottom navigation favored for its visibility and discoverability. The drawer still appears as secondary navigation for less-used functions and, in some apps, as a filter. Bottom navigation is practical for roughly four to five items; drawers can hold many more, but their hidden contents make new features harder to discover. The article recommends using a drawer only when its capacity or secondary role justifies it.

### Source excerpt

UI design patterns evolve. Some come into fashion and some go out of fashion. A pattern, once common, over used, and pervasive has been slowly been turned into background and removed. I'm talking, of course, about the Navigation Drawer. I recently had a discussion with a customer about the Navigation Drawer and its role in the current Android ecosystem. I put forth a claim that it is being phased out where possible.. including most Google's apps. The Navigation Drawer pattern, or hamburger menu, has been receiving fair amount of criticism for quite a long time. Main reasons for the criticism has been the fact that it hides core navigation behind hidden UI. Users won't find new features added to apps or find out about the ones already there. There are a good number of sources and experiences advising against the drawer: Hamburger Menus and Hidden Navigation Hurt UX Metrics Spotify ditches the controversial 'hamburger' menu in iOS app redesign Side Drawer Navigation Could Cost Half Your User Engagement 3 Good Reasons Why You Might Want to Remove that Hamburger Menu from Your Product So is Google actually ditching the pattern in their Android apps? It is still, after all, part of the Material Design guideline. If we take a survey of Google apps that have been updated to the modern design we can find a good number of apps that used to use the drawer but now use bottom navigation as their sole navigation pattern: A selection of Google first party apps that rely on bottom navigation. Finding few Google Android apps without drawer is hardly a proof that the drawer is gone for good. However, it is a clear sign of times changing. The drawer was once something that was present everywhere. The much-more discoverability supporting bottom navigation pattern is replacing the drawer where possible. You can find much more information about the bottom navigation pattern in the Material Design guidelines. Truth is that the drawer still lives on. Even on Google's redesigned apps. A se