FloatingActionButtonSpeedDial Versions Save

A Floating Action Button Speed Dial implementation for Android that follows the Material Design specification (https://material.io/components/buttons-floating-action-button#types-of-transitions)

2.0.0

5 years ago
  • workaround for https://issuetracker.google.com/issues/111316656 <- PLEASE STAR THIS ISSUE
  • fixed #79: Does not change label text language when app language is changed dynamically
  • fixed #88: Speed Dial should not open if empty
  • API changes:
    • added support to String resources for labels
    • SpeedDialActionItem.getLabel() now requires a Context
    • added SpeedDialActionItem.Builder() constructor that accepts a SpeedDialActionItem to be used for default values (useful to modify an existing Action Item without replacing it completely)
    • added SpeedDialActionItem.createFabWithLabelView()
    • all the SpeedDialView add and replace methods now return an instance of the FabWithLabelView they create (useful to modify an existing Action Item without replacing it completely)
    • added FabWithLabelView.getSpeedDialActionItemBuilder() (useful to modify an existing Action Item without replacing it completely)

1.0.2

5 years ago
  • fixed #65: Main FAB not centered when using RTL
  • fixed #71: Animation feels slower than Google Inbox
  • fixed #72: FAB vertical padding should be 16dp instead of 18dp

1.0.1

5 years ago
  • fixed #62: Click between Label and FAB handled as a dismiss action
  • fixed #60: Label transparent background not being applied

1.0.0

5 years ago
  • first stable release (no changes from 1.0-alpha06)

1.0-alpha06

6 years ago

This will hopefully be the last alpha release, my goal is to not have any more incompatible API change without changing also the major version number.

  • updated gradle plugin to 3.1.2
  • several API changes:
    • added sdOverlayLayout attribute
    • added SpeedDialView.setUseReverseAnimationOnClose() and SpeedDialView.getUseReverseAnimationOnClose() (thanks to @jahirfiquitiva)
    • renamed SpeedDialView.getMainFabCloseRotateAngle() to SpeedDialView.getMainFabAnimationRotateAngle()
    • renamed SpeedDialView.setMainFabCloseRotateAngle() to SpeedDialView.setMainFabAnimationRotateAngle()
    • renamed SpeedDialView.setMainFabOpenDrawable() to SpeedDialView.setMainFabClosedDrawable()
    • renamed SpeedDialView.setMainFabCloseDrawable() to SpeedDialView.setMainFabOpenedDrawable()
    • renamed SpeedDialView.getMainFabOpenBackgroundColor() to SpeedDialView.getMainFabClosedBackgroundColor()
    • renamed SpeedDialView.setMainFabOpenBackgroundColor() to SpeedDialView.setMainFabClosedBackgroundColor()
    • renamed SpeedDialView.getMainFabCloseBackgroundColor() to SpeedDialView.getMainFabOpenedBackgroundColor()
    • renamed SpeedDialView.setMainFabCloseBackgroundColor() to SpeedDialView.setMainFabOpenedBackgroundColor()
    • renamed sdMainFabOpenSrc to sdMainFabClosedSrc
    • renamed sdMainFabOpenBackgroundColor to sdMainFabClosedBackgroundColor
    • renamed sdMainFabCloseSrc to sdMainFabOpenedSrc
    • renamed sdMainFabCloseBackgroundColor to sdMainFabOpenedBackgroundColor
    • renamed sdMainFabCloseRotateAngle to sdMainFabAnimationRotateAngle

1.0-alpha05

6 years ago
  • Added Menu Resource support (no color customization possible)
  • Drawables are not parcelables so is not possible to restore them when the view is recreated for example after an orientation change. If possible always use the DrawableRes.
  • Fixed Expansion mode and rotate angle not persisted on orientation change
  • Fixed inverted behavior for SpeedDialView.setMainFabOpenBackgroundColor and SpeedDialView.setMainFabCloseBackgroundColor
  • Added SpeedDialView.getActionItems()
  • Added SpeedDialView.getMainFab()
  • SpeedDialView.OnChangeListener.onMainActionSelected() now returns true to keep the Speed Dial open, false to close it
  • Optional no animation for open/close/toggle

1.0-alpha04

6 years ago
  • android support library 27.1.1
  • lowered minSdk from 15 to 14
  • several API changes:
    • renamed FabWithLabelView.setOptionFabSelectedListener() to FabWithLabelView.setOnActionSelectedListener()
    • renamed FabWithLabelView.isLabelEnable() to FabWithLabelView.isLabelEnabled()
    • added SpeedDialActionItem.Builder(@IdRes int id, @Nullable Drawable d)
    • added SpeedDialView.setOnChangeListener(OnChangeListener l)
    • removed SpeedDialView.setMainFabOnClickListener(OnClickListener l)
    • renamed OnOptionFabSelectedListener to OnActionSelectedListener
    • renamed SpeedDialView.setOptionFabSelectedListener() to SpeedDialView.setOnActionSelectedListener()
    • renamed SpeedDialView.addAllFabOptionItem() to SpeedDialView.addAllActionItems()
    • renamed SpeedDialView.addFabOptionItem() to SpeedDialView.addActionItem()
    • renamed SpeedDialView.replaceFabOptionItem() to SpeedDialView.replaceActionItem()
    • renamed SpeedDialView.removeFabOptionItemById() to SpeedDialView.removeActionItemById()
    • renamed SpeedDialView.removeFabOptionItem() to SpeedDialView.removeActionItem()
    • renamed SpeedDialView.isFabMenuOpen() to SpeedDialView.isOpen()
    • renamed SpeedDialView.closeOptionsMenu() to SpeedDialView.close()
    • renamed SpeedDialView.openOptionsMenu() to SpeedDialView.open()
    • renamed SpeedDialView.toggleOptionsMenu() to SpeedDialView.toggle()
    • removed attributes android:src
    • renamed attributes srcCompat to sdMainFabOpenSrc
    • renamed attributes sdFabCloseSrc to sdMainFabCloseSrc
    • removed attributes sdFabRotateOnToggle
    • added attributes sdMainFabCloseRotateAngle
  • minor fixes

1.0-alpha03

6 years ago
  • fixed #4: FAB icons rotate only once
  • renamed attribute close_src to sdFabCloseSrc
  • added attributes sdFabRotateOnToggle and sdExpansionMode
  • fixed various minor UI issues

1.0-alpha02

6 years ago

First public alpha release