leinardi / leinardi/FloatingActionButtonSpeedDial
Custom Fab Size
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 149
- PR merge metrics
- No merged PRs in 30d
Description
Step 1: Are you in the right place?
- I have verified there are no duplicate active or recent bugs, questions, or requests
- I have verified that I am using the latest version of the library.
Step 2: Describe your environment
- Library version:
3.1.1 - Android version:
all
Step 3: Describe the problem:
Option to customize fab size is not available. There is a default padding around the fab and if a custom size if given to the speedDialView the view starts to get cut from the bottom and start
Steps to reproduce:
- Set attribute layout_width = "50dp"
- Set attribute layout_height = "50dp"
Observed Results:
- The Fav view starts to cut from start and bottom
Expected Result:
- The whole size of the view would reduce
Relevant Code:
android:layout_width="50dp"
android:layout_height="50dp"

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 locating the speed-dial view and its handling of Android layout_width and layout_height, using the 50dp example as the reproduction case. Check how the default padding affects a custom-sized FAB and verify that the complete view remains visible at the requested dimensions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- design, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100