wangjiegulu / RapidFloatingActionButton

Quick solutions for Floating Action Button,RapidFloatingActionButton(RFAB)
Apache License 2.0
1.29k stars 254 forks source link

setting our own icon to FAB button , doesn't fit the FAB button circle. #40

Open ajinkyaw opened 5 years ago

ajinkyaw commented 5 years ago

I am setting my own icon to FAB. but it is not fitting in the FAB button , instead it is showing padding to the radius. Sharing the image of the view. As you can see the icon inside the FAB and white space outside the remaining area.

fab

Please guide me through.

anaNedicLotusFlare commented 5 years ago

Can you just get .svg of what should be in the center of the fab, that is of those 3 dots? Android automatically shrinks your drawable to just fit the middle of the fab.

Set the color you wish for the rest of the fab.