I\'m using card view for floating action button in android material design. I\'m using following code for get the circle
To achieve a circular shape using Card view you can set the shape property, android:shape="ring". app:cardCornerRadius should be set to half the width or height of the child view