Android Context Menu Back Button -
: It follows the "expected behavior" pattern. Users instinctively use the Back gesture to undo an accidental long-press or cancel a selection.
: When a context menu is active, pressing Back should close the menu without performing any action, returning the user to the previous state of the UI. Android Context Menu Back Button
: Using the PopupMenu class also handles dismissal out of the box. : It follows the "expected behavior" pattern
: The context menu is treated as a temporary "top" layer. The system intercepts the Back event to pop this layer off before it affects the underlying activity or fragment. Android Context Menu Back Button