3 Commits

Author SHA1 Message Date
cketcham
4da653a284 Fix FAB vertical alignment with different height BottomAppBar
Instead of using the height of the BottomAppBar it should use the height of the FAB. The default is for these heights to be the same which is why it was working before.

PiperOrigin-RevId: 189054684
2018-03-15 10:58:11 -04:00
cketcham
50e96399fa Handle BottomAppBar with no FAB
This change allows the BottomAppBar to not show a cutout if the FAB is not anchored to it using the CoordinatorLayout anchorId, or if the FAB is not visible. This change also allows the BottomAppBar to listen to show/hide animation changes so it can synchronize its animation to hide and show the cradle with the animation to hide and show the FAB.

PiperOrigin-RevId: 188024600
2018-03-12 12:54:31 -04:00
afohrman
e60ff13c1b Add shape and bottomappbar to build.
PiperOrigin-RevId: 186501402
2018-03-12 12:46:29 -04:00