leinardi / leinardi/FloatingActionButtonSpeedDial
Set custom action button color via layout variable
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 149
- PR merge metrics
- No merged PRs in 30d
Description
- Library version:
3.1.1 - Android version:
10 - Support library version:
com.google.android.material:material:1.2.1 - Device brand:
doesn't matter - Device model:
doesn't matter
Step 3: Describe the problem:
Steps to reproduce:
- creating a menu via menu.xml
- use this menu in fab
- white icons in menu.xml are visible as black icons
- action button background is not configurable (always uses colorPrimary from theme)
Expected Results:
- set color in layout.xml would be very useful
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 inspecting how the FAB uses menu.xml and the surrounding layout.xml attributes, then trace where the action button background and menu icon tint are selected. Done means a layout-configurable action button color is supported and white menu icons remain visible; verify the behavior on the reported Android and Material library versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100