https://kotlinlang.org logo
Title
u

user

07/22/2022, 9:01 AM
Quastion aboud FloatingActionButton (diamond) I trying to make FAB with diamond shape.

https://i.stack.imgur.com/nG37d.png

A lot of articles is saying the same:

https://i.stack.imgur.com/Vv9Te.png

Ok, let's go to my code: And the result is:

https://i.stack.imgur.com/BYz8Q.png

Whats wrong with this FAB ? Why it is circle instead of diamond shape ? It should be diamond, like examples in all articles all over...