This repository has been archived by the owner on Oct 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Changelog
Dmitry Tarianyk edited this page Apr 14, 2015
·
25 revisions
- Added native elevation support
- Added new
fab_elevationCompat
attribute andFloatingActionButton#setElevationCompat(float)
method that lets you set almost identical UX using the material elevation feature - Improved transparency support for buttons and labels
- Fixed ripple animation bug on Android 5.1
- Added FloatingActionMenu's show/hide animations
- Added support for
match_parent
value for width and height attributes - Added
FloatingActionMenu#setClosedOnTouchOutside(boolean)
option to allow the menu to be closed on touch outside (don't forget to set the menu's width and height tomatch_parent
) - Fixed FloatingActionMenu paddings support
- Min API level was set to 14
- Added ability to set FloatingActionMenu normal/pressed/ripple colors programmatically:
FloatingActionMenu#setMenuButtonColorNormal(int)
FloatingActionMenu#setMenuButtonColorNormalResId(int)
FloatingActionMenu#setMenuButtonColorPressed(int)
FloatingActionMenu#setMenuButtonColorPressedResId(int)
FloatingActionMenu#setMenuButtonColorRipple(int)
FloatingActionMenu#setMenuButtonColorRippleResId(int)
- Added option to set FloatingActionMenu's icon custom animations using AnimatorSet (see sample for usage)
- Removed required ProGuard rule
- Miscellaneous optimizations
- Added option to disable FloatingActionMenu's icon animation
FloatingActionMenu menu = (FloatingActionMenu) findViewById(R.id.menu);
menu.setIconAnimated(false);