How would you go on about animating the fab button to other sections of the bottom navigation bar…
Igor Bozin
31

You mean ripple effect? for the FAB button I linked it with the middle item of bottom bar so when you click on FAB you trigger the middle item.

I had some issues for ripple effect when using Paint, the ripple effect was below the bottom bar to fix that I used

PathShape shape = new PathShape(mPath, mNavigationBarWidth, mNavigationBarHeight); ShapeDrawable drawable = new ShapeDrawable(shape); drawable.setColorFilter(Color.WHITE, PorterDuff.Mode.SRC_IN);

setBackground(drawable);