FloatingActionButtonSpeedDial
FloatingActionButtonSpeedDial copied to clipboard
FAB shadow is rendered wrongly on API 15
On the Sony Xperia Tipo (API 15) the shadow behind the FAB isn't properly aligned with the button - a white line is visible between the button and its shadow at the bottom left and right corners.
This is a bug of the FloatingActionButton
from the Design library. I have open an issue, feel free to star it: https://issuetracker.google.com/issues/77303906
Related to #11
We have another FAB in the app where this doesn't seem to happen. Any thoughts about what might be different between the two FABs?
Yep, just try to change the size of the FAB programmatically (define it mini in XML and than set it to normal in Java/Kotlin:
// fab has app:fabSize attribute set to "mini"
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab2);
fab.setSize(FloatingActionButton.SIZE_NORMAL);
This issue has been automatically marked as stale because it has not had activity in the last 60 days.