Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FloatingActionButton, square button below API level 17

I am using android.support.design.widget.FloatingActionButton from the new Design Support library 22.2.0, in my layout file. It is working fine but it shows a square button below API level 17

API 16

like image 307
Albin Mathew Avatar asked Jun 04 '15 05:06

Albin Mathew


1 Answers

This is known by Google and will be fix soon in the next version of the Design Support Library, see this issue: FAB Appears as a square on API 16. It should only concern API 16.

The workaround, proposed in the same thread, is to add app:borderWidth="0dp" to your FAB.

like image 119
Gaëtan Avatar answered Oct 03 '22 21:10

Gaëtan