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 May 11, 2015
·
25 revisions
-
Added circle progress to the
FloatingActionButton
(progress and indeterminate state) - Added option to add menu buttons programmatically
- Added option to expand menu to the bottom
- Added option to dim
FloatinActionMenu
's background (just set the desired color and it will smoothly animate its alpha from 0 to your value) - Added option to show labels to the right of the menu (default labels and button's icon animations will automatically change according to the labels position)
-
FloatingActionButton
is now clickable by default
- 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 (see sample for usage) - 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);