In our android app we need to create a floating action button which isn\'t the default circle but a square with with three rounded corners. The fab looks like in the image below
What you're looking for is changing the background of your button
android:background="@drawable/my_shape"