Skip to content

Conversation

@snowtimeglass
Copy link
Contributor

@snowtimeglass snowtimeglass commented Nov 30, 2025

Purpose / Description

Make the FAB menu on the Deck Picker collapse with the ESC key regardless of which FAB button has focus.

Approach

Add handling for KeyEvent.KEYCODE_ESCAPE to the common listener.

How Has This Been Tested?

Checked on a physical device (Android 15 / SDK 15)

Record_2025-11-30-21-31-55_7b5228b5a93c00ecba98ecb0735c59e2.mp4

Also, confirmed that:

  • ESC key works for each labels as well
  • Enter key works for each FAB button as before

Checklist

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

Make the FAB menu on the Deck Picker collapse with the ESC key
regardless of which FAB button has focus.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant