Isn't this functionality already working?: - back in a submenu should return to menu - back in menu should close it The predictive back gesture framework aims to show an animated preview of where the user would get when pressing back - https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture Not sure we need that for the menu/submenu.
Bug 1885583 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Isn't this functionality already working?: - back in a submenu should return to menu - back in menu should close it Is the default behavior for when swiping horizontally from the edge of the screen - this gesture is seen as a back press. The predictive back gesture framework aims to show an animated preview of where the user would get when pressing back - https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture Not sure we need that for the menu/submenu.