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

Open
#1,256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Widget: FloatingActionButton
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.