Description:
As the title says, the fabCradleVerticalOffset attribute on BottomAppBar, which I want to be 0dp, only affects the offset of the FAB, while the cradle stays the same as if the offset is set to 12dp (the default value)
This is what it looks like:
Edit: I noticed this only happens when the FAB is square, settings FAB's shapeAppearance to a style that would make it fully circular makes the cradle display as expected
Expected behavior:
Mockup of the expected behaviour:
Thanks for reporting! The FAB cradle logic in BottomAppBar was not optimized for M3 style or shape, since there's no FAB cradling in M3 BottomAppBar. I'll mark this as a feature request instead.
Description: As the title says, the
fabCradleVerticalOffset
attribute on BottomAppBar, which I want to be 0dp, only affects the offset of the FAB, while the cradle stays the same as if the offset is set to 12dp (the default value) This is what it looks like: Edit: I noticed this only happens when the FAB is square, settings FAB'sshapeAppearance
to a style that would make it fully circular makes the cradle display as expectedExpected behavior: Mockup of the expected behaviour:
Source code:
Android API version: My device is running Andriod 12 (SDK 32)
Material Library version: Tested on 1.10.0 and 1.9.0, occurs on both
Device: Google Pixel 3