Change The Shape Of Floating Action Button
I want to add a floating action button into my layout. would like to ask how to customized and change the shape of floating action button to your own icon?
Solution 1:
If you want to change the "shape" then you'll probably have to create your own implementation of FAB with a custom shape, perhaps rectangular or square.
To change the icon, you just have to use the android:src
attribute and point to the appropriate drawable. FAB is nothing more than an ImageView
with super powers.
Post a Comment for "Change The Shape Of Floating Action Button"