can anyone link me to documentation that shows you...
# android
e
can anyone link me to documentation that shows you shouldn’t disable the back button? i know this is incredibly unusual to do but can’t find official support that shows you shouldn’t do this for a designer.
😶 4
z
As a developer you can do what you want, as long as the user expects to see something happen when they do something. The moment you do something unexpected it’s bad for the user Funny enough, the source code for onBackPressed says “you can do whatever you want”
e
Yeah, I was hoping to find something outlining that disabling back is pretty unusual.
e
was thinking of sending that but it doesn’t strongly back up allowing back as much as possible
but i may go with it, thanks
r
I felt this was a pretty strong point
ensuring that users can apply the same heuristics and patterns in navigation as they move between apps
i
Not much has changed since this 2012 gem:

https://www.youtube.com/watch?v=631T7B8HOv4

The docs do specifically call out that you should not add a Back button to your app's UI and that Back should do something: https://developer.android.com/guide/navigation/navigation-custom-back
c
That was a great video, thanks for the link.
Material does recommend adding a back button though. Top-left in Gmail, Google Fit, Slack... https://material.io/design/navigation/understanding-navigation.html#reverse-navigation
i
You'll note how the material guidelines specifically call out the system back button for reverse chronological (back) navigation, separate from Upward navigation
c
Thanks, sorry for the confusion.