material-components / material-components/material-components-android
[FAB] Request: add long clicking toast to be shown for the floating action item, just as done for Action bar items
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Not quite.
**Describe the solution you'd like**
https://issuetracker.google.com/issues/154896770
https://issuetracker.google.com/issues/37012911
**Describe alternatives you've considered**
None.
**Additional context**
Just that for action items of Toolbar, there is a way to get to know what the icon means, but for FAB there is nothing.
App developers should be encouraged to easily explain for people who are not familiar with the icons - to teach them what they mean.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the FAB behavior and comparing it with the existing long-click toast behavior for Toolbar action items. Read the two linked Google issue reports for the intended interaction and accessibility expectations. Done means developers can provide an explanatory toast for a long-pressed FAB, with behavior consistent with action bar items.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- design, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100