Set the frame color to FAB

This message may be a duplicate, but I want to make a floating action button (FAB) (from the design support library) with a black background and borders the same color as my main color.

I read the @vipul_asri answer shown in this question .

But when I replace the โ€œtransparentโ€ color with black (or any other), it changes the background of my FAB to the color backgroundTint , which also has no border.

Is it difficult to set borders on the FAB button? Does anyone know how to achieve this?

Thank you in advance for your answers.

+6
source share

All Articles