Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Changelog

Sougata Chatterjee edited this page Jun 27, 2019 · 25 revisions

Changelog

v1.6.4

  • Added option to use custom fonts for Labels
  • Fixed FAB's position when using progress. (issue #125)
  • Fixed label long click (issue #250)
  • Fixed close on touch outside (issue #248)
  • Fixed changing label's background color on Android 4.4 and lower
  • Added OnLongClickListener for menu button

v1.6.3

  • Fixed Floating Action Menu show/hide animation
  • Added option to change Label's background and text colors programmatically

v1.6.2

  • Fixed OnClickListener on a button's label (issue #121)
  • Added ColorStateList for Label class
<fab:menu_labels_textColor="@color/text_color">
  • Fixed permanent tint in label and button when canceling the click (issue #153)

v1.6.1

  • Added methods to show/hide the whole FAM
FloatingActionMenu#showMenu(boolean animate);
FloatingActionMenu#hideMenu(boolean animate);
FloatingActionMenu#toggleMenu(boolean animate);

v1.6.0

  • Added getter and setters for the FAB disabled color.
  • Added option to hide button from menu with animation.
  • Added option to remove all buttons from menu.
  • Added option to add button to the menu at position.
  • Added option to show a label for the FloatingActionMenu's button:
<fab:menu_fab_label="My label">
  • Added option to set FAM show and hide animations through XML:
<fab:menu_fab_show_animation="@anim/my_show_animation">
<fab:menu_fab_hide_animation="@anim/my_hide_animation">

v1.5.5

  • Fixed issue when FAM didn't get opened or closed if some of the menu buttons have visibility - GONE.

v1.5.4

  • Fixed issue when the button's color was set to disabled after pressing on its label on Android < 5.0 (issue #82).
  • Fixed issue with button's label visibility (issue #85).
  • Fixed wrong FAM animation on some devices (issue #78).

v1.5.3

  • FloatingActionMenu's height was measured wrong when menu_buttonSpacing not equals to 0.

v1.5.2

  • Fixed FloatingActionMenu's height calculation

v1.5.1

  • Fixed FloatingActionMenu animation. The animation wasn't cancelling on multiple tap.
  • Added disabled state for the FloatingActionButton which also works for button's label. Usage: FloatingActionButton.setEnabled(false).
  • Added option to hide the button and its label from the menu using the FloatingActionButton.setVisibility(GONE) method.

v1.5.0

  • 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

v1.4.0

  • Added native elevation support
  • Added new fab_elevationCompat attribute and FloatingActionButton#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

v1.3.0

  • 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 to match_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)

v1.2.0

  • Added option to set FloatingActionMenu's icon custom animations using AnimatorSet (see sample for usage)
  • Removed required ProGuard rule
  • Miscellaneous optimizations

v1.0.1

  • Added option to disable FloatingActionMenu's icon animation
FloatingActionMenu menu = (FloatingActionMenu) findViewById(R.id.menu);
menu.setIconAnimated(false);
Clone this wiki locally