leinardi / FloatingActionButtonSpeedDial

A Floating Action Button Speed Dial implementation for Android that follows the Material Design specification (https://material.io/components/buttons-floating-action-button#types-of-transitions)
Apache License 2.0
1.46k stars 140 forks source link

Custom Fab Size #155

Open sakshampruthi opened 4 years ago

sakshampruthi commented 4 years ago

Step 1: Are you in the right place?

Step 2: Describe your environment

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:

  1. Set attribute layout_width = "50dp"
  2. Set attribute layout_height = "50dp"

Observed Results:

Expected Result:

Relevant Code:

    android:layout_width="50dp"
    android:layout_height="50dp"

image

tomford92 commented 1 year ago

I would also like the fab to have no padding, its messing up my alignment with other buttons/fabs